About Snaplets

Snaplets are self contained pieces of functionality that you can include in your web apps.

You can develop your own snaplets and publish them as a standalone project on hackage completely independant of the Snap team. For convenience we're going to keep this page updated with all the snaplets we know about.

Snaplets that come with Snap

heist [ github ]
Heist templating snaplet
sessions [ github ]
Sessions snaplet with a built-in cookie-based back end
auth [ github ]
Authentication

Third-Party Snaplets

These snaplets are not maintained by the Snap Framework team. If you know of a snaplet not listed here, please let us know.

snaplet-acid-state [ hackage | github ]
Persist native Haskell data structures with acid-state.
snaplet-fay [ hackage | github ]
Fay integration for Snap that provides automatic (re)compilation during development.
snaplet-file-dialog [ patch-tag ]
Upload, download, browse, and delete files on a web server in a private file transfer area.
snaplet-hdbc [ tutorial | hackage | github ]
HDBC database support
snaplet-i18n [ hackage | github ]
A light weight i18n snaplet
snaplet-liftajax [ github ]
Provides splices for AJAX-enabled forms and buttons
snaplet-mongoDB [ hackage | bitbucket ]
MongoDB support
snaplet-mongodb-minimalistic [ hackage | github ]
MongoDB support
snaplet-mysql-simple [ hackage | github ]
Support for the MySQL database using the mysql-simple library
snaplet-postgresql-simple [ hackage | github ]
Support for the PostgreSQL database using the postgresql-simple library
snaplet-postmark [ hackage | github ]
Support for the Postmark email system.
snaplet-recaptcha [ hackage | github ]
A ReCAPTCHA verification snaplet with connection sharing.
snaplet-redis [ hackage | github ]
Support for the redis in-memory key-value store.
snaplet-redson [ hackage | github ]
CRUD for JSON data with Redis storage.
snaplet-sedna [ hackage | github ]
Support for the Sedna XML database.
snaplet-sqlite-simple [ hackage | github ]
Support for sqlite.
snaplet-stripe [ hackage | github ]
Support for Stripe payments.
snaplet-tasks [ hackage | bitbucket ]
Allows the creation of command line tasks akin to "rake tasks" from Ruby on Rails.
snaplet-typed-sessions [ hackage ]
Typed session snaplets and continuation-based programming