Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tetafro/feed-bot
RSS to telegram bot
https://github.com/tetafro/feed-bot
rss telegram
Last synced: about 2 months ago
JSON representation
RSS to telegram bot
- Host: GitHub
- URL: https://github.com/tetafro/feed-bot
- Owner: tetafro
- Created: 2018-12-15T11:01:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T18:30:54.000Z (3 months ago)
- Last Synced: 2024-10-06T05:03:36.133Z (3 months ago)
- Topics: rss, telegram
- Language: Go
- Homepage:
- Size: 151 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Feed bot
[![Codecov](https://codecov.io/gh/tetafro/feed-bot/branch/master/graph/badge.svg)](https://codecov.io/gh/tetafro/feed-bot)
[![Go Report](https://goreportcard.com/badge/github.com/tetafro/feed-bot)](https://goreportcard.com/report/github.com/tetafro/feed-bot)
[![CI](https://github.com/tetafro/feed-bot/actions/workflows/push.yml/badge.svg)](https://github.com/tetafro/feed-bot/actions)Telegram bot that reads RSS feeds and sends them to users.
## Build and run
Create a bot and get Telegram API token from the bot called `@botfather`.
Copy and populate config
```sh
cp config.example.yaml config.yaml
```Start
```sh
make build run
```## Deploy
Normally deploy is done by Github actions.
Manual deploy
```sh
SSH_SERVER=10.0.0.1:22 \
SSH_USER=user \
make deploy
```## Encrypted config
Encrypt
```sh
echo "password" > .vault_pass.txt
ansible-vault encrypt --output config.yaml.vault config.yaml
```Edit
```sh
EDITOR='code --wait' \
ansible-vault edit config.yaml.vault
```