cali

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

README

Cali

Build Status GitHub release license Language framework

Welcome to Cali

中文

A Web Library based on Revel.

You can manage your books by Cali.

  • Add book
  • List classify books
  • Get book's another infomation by douban.com
  • Download your favorite book
  • Read book online (support epub)
  • Limited user register and manage
  • Search
  • Delete books (planned)
  • Change attribute of book (planned)
  • etc...

Usages

Requirements
Get Calibre

you shoud have calibre to manage your books which like .epub,.mobi ,.etc

then remenber your calibre library's path and the metadata.db.

or

apt-get install calibre
calibre --with-library=WITH_LIBRARY
Download SourceCode or Releases
SourceCode
go get -u -v github.com/revel/revel
go get -u -v github.com/revel/cmd/revel
go get -u -v github.com/jiangmitiao/cali
Releases

Releases

Modify Configuration

you should open conf/app.conf

then modify there:

books.path = your library        #/home/gavin/Calibre 书库/
books.uploadpath = /home/yourname/uploadpath/ #/home/gavin/uploadpath/
sqlitedb.path = the calibre's db #/home/gavin/Calibre 书库/metadata.db
Start the web server:

source code:

revel run github.com/jiangmitiao/cali

or releases:

sh run.sh
Go to http://localhost:9000/ and you'll see:

index.png

Changelog

  • v0.0.4

    • add monitor on download and view
    • fix register bug
  • v0.0.3

    • search
    • fix bugs on mobile
  • v0.0.2

    • add book function
    • read book online (support epub)
    • user register and manage function
  • v0.0.1

    • look six'style books
    • display book's info and download link
    • display book's another info from douban

Development Environment

Gogland 1.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL