An open API service indexing awesome lists of open source software.

https://github.com/ishmulyan/rss2telegram

RSS feed for Telegram to be deployed as Google Cloud Function
https://github.com/ishmulyan/rss2telegram

firestore google-cloud google-cloud-functions google-firestore rss rss-feed telegram telegram-bot

Last synced: 3 days ago
JSON representation

RSS feed for Telegram to be deployed as Google Cloud Function

Awesome Lists containing this project

README

          

# rss2telegram
RSS feed for Telegram using Google Cloud Functions

## Deployment
Copy `.env.example.yaml` to `.env.yaml` and put your values in there.
```
gcloud functions deploy RSS2Telegram --env-vars-file .env.yaml --runtime go121 --trigger-topic RSS2Telegram
```

## Testing
```
gcloud pubsub topics publish RSS2Telegram --message ' '
```

## Local Development
Set environemnt variables:
- `RSS_FEED_URL`
- `TELEGRAM_BOT_API_TOKEN`
- `TELEGRAM_CHAT_ID`
- `GCP_PROJECT`

Then run:
```bash
go run ./cmd/main.go
```