Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nezutero/rssman
very flexible telegram bot, RSS parser, openai summary generator, automation
https://github.com/nezutero/rssman
back-end backend bot bots chatgpt chatgpt-api go golang news-bot rss rss-feed rss-feed-parser rss-feed-scraper rss-generator rss-parser server-side telegram telegram-bot telegram-bots telegrambot
Last synced: 4 months ago
JSON representation
very flexible telegram bot, RSS parser, openai summary generator, automation
- Host: GitHub
- URL: https://github.com/nezutero/rssman
- Owner: nezutero
- License: mit
- Created: 2023-06-20T19:00:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-14T15:44:28.000Z (6 months ago)
- Last Synced: 2024-09-30T09:23:40.187Z (4 months ago)
- Topics: back-end, backend, bot, bots, chatgpt, chatgpt-api, go, golang, news-bot, rss, rss-feed, rss-feed-parser, rss-feed-scraper, rss-generator, rss-parser, server-side, telegram, telegram-bot, telegram-bots, telegrambot
- Language: Go
- Homepage:
- Size: 74.2 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Telegram bot, which is able to parse RSS and use the openai api to generate a short summary and a link to the source. It's also possible to add sources through commands in the telegram bot.
## Installation
```sh
git clone https://github.com/nezutero/rssman
```- Install all dependencies:
```sh
go mod tidy
```## Usage
- Create file with name "config.local.hcl" and inside the file create:
```hcl
tolegram_bot_token = "your token"
openai_token = "your token"
telegram_channel_id = -1116543419111 // example idopenai_promt = "Make a summary of the text" // to make summary
```- Run the app using:
```sh
cd cmd
go run main.go
```- Or using docker:
```sh
docker build -t your_image_name .
docker run -d -p 8080:80 your_image_name
```## Commands
- To add source:
```go
/addsource {"name": "source name", "url": "source url"}
```- To get sources:
```go
/listsources
```- To delete source:
```go
/deletesource {"name": "source name"}
```- To set source priority:
```go
/setpriority
```## Contributing
- Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.- Please make sure to update tests as appropriate.
## license
- [MIT](https://choosealicense.com/licenses/mit/)