GithubHelp home page GithubHelp logo

venliong / ebreader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from early-return/ebreader

0.0 1.0 0.0 3.06 MB

一个让你可以在浏览器中阅读Epub电子书的CLI程序,使用Golang编写

License: Apache License 2.0

Go 100.00%

ebreader's Introduction

EBReader

一个让你可以在浏览器中阅读Epub电子书的Linux CLI程序,使用Golang编写

安装

有Go语言环境:

$ cd $GOPATH/src
$ git clone https://github.com/zhiqing-lee/ebreader.git
$ cd ebreader
$ go install

没有Go语言环境:

  • 下载目录中的ebreader二进制文件并添加到PATH变量

使用

  • 打开终端,输入ebreader file.epub:
$ ebreader file.epub
正在打开文件......
正在解析文件......
开始监听本地端口......
正在开始监听0.0.0.0:4444 请用浏览器访问http://127.0.0.1:4444
  • 打开浏览器,访问http://localhost:4444

选项

-p          将要绑定的本地端口号(默认为4444)
-P          EBReader的临时工作目录(默认为/tmp)     

示例

  • 运行:

  • 浏览:

声明

本程序为作者学习Go语言时的练习项目,使用途中出现任何问题均与作者本人无关

ebreader's People

Contributors

early-return avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.