Cali
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
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 = program init path #/home/gavin/uploadpath/
books.uploadpath = user upload path #/tmp/
Start the web server:
source code:
revel run github.com/jiangmitiao/cali
or releases:
sh run.sh
Other
if use nginx, please change nginx.conf
:
http {
client_max_body_size 15m;
then:
server{
listen 80;
server_name cali.conbot.space;
location / {
proxy_pass http://localhost:9000;
proxy_set_header Host $host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 60;
proxy_read_timeout 600;
proxy_send_timeout 600;
}
}
Changelog
-
v0.1.0
- update system no need calibre more
- display more books on index
-
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