Popularity
6.9
Declining
Activity
1.5
Growing
7
9
2
Monthly Downloads: 100
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.9
servant-blaze alternatives and similar packages
Based on the "servant" category.
Alternatively, view servant-blaze alternatives based on common mentions on social networks and blogs.
-
servant
Main repository for the servant libraries — DSL for describing, serving, querying, mocking, documenting web applications and more! -
servant-elm
Automatically derive Elm functions to query servant webservices -
servant-purescript
Translate servant API to purescript code, with the help of purescript-bridge. -
servant-swagger-ui
Provide embedded swagger UI for servant and swagger -
servant-response
Moved to http://github.com/haskell-servant -
servant-js
Automatically derive javascript functions to query servant webservices. -
servant-auth-cookie
Authentication via encrypted cookies -
servant-aeson-specs
Generically obtain tests for JSON serialization -
servant-github-webhook
Servant combinators for writing secure GitHub webhooks -
servant-pandoc
Render a servant API to Pandoc's native representation -
servant-pagination
Type-safe pagination for Servant APIs -
servant-matrix-param
Matrix parameter combinator for servant -
servant-mock
Derive a mock server for free from your servant API types -
servant-auth-token-leveldb
Servant based API and server for token based authorisation -
servant-auth-token-acid
Servant based API and server for token based authorisation -
servant-reason
Automatically derive bindings for Servant APIs in Reason -
servant-jsonrpc
Tools to build JSON-RPC clients and servers the Servant way -
servant-http2-client
Generate http2-client from Servant APIs -
servant-ruby
Create a Ruby client from a Servant API using Net::HTTP. -
servant-kotlin
Automatically derive Kotlin functions to query servant webservices -
servant-match
Standalone implementation of servant’s dispatching mechanism -
servant-options
Provide responses to OPTIONS requests for Servant applications. -
servant-proto-lens
Servant Content-Type for proto-lens protobuf modules. -
servant-haxl-client
automatical derivation of querying functions for servant webservices -
servant-generate
Generate default implementations for servers in a flexible way (a.k.a servant-mock on steroids) -
servant-multipart
multipart/form-data (e.g file upload) support for servant
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Promo
scoutapm.com
Do you think we are missing an alternative of servant-blaze or a related project?
README
servant-blaze - Blaze-html support for servant
This package allows you to use blaze-html to serve html pages in your servant APIs. More specifically, it exports a HTML
datatype with the correct MimeRender
instances so that you can write type API = Get '[HTML] User
for example.
Minimal example:
{-# LANGUAGE OverloadedStrings, DataKinds #-}
module Test where
import Servant
import Servant.HTML.Blaze
import qualified Text.Blaze.Html5 as H
type API = Get '[HTML] Homepage
type Homepage = H.Html
server :: Server API
server = return myHome
myHome :: Homepage
myHome = H.docTypeHtml $ do
H.head $ do
H.title "Live to serve"
H.body $ do
H.h1 "Templates!"
H.p "This will be type-checked, rendered and served"