https://github.com/lance/tbot
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/lance/tbot
- Owner: lance
- Created: 2022-05-04T20:31:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-05T12:19:45.000Z (about 4 years ago)
- Last Synced: 2025-02-10T11:48:38.958Z (over 1 year ago)
- Language: JavaScript
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node.js Cloud Events Function
Welcome to your new Node.js function project! This function responds to [Cloud Events](https://cloudevents.io/)
by sending the data received to a Telegram Bot
## API Secret
The function depends on a Telegram API, which can be obtained via the Bot Father. The function will use
the value in a Kubernetes `Secret` called `telegram`. Set that value like this.
```
❯ kubectl create secret generic telegram --from-literal=API_KEY=[YOUR API KEY]
```