Shpadoinkle-isreal: Isreal Swan will make a snowman for you!

[ gpl, library, web ] [ Propose Tags ]

Snowman as a service. The web server calls a bash script. That builds inside a nix-shell. Results are returned via http.

[Skip to Readme]


  • Shpadoinkle
    • Isreal
      • Shpadoinkle.Isreal.Types


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Dependencies aeson, base (>=4.12.0 && <4.16), bytestring, containers, deepseq, directory, filepath, process, random, servant, servant-server, text, time, warp [details]
License GPL-3.0-or-later
Author Isaac Shapira
Category Web
Source repo head: git clone
Uploaded by fresheyeball at 2021-06-02T18:13:18Z
Executables isreal
Downloads 140 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2021-06-02 [all 2 reports]

Readme for Shpadoinkle-isreal-

[back to package description]

Isreal Swan

Goldwater Haddock GPL-3 built with nix Hackage Hackage Deps Hackage CI

Snowman as a service

If you build me a snowman, then I'll build one for you.

This service is hosted at It allows you to post Shpadoinkle code and see the resulting UI in your browser. For example, let's say we have the local file Hello.hs, containing:

module Main where

import           Shpadoinkle
import           Shpadoinkle.Backend.ParDiff
import           Shpadoinkle.Html

view :: () -> Html m ()
view _ = "hello world"

main :: IO ()
main = runJSorWarp 8080 $ simple runParDiff () view getBody

You can send this to Isreal Swan with the following curl command:

curl -X POST -H "Content-Type:application/octet-stream" --data-binary @Hello.hs \

You should increment the nonce for browser cache busting.

Notice hello-token in the URL. It's on you to make this a unique token for your work, as the system is open-ended (any arbitrary (uri encoded) string is fine). Reusing this token will result in incremental rebuilds, which are much faster. Also please note, these spaces are ephemeral and will be deleted.

The curl command will respond with Either an error message from the compiler or a message indicating success. If your code compiled successfully, you will be able to see the resulting UI here:

Deps & Such

Many common Haskell dependencies are provided. The environment is based on the cabal file located here.

Clean Up

Clean up your token:

curl -X DELETE http://localhost:8080/clean/hello-token

GPL License

Shpadoinkle Isreal (all files within this directory), are provided under the terms of the GNU General Public License v3.0