https://github.com/mitoteam/mt-tgadmin
WebGUI for your own telegram bot to send messages to group or channel
https://github.com/mitoteam/mt-tgadmin
telegram telegram-bot
Last synced: 5 months ago
JSON representation
WebGUI for your own telegram bot to send messages to group or channel
- Host: GitHub
- URL: https://github.com/mitoteam/mt-tgadmin
- Owner: mitoteam
- License: mit
- Created: 2022-11-09T08:24:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-25T13:54:54.000Z (7 months ago)
- Last Synced: 2025-11-28T19:32:33.347Z (7 months ago)
- Topics: telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 1.91 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mt-tgadmin
[](https://goreportcard.com/report/github.com/mitoteam/mt-tgadmin)
[](https://github.com/mitoteam/mt-tgadmin/blob/main/LICENSE)
[](https://github.com/mitoteam/mt-tgadmin)
[](https://github.com/mitoteam/mt-tgadmin/releases)

[](https://github.com/mitoteam/mt-tgadmin/graphs/contributors)
[](https://github.com/mitoteam/mt-tgadmin/commits)
[](https://github.com/mitoteam/mt-tgadmin/releases)
[](https://github.com/mitoteam/mt-tgadmin/actions/workflows/tests.yml)
Simple **self-hosted** web-GUI to send messages from Telegram bot to group, channel or supergroup. Possible to send messages anonymously as admin.
## Idea
Single-page web GUI with just one (password protected) form to sent messages from Telegram bot to group, channel or supergroup without giving people admin access to telegram group or channel.

## How To
We try to keep `mt-tgadmin help` accurate.
Before setting up `mt-tgadmin` you need to register your bot with [@BotFather](https://t.me/botfather), add bot to desired group and obtain this group's **chatID**.
* Registering new bot with [@BotFather](https://t.me/botfather) (useful [How To](https://core.telegram.org/bots/features#creating-a-new-bot))
* Add created bot to your group.
* Obtaining group's **chatID**: Open [@RawDataBot](https://t.me/rawdatabot) and follow it instructions.
### Install
You will need bot's **token** and **chatID** to run `mt-tgadmin`.
* Unpack archive for you platform to desired location (there is just one executable file in archive).
* Run `mt-tgadmin init` to create simple config to start with.
* Open created file `.bot.yml` with text editor and edit settings. Example settings are in [.bot.EXAMPLE.yml](https://github.com/mitoteam/mt-tgadmin/blob/main/.bot.EXAMPLE.yml).
* Run `mt-tgadmin run` to check the setup. You should be able to open WebGUI at this point. Press `Ctrl + C` to stop it if everything is OK.
* Run `mt-tgadmin install` to register it as daemon.
* Consider using nginx or other webserver as reverse proxy to use TLS (HTTP**S**) and other extended http features.
### Upgrade
* Just unpack newer version binary and restart process (or service).