technews-bot

所属分类:自然语言处理
开发工具:GO
文件大小:22KB
下载次数:0
上传日期:2023-04-09 21:16:53
上 传 者sh-1993
说明:  阅读科技新闻聚合器,并将感兴趣的文章转发到您的不一致服务器
(Read tech news aggregators and repost articles of interests to your discord server)

文件列表:
.editorconfig (354, 2023-07-10)
.env.example (111, 2023-07-10)
Dockerfile (512, 2023-07-10)
LICENSE (1069, 2023-07-10)
docker-compose.yml (724, 2023-07-10)
go.mod (1311, 2023-07-10)
go.sum (7676, 2023-07-10)
main.go (946, 2023-07-10)
pkg (0, 2023-07-10)
pkg\articles (0, 2023-07-10)
pkg\articles\article.go (2221, 2023-07-10)
pkg\bot (0, 2023-07-10)
pkg\bot\agent.go (3053, 2023-07-10)
pkg\database (0, 2023-07-10)
pkg\database\article.go (839, 2023-07-10)
pkg\database\client.go (933, 2023-07-10)
pkg\database\guild.go (3522, 2023-07-10)
pkg\discord (0, 2023-07-10)
pkg\discord\addsubject.go (1234, 2023-07-10)
pkg\discord\client.go (2099, 2023-07-10)
pkg\discord\command.go (993, 2023-07-10)
pkg\discord\error.go (651, 2023-07-10)
pkg\discord\help.go (656, 2023-07-10)
pkg\discord\list.go (1234, 2023-07-10)
pkg\discord\removesubject.go (779, 2023-07-10)
pkg\sources (0, 2023-07-10)
pkg\sources\hackernews (0, 2023-07-10)
pkg\sources\hackernews\client.go (757, 2023-07-10)
pkg\sources\lobsters (0, 2023-07-10)
pkg\sources\lobsters\client.go (1151, 2023-07-10)
pkg\sources\lobsters\client_test.go (419, 2023-07-10)

# technews-bot Aggregate tech news articles from multiple news sources, filter them based on your favorite subjects and send them to a chat platform of your choice. ## Invite link [Technews Bot invite link](https://discord.com/oauth2/authorize?client_id=1020502388462854165&scope=bot&permissions=8) ## Supported news sources - [https://lobste.rs/](https://lobste.rs/) - [https://news.ycombinator.com/news](https://news.ycombinator.com/news) ## Configuration To run this bot, you must provide at least a discord token and the channel ID where to dump all of the interresting articles via environment variables. You can also use a `.env` file to set the environment variables. The env file looks like this: ```sh DISCORD_TOKEN= DISCORD_CHANNEL= ``` ## Project vision - This project is not configurable as of right now, aside from the discord token and channel id, but will aim to be fully configurable via text commands in the future. - I'm not sure if this bot should only support Discord for now. It would be interresting to add support for many chat services such as Slack or Matrix. # Contribute This project aims to aggregate news from _tons_ of different news sources into one place. If you would like to have a news source added, feel free to either contribute support for it or [open an issue](https://github.com/notarock/technews-bot/issues/new) explaining why the news source should be added.

近期下载者

相关文件


收藏者