Giter Site home page Giter Site logo

kastnerorz / jike-fans-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fengkx/noderssbot

5.0 1.0 0.0 1.35 MB

基于RSS的即刻App特别关心Bot

Home Page: https://t.me/jikefansbot

License: MIT License

JavaScript 0.92% Dockerfile 0.58% HTML 0.41% TSQL 0.60% Shell 0.61% TypeScript 96.88%

jike-fans-bot's Introduction

NodeRSSBot

Node CI Publish Docker Docker pulls Docker image size

Another telegram RSSBot in Node.js

An RSSBot in telegram similar to https://github.com/iovxw/rssbot/. But this time in Node.js.

Hightlights

  1. Import and export an opml file
  2. Various configuration
  3. Pagination on command that list feeds
  4. Automaticlly extract feed from page (from link tag with type such as type="application/atom+xml")
  5. I18N

Commands

/rss       - show subscriptions,add raw to show links
/sub       - subscribe a RSS: /sub http://example.com/feed.xml automatically detecting RSS feed is supported
/unsub     - unsubscribe a RSS: /unsub http://example.com/feed.xml or by keyboard
/unsubthis - reply a message from a RSS feed to unsubscribe it
/allunsub  - unsubscribe all feeds
/export    - export subscriptions to opml file
/viewall   - view all subscriptions and number of subscribers need to enable in settings
/import    - reply this message a opml file to import(in group)
/lang      - change language
/heath     - show the heath of actively subscribed feed

Deploy with docker

Once you got a telegram bot token and docker installed

docker run --name rssbot -d -v <directory to store database file>:/app/data/ -e RSSBOT_TOKEN=<YOUR_TGBOT_TOKEN> fengkx/node_rssbot

More ways to depoly and more configurations can be found on Wiki

NodeRSSBot

又是一个 telegram RSS Bot 不过这次用的是 Node.js

Hightlights

  1. OPML 文件导入导出
  2. 丰富的可配置项
  3. 命令支持按键翻页
  4. 自动从网页中读取 feed url (从 type 类似这样的 link 标签中读取 type="application/atom+xml")
  5. I18N

Commands

/rss       - 显示订阅列表,加 `raw`显示链接
/sub       - 订阅 RSS: /sub http://example.com/feed.xml 支持自动检测 RSS feed
/unsub     - 退订 RSS: /unsub http://example.com/feed.xml 或者通过键盘
/unsubthis - 回复一个 RSS 发来的消息退订该 RSS
/allunsub  - 退订所有源
/export    - 导出订阅到opml文件
/viewall   - 查看所有订阅和订阅人数 需要在设置中打开
/import    - 回复此消息 opml 文件导入订阅(群组)
/lang      - 更改语言
/heath      - 展示活跃订阅源的健康程度

Deploy with docker

有了 telegram bot token 并安装 Docker 之后

docker run --name rssbot -d -v <directory to store database file>:/app/data/ -e RSSBOT_TOKEN=<YOUR_TGBOT_TOKEN> fengkx/node_rssbot

更多部署方式和配置项请参见 Wiki

jike-fans-bot's People

Contributors

avtojaja avatar dependabot-preview[bot] avatar depfu[bot] avatar dubaid avatar dukkee avatar fengkx avatar kastnerorz avatar mariajose13 avatar npueyo avatar partment avatar settingdust avatar vherasme avatar vittoboa avatar wait-what avatar

Stargazers

 avatar  avatar  avatar  avatar  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.