COWNotifier

所属分类:其他
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-07-29 23:04:51
上 传 者sh-1993
说明:  新闻组通知与电报,
(News groups notifications with Telegram,)

文件列表:
.style.yapf (30, 2021-03-26)
.travis.yml (139, 2021-03-26)
LICENSE (35141, 2021-03-26)
bot.py (12573, 2021-03-26)
database.py (6917, 2021-03-26)
db.sql (732, 2021-03-26)
driver.py (1217, 2021-03-26)
logger.py (575, 2021-03-26)
markdownrenderer.py (8823, 2021-03-26)
mention_manager.py (1545, 2021-03-26)
newsparser.py (2837, 2021-03-26)
newsreader.py (6518, 2021-03-26)
requirements.txt (17, 2021-03-26)
server.py (1593, 2021-03-26)

# COWNotifier Get notifications via a Telegram bot for your favorite news groups. Generic server allows multiple users to create and manage followlist within a news server and get notifications whenever a new post has been made to one of those groups. ## Usage ### Server side Clone the repo then edit driver.py's `getConfig` function for the first setup, by giving the Telegram Bot's token, your server's URL etc. Function is self-explanatory. Then run `driver.py`. ### Bot Side /start - Create a record within the server for the followlist
/add TOPICNAME - Adds topic to your followlist, in addition to exact topic name, it also tries to match the name by prepending metu.ceng. or metu.ceng.course. to the given parameter, a spesific help for METU CENG users. Can be tweaked within newsreader.py's closest fuction.
/delete TOPICNAME - Deletes given topic from your followlist
/list - Shows your followlist entries.
/help - Prints out command's and basic info about usage
--- There's a working bot telegram.me/cownotifbot but it's only available to metu ceng newsgroup, you can simply create a new bot and give token to server's config and create a bot for your own server.

近期下载者

相关文件


收藏者