Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/widnyana/nvltr
Telegram Bot Boilerplate.
https://github.com/widnyana/nvltr
bot-framework telegram telegram-bot
Last synced: 5 days ago
JSON representation
Telegram Bot Boilerplate.
- Host: GitHub
- URL: https://github.com/widnyana/nvltr
- Owner: widnyana
- License: mit
- Created: 2017-01-03T15:49:01.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-08T15:45:24.000Z (over 4 years ago)
- Last Synced: 2024-06-20T12:49:30.530Z (5 months ago)
- Topics: bot-framework, telegram, telegram-bot
- Language: Go
- Size: 25.4 KB
- Stars: 5
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# nvltr
**N** - NICE
**V** - VIVACIOUS
**L** - LUMINOUS
**T** - TELEGRAM
**R** - ROBOT*--okay, that's sounds so cheesy*
a telegram bot boilerplate using golang.
# Adding Command
I've provide some basic command, please take a look at `command` directory.
# Deploying
- open `config.yml` and put your config there, such as telegram bot token, google maps api key, etc
- extend yout bot
- place your TLS cert and key at `./cert/your.domain.name/{fullchain,privkey}.pem`
- setup reverse proxy on nginx to bot's bind address, default: '127.0.0.1:8088`
- execute `go generate`
- run it like usual `go run main.go` or `go build -o nvltr main.go && ./nvltr`
- ...
- profit!# License
[MIT License](https://widnyana.mit-license.org/2016)