@hackage espial0.0.2
Espial is an open-source, web-based bookmarking server.
Categories
License
MIT
Maintainer
jonschoning@gmail.com
Links
Versions
Deprecated
Dependencies (45)
- aeson >=0.11.1 && <2.0
- base >=4.8.2.0 && <4.9 || >=4.9.1.0 && <5
- bcrypt >=0.0.8 && <0.0.12
- bytestring >=0.9 && <0.11
- case-insensitive
- classy-prelude >=0.10.2 Show all…
Dependents (0)
Package Flags
dev
(off by default)
Turn on development settings, like auto-reload templates.
library-only
(off by default)
Build for use with "yesod devel"
Espial
Espial is an open-source, web-based bookmarking server.
Haskell Setup
- If you haven't already, install Stack
- On POSIX systems, this is usually
curl -sSL https://get.haskellstack.org/ | sh
- On POSIX systems, this is usually
- Install the
yesodcommand line tool:stack install yesod-bin --install-ghc
Espial Setup
-
Build executables
stack build -
Create the database
stack exec migration -- createdb --conn espial.sqlite3 -
Create a user
stack exec migration -- createuser --conn espial.sqlite3 --userName myusername --userPassword myuserpassword -
Import a bookmark file for a user (optional)
stack exec migration -- importbookmarks --conn espial.sqlite3 --userName myusername --bookmarkFile sample-bookmarks.json -
Start a development server:
stack exec -- yesod devel -
Start a production server:
stack exec espial
Import Bookmark file format
see sample-bookmarks.json, which contains a JSON array, each line containing a Post object.
example:
[ {"href":"http:\/\/mqtt.org\/","description":"MQTT","extended":"long description","time":"2018-02-25T21:22:42Z","shared":"yes","toread":"no","tags":"mqtt"}
, {"href":"http:\/\/mqtt.com\/","description":"MQTT","extended":"big description","time":"2019-02-25T21:22:42Z","shared":"yes","toread":"no","tags":"mqtt"}
]