A epub reader for browser
- With GO:
go get github.com/hardo/ebreader
ebreader
- Type
ebreader file.epub
on terminal:
ebreader OReilly.Introducing.Go.2016.1.epub
# Opening file......
# Extracting file to working directory......
# Listening on 127.0.0.1:4444 ......
# Please visit http://localhost:4444 to view the book......
- Then open browser,visit
http://localhost:4444
-a string
The address to listen. (default "127.0.0.1")
-p int
The port ebreader will listen on. (default 4444)
-w string
The working directory of ebreader. (default "/tmp")
- Run:
- browse: