espial: Espial is an open-source, web-based bookmarking server.

[ agpl, library, web ] [ Propose Tags ] [ Report a vulnerability ]
This version is deprecated.

Espial is an open-source, web-based bookmarking server. - Yesod + PureScript + sqlite3 - multi-user (w/ privacy scopes) - tags, stars, editing, deleting


[Skip to Readme]

Modules

[Last Documentation]

  • Application
  • Foundation
  • Handler
    • Handler.Add
    • Handler.Common
    • Handler.Edit
    • Handler.Home
    • Handler.Notes
    • Handler.User
  • Import
    • Import.NoFoundation
  • Model
  • ModelCrypto
  • PathPiece
  • Pretty
  • Settings
    • Settings.StaticFiles
  • Types

Flags

Automatic Flags
NameDescriptionDefault
dev

Turn on development settings, like auto-reload templates.

Disabled
library-only

Build for use with "yesod devel"

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.5.1, 0.0.7, 0.0.9, 0.0.10, 0.0.11, 0.0.16, 0.0.19, 0.0.20 (info)
Change log changelog.md
Dependencies aeson (>=0.11.1), base (>=4.8.2.0 && <4.9 || >=4.9.1.0 && <5), bcrypt (>=0.0.8), bytestring (>=0.9), case-insensitive, classy-prelude (>=0.10.2), classy-prelude-conduit (>=0.10.2), classy-prelude-yesod (>=0.10.2 && <1.0 || >=1.1), conduit (>=1.0), containers, data-default, directory (>=1.1), ekg, ekg-core, espial, esqueleto, fast-logger (>=2.2), file-embed, foreign-store, hjsmin (>=0.1), hscolour, http-conduit (>=2.1), iso8601-time (>=0.1.3), microlens, monad-control (>=0.3), monad-logger (>=0.3), monad-metrics, mtl, optparse-generic (>=1.2.3), persistent (>=2.0), persistent-sqlite (>=2.6.2), persistent-template (>=2.0), pinboard, pretty-show, safe, shakespeare (>=2.0), template-haskell, text (>=0.11), time, transformers (>=0.2.2), unordered-containers, vector, wai, wai-extra (>=3.0), wai-logger (>=2.2), wai-middleware-metrics, warp (>=3.0), yaml (>=0.8), yesod (>=1.4.3), yesod-auth (>=1.4.0), yesod-core (>=1.4.30), yesod-form (>=1.4.0), yesod-static (>=1.4.0.3) [details]
License MIT
Copyright Copyright (c) 2018 Jon Schoning
Author Jon Schoning
Maintainer jonschoning@gmail.com
Category Web
Home page https://github.com/jonschoning/espial
Bug tracker https://github.com/jonschoning/espial/issues
Source repo head: git clone git://github.com/jonschoning/espial.git
Uploaded by jonschoning at 2018-10-13T05:16:57Z
Distributions NixOS:0.0.20
Executables migration, espial
Downloads 3950 total (18 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 2018-10-13 [all 3 reports]

Readme for espial-0.0.5

[back to package description]

Espial

Espial is an open-source, web-based bookmarking server.

It allows mutiple accounts, but currently intended for self-host scenarios.

The bookmarks are stored in a sqlite3 database, for ease of deployment & maintenence.

The easist way for logged-in users to add bookmarks, is with the "bookmarklet", found on the Settings page.

demo server

log in — username: demo password: demo

https://esp.ae8.org/u:demo

jpg

Haskell Setup

  1. If you haven't already, install Stack
    • On POSIX systems, this is usually curl -sSL https://get.haskellstack.org/ | sh
  2. Install the yesod command line tool: stack install yesod-bin --install-ghc

Espial Setup

  1. Build executables

    stack build
    
  2. Create the database

    stack exec migration -- createdb --conn espial.sqlite3
    
  3. Create a user

    stack exec migration -- createuser --conn espial.sqlite3 --userName myusername --userPassword myuserpassword
    
  4. Import a bookmark file for a user (optional)

     stack exec migration -- importbookmarks --conn espial.sqlite3 --userName myusername --bookmarkFile sample-bookmarks.json
    
  5. Start a development server:

    stack exec -- yesod devel
    
  6. 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"}
]