Code Monkey home page Code Monkey logo

kpush's Introduction

KPush

定制个人专属的Kindle电子书推送服务

安装

KPush需要安装版本8.0以上的Node环境,相关信息请戳这里

$ npm i -g kpush

当然,也可以直接通过npx安装使用,具体配置看下面使用帮助

$ npx kpush -o localhost -p 8081

使用

帮助:

Usage: kpush [options]

Options:
  -V, --version          output the version number
  -c, --config <string>  set kpush custom config
  -o, --host <string>    set kpush server listening host
  -p, --port <number>    set kpush server listening port
  -s, --smtp <string>    set stmp server of pushing mail
  -u, --user <string>    set user of pushing mail
  -w, --pass <string>    set password of pushing mail
  -k, --kindle <string>  set user of kindle received mail
  -h, --help             output usage information

所有设置都会自动保存,再次使用时无需再进行设置

配置设置并启动:

# 可以只设置其中几项
$ kpush -o localhost -p 8081 -s smtp.163.com -u [email protected] -w test -k [email protected]

以自定义配置启动:

# 请提供配置的绝对路径,以自定义配置启动时将忽略其他设置选项
$ kpush -c /usr/local/kpush/config.json

配置格式如下,字段含义见帮助:

{
  "host": "localhost",
  "port": "8081",
  "smtp": "smtp.163.com",
  "user": "[email protected]",
  "pass": "test",
  "kindle": "[email protected]"
}

启动后,浏览器访问KPush服务器监听端口即可使用,推荐移动端进行访问

mobi源更换

这里默认用了Z-Library作为mobi电子书源,感谢一下。若更换其他mobi源,请自行fork以后重写app/models/index.js中getList和getUrl方法,约定见注释

kpush's People

Contributors

siubaak avatar

Stargazers

Meteor-showers avatar SMiller avatar MSHB avatar lucky8875 avatar 7doger avatar  avatar ZXX avatar Michael.Ma avatar  avatar 金宇Kince avatar WangYan avatar Sarturn avatar 去年买了个登山包 avatar 白大哥 avatar  avatar stevensunzh avatar rfooox avatar JasonZhang avatar Xie Wu avatar 脉脉不得语 avatar QFish avatar xueshi avatar ilumer avatar Code_PhantomPain avatar night avatar Jack Thorne avatar  avatar  avatar  avatar 沧浪 avatar mengyou avatar @Lonjoy avatar Meowu avatar Theo Sun avatar  avatar xx1024 avatar  avatar  avatar demoxu avatar zhiyue avatar zhongzhao avatar Eric.Cartman avatar Matt Ma avatar Song Liu avatar blazings avatar  avatar Liping Wang avatar TangYin avatar  avatar BoBin avatar  avatar  avatar madfrog avatar  avatar  avatar young avatar gefei avatar Wildmoe avatar Bite Ye avatar

Watchers

James Cloos avatar xuanyuanaosheng avatar

kpush's Issues

部署在阿里云上无法访问

部署在阿里云上无法访问,node版本11.12.0,kpush版本2.13

[root@izuf68ashkq9j7h9rmammzz ~]# kpush -o localhost -p 1024 -s smtp.163.com -u [email protected] -w test -k [email protected]
3/28/2019 2:57:59 PM [INF] Server is listening at http://localhost:1024

[root@izuf68ashkq9j7h9rmammzz ~]# kpush -V
2.1.3
[root@izuf68ashkq9j7h9rmammzz ~]# node -v
v11.12.0
[root@izuf68ashkq9j7h9rmammzz ~]# npm -v
6.7.0

More info please

What's this project?

For running 'send to kindle' for free? in 3lib.net?
Screenshot_20210526-102627

Could you make English readme?
Thanks

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.