Feroku is a modular Telegram userbot built with Telethon. It supports terminal-based first-time configuration, Telegram authorization through a private bot, automatic daemon installation, module management, backups, and session recovery.
- Linux with systemd recommended
- Python 3.10 or newer
- Git
- A Telegram API ID and API hash from my.telegram.org
- A Telegram bot created with BotFather
- Inline mode enabled for the bot
The bot token must be entered in the terminal. Feroku does not create a bot, open BotFather, enable inline mode, or restore the primary bot token from a backup.
Do not run Feroku as root: the daemon install refuses euid 0 for security reasons, installs a user unit only, and never calls sudo. Run the commands below as a regular user:
Run the following commands:
git clone https://github.com/i-execute/Feroku.git
cd Feroku
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r Storage/requirements.txt
python3 -m ferokuComplete the terminal prompts in this order:
- Enter the Telegram API ID.
- Enter the Telegram API hash.
- Enter the bot token.
- Open the bot in Telegram and send
/startto receive your Telegram ID. - Enter that Telegram ID in the terminal.
After the Telegram ID is entered, no further SSH interaction is required. Feroku saves the setup state, creates feroku.service, releases the temporary process lock, and continues authorization independently. You can disconnect from SSH when the terminal confirms that setup is continuing in Telegram.
Feroku is distributed under the GNU Affero General Public License v3.0. See LICENSE for details.