rssflow

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2019 License: MIT Imports: 2 Imported by: 0

README

RSSFlow

Build Status Go Report Card MIT license FOSSA Status

DEMO: https://t.me/rssflowbot

Features

  • 支持 Telegram 应用内 instant view
  • 默认10分钟抓取一次

安装

由于 GoReleaser 不支持 Cgo,如果要使用 SQLite 做为数据库,请下载源码自行编译。

源码安装
git clone https://github.com/indes/rssflow && cd rssflow
make build
./rssflow
下载二进制

不支持 SQLite

Releases 页面下载对应的版本。

配置

根据以下模板,新建 config.yml 文件。

bot_token: XXX
telegraph_toke: xxxx
socks5: 127.0.0.1:1080
update_interval: 10
mysql:
  host: 123.123.132.132
  port: 3306
  user: user
  password: pwd
  database: rssflow

配置说明:

配置项 含义 必填
bot_token Telegram Bot Token 必填
telegraph_token Telegraph Token, 用于转存原文到 Telegraph 可忽略(不转存原文到Telegraph )
update_interval RSS 源扫描间隔(分钟) 可忽略(默认10)
socks5 用于无法正常 Telegram API 的环境 可忽略(能正常连接上 Telegram API 服务器)
mysql 数据库配置 可忽略(使用 SQLite )

使用

命令:

/sub [url] 订阅源
/unsub [url] 取消订阅
/list 查看当前订阅源
/ping :)

建议配合 RSSHub 使用。

License

FOSSA Status

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
bot
fsm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL