Popularity
2.4
Growing
Activity
0.0
Stable
0
3
1
Monthly Downloads: 5
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
wai-middleware-static-embedded alternatives and similar packages
Based on the "wai" category.
Alternatively, view wai-middleware-static-embedded alternatives based on common mentions on social networks and blogs.
-
wai-middleware-consul
Wai Middleware for Consul -
wai-middleware-auth
Authentication middleware that secures WAI application -
wai-routes
Typesafe URLs for Haskell Wai applications -
wai-middleware-static
WAI middleware that intercepts requests to static files and serves them if they exist. -
wai-session
Flexible session middleware for WAI -
wai-middleware-throttle
WAI Request Throttling Middleware -
wai-devel
A development server for wai applications. -
wai-middleware-metrics
WAI middleware that collects requests metrics -
wai-middleware-rollbar
Middleware that communicates to Rollbar. -
wai-cli
Command line runner for Wai apps (using Warp) with TLS, CGI, socket activation & graceful shutdown | now on https://codeberg.org/unrelentingtech/wai-cli -
wai-enforce-https
Enforce HTTPS in Wai server app safely. -
wai-middleware-crowd
Middleware and utilities for using Atlassian Crowd authentication -
wai-session-postgresql
WAI Session that keeps its data in a PostgreSQL database -
wai-middleware-route
Wai dispatch middleware -
wai-slack-middleware
A Slack middleware for wai -
wai-util
Utility functions for WAI that haven't found another home yet -
wai-middleware-preprocessor
WAI middleware for static file preprocessors -
wai-middleware-etag
WAI ETag middleware for static files -
wai-session-clientsession
Session store based on clientsession -
wai-session-tokyocabinet
Session store based on Tokyo Cabinet -
wai-middleware-headers
addHeaders and cors for Haskell's Network.Wai -
wai-middleware-caching
WAI Middleware to cache (contains generic, LRUCache and Redis Cache backend) -
wai-middleware-hmac
WAI HMAC Authentication Middleware and Client -
wai-middleware-delegate
A WAI middleware that enables proxying WAI requests to another server. -
wai-middleware-json-errors
Convert errors to json -
wai-middleware-static-caching
WAI middleware that intercepts requests to static files and serves them if they exist. -
wai-hastache
Nice wrapper around hastache for use with WAI -
wai-feature-flags
Feature flag support for WAI applications. -
wai-digestive-functors
Helpers to bind digestive-functors onto wai requests -
wai-git-http
Haskell Wai Application for git http-backend -
wai-middleware-cache
Caching middleware for WAI -
wai-middleware-travisci
WAI middleware for authenticating webhook payloads from Travis CI -
wai-logger-buffered
A buffered logger for wai applications -
wai-middleware-slack-verify
WAI Slack request verification middleware -
wai-handler-snap
Web Application Interface handler using snap-server. (deprecated)
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of wai-middleware-static-embedded or a related project?
README
Static embedded middleware
A middleware
to serve static files from memory. Works particularly
well with file-embed
.
Example usage
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
import Network.Wai.Middleware.StaticEmbedded -- This package
import Data.FileEmbed -- file-embed
import Web.Scotty -- scotty
main :: IO ()
main = scotty 1337 $ do
middleware (static $(embedDir ".")) -- serves the source directory
notFound (text "404: Not found!")