Calibre web frontend, Go (golang) https://bouquins.meutel.net
Go to file
Meutel dfae92a039 Login page
hardcoded secret
2017-09-08 12:02:54 +02:00
assets prod mode: use minified assets 2017-09-05 17:35:10 +02:00
bouquins Login page 2017-09-08 12:02:54 +02:00
templates prod mode: use minified assets 2017-09-05 17:35:10 +02:00
.gitignore Dependency management with dep 2017-09-06 12:07:10 +02:00
Gopkg.toml Dependency management with dep 2017-09-06 12:07:10 +02:00
LICENSE Initial commit 2017-07-30 20:15:54 +02:00
main.go Login page 2017-09-08 12:02:54 +02:00
README.md Doc deployment 2017-09-06 12:36:28 +02:00

go-bouquins

Bouquins in Go

TODO

  • translations
  • tests
  • auth downloads
  • csrf

Minify JS

https://www.danstools.com/javascript-minify/

Deployment archive

tar czf ~/tmp/go-bouquins.tar.gz go-bouquins assets/ templates/

Configuration

JSON config file: default ./bouquins.json, or binary argument

Example:

{
  "calibre-path": "/usr/home/meutel/data/calibre",
  "bind-address": ":8080",
  "prod": true
}

Options:

  • calibre-path path to calibre data
  • db-path path to calibre SQLite database (default /metadata.db)
  • bind-address HTTP socket bind address
  • prod (boolean) use minified javascript/CSS