/Google-Service-Accounts-Generator-Bot

TELEGRAM BOT FOR GENERATING GOOGLE SERVICES ACCOUNTS

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Google Srvice Accounts Generator Telegram Bot

A Telegram bot to generate google service accounts.

Features

  • Create New Projects.
  • Generate Service Accounts.
  • Delete Service Accounts.
  • Extract Service Mails.

ToDo

  • Handle more exceptions.
  • LOGGER support.
  • Update command.

Deploying

Deploy on Heroku

Deploy

Installation

  • Clone this git repository.
git clone https://github.com/modbots/Google-Service-Accounts-Generator-Bot
  • Change Directory
cd Google-Service-Accounts-Generator-Bot
  • Install requirements with pip3
pip3 install -r requirements.txt

Configuration

There are two Ways for configuring this bot.

  1. Add values to Environment Variables. And add a ENV var to Anything to enable it.
  2. Add values in config.py. And make sure that no ENV environment variables existing.

Configuration Values

  • BOT_TOKEN - Get it by contacting to BotFather
  • APP_ID - Get it by creating app on my.telegram.org
  • API_HASH - Get it by creating app on my.telegram.org
  • SUDO_USERS - List of Telegram User ID of sudo users, seperated by space.
  • SUPPORT_CHAT_LINK - Telegram invite link of support chat.
  • DATABASE_URL - Postgres database url.
  • DOWNLOAD_DIRECTORY - Custom path for downloads. Must end with a forward / slash. (Default to ./downloads/)

Deploy

python3 -m bot

Credits

Copyright & License