devforms: A builder DSL for HTML survey forms with built-in server and storage

[ bsd3, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

devforms is a Haskell library for building HTML survey forms using a monadic builder DSL. It bundles a Scotty web server with htmx and _hyperscript for client-side interactivity, Lucid2 for HTML rendering, and Pico CSS for styling. Submissions are stored as JSONL files. . import DevForms . main :: IO () main = devFormServer 9000 $ do form "My survey" "mysurvey" $ do questionLikert "I enjoy surveys" questionChoice "Favourite colour" [Red, Green, Blue] questionDate "Pick a date"

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies aeson (>=2.1 && <2.3), base (>=4.18 && <5), containers (>=0.6 && <0.9), devforms, file-embed (>=0.0.15 && <0.1), filepath (>=1.4 && <1.6), htmx-lucid (>=0.2 && <0.3), http-types (>=0.12 && <0.13), lucid2 (>=0.0.20230706 && <0.1), mtl (>=2.2 && <2.4), relude (>=1.2 && <1.3), scotty (>=0.22 && <0.31), string-interpolate (>=0.3 && <0.4), time (>=1.12 && <1.16), wai (>=3.2 && <3.3), warp (>=3.3 && <3.5) [details]
License BSD-3-Clause
Copyright 2026 Lassi Haasio
Author Lassi Haasio
Maintainer ilikeavocadoes@devmail.cc
Uploaded by LassiHaasio at 2026-06-05T09:51:24Z
Category Web
Source repo head: git clone https://git.sr.ht/~ilikeavocadoes/devforms
Distributions
Executables example
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-06-05 [all 1 reports]