The easiest way to get Snap is with Haskell's Cabal package manager. If you already have Cabal set up, then getting Snap should be as simple as running two commands:
$ cabal update $ cabal install snap snap-templates $ mkdir foo; cd foo; snap init
If you don't have GHC and cabal installed, the easiest way to get them is with the Haskell Platform binary installer.
After Snap is installed, check out the quick start for instructions on getting your project started.
We have set up continuous integration to track the progress of our development.
Found a bug in Snap? Please visit our issue tracker.
Snap is made up of a collection of separate packages:
- A simple web server API containing core type definitions
(Snap monad, HTTP types, etc) and utilities for web
- A web server based on io-streams, which runs Snap web
- Umbrella project pulling together Snap's component libraries
into a coherent framework.
- A package containing a project generator and a few simple project
- An HTML-based templating engine, allowing Haskell functions to be
bound to tags.
- A hybrid XML/HTML5 parsing and rendering library written
specifically for Heist.
- The source code for this website is a small example of
Snap in action.