Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jtanguy/minipaste

minimal pastebin service built in haskell
https://github.com/jtanguy/minipaste

Last synced: 23 days ago
JSON representation

minimal pastebin service built in haskell

Awesome Lists containing this project

README

        

minipaste, a minimal pastebin service
=====================================

Minipaste is a minimal pastebin service built with haskell.
It is built on top of [scotty](https://github.com/scotty-web/scotty),
[hasql](https://github.com/nikita-volkov/hasql),
[highlighting-kate](https://github.com/jgm/highlighting-kate) and
[blaze-html](https://github.com/jaspervdj/blaze-html).

Features
--------

- List pastes (all/by lang)
- POST a paste (baseurl/:lang)
- GET a paste (baseurl/:uuid)
- PATCH a paste' lang (baseurl/:uuid/:lang)

TODO
----

- Better encoding handling
- Experiment with [lucid](https://github.com/chrisdone/lucid)

TODON'T
-------

- edit a paste, as the url of the paste is the UUID v5 hash of its contents.