mt-tgadmin

command module
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 2 Imported by: 0

README

mt-tgadmin

Go Report Card GitHub GitHub Version GitHub Release Date GitHub code size in bytes GitHub contributors GitHub commit activity GitHub downloads

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, add bot to desired group and obtain this group's chatID.

  • Registering new bot with @BotFather (useful How To)
  • Add created bot to your group.
  • Obtaining group's chatID: Open @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.
  • 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 (HTTPS) and other extended http features.
Upgrade
  • Just unpack newer version binary and restart process (or service).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package app contains main mt-tgadmin functionality.
Package app contains main mt-tgadmin functionality.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL