CoolFace
Apppublic

AllenLau77/tgbot-outlook-creator

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes
App README

TG Bot Outlook Creator

Telegram Bot for creating Outlook/Microsoft email accounts. Zero-cost semi-automatic mode — bot generates identity + encrypts credentials, user completes CAPTCHA in their own browser.

Features

  • —Semi-automatic Outlook account creation ($0/month)
  • —Encrypted credential storage (Fernet/AES-128)
  • —Per-user rate limiting
  • —Health check endpoint for keepalive
  • —Admin-only commands

Setup

  1. 1.Set these Secrets in this Space's Settings → Repository Secrets:
SecretDescription
BOT_TOKENTelegram Bot token from @BotFather
ENCRYPTION_KEYFernet key (44-char Base64) — generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
ADMIN_IDSYour Telegram user ID (from @userinfobot)
  1. 1.Optional secrets:
  2. 2.ALLOW_ALL_USERS=true — allow all Telegram users
  3. 3.MAX_ACCOUNTS_PER_HOUR=3 — rate limit per user
  4. 4.FREE_MODE=true — semi-auto mode (default)
  1. 1.This Space will auto-build and start the bot.

Keep-Alive

HF free Spaces sleep after ~7 days of inactivity. Configure UptimeRobot to ping https://<your-space>.hf.space/health every 5 minutes.

Commands

CommandDescription
/startShow help & instructions
/newGenerate a new identity for account creation
/batch NBatch generate N identities (max 5)
/done emailComplete registration & save encrypted credentials
/cancelCancel current session
/exportDownload CSV with decrypted passwords
/statsView statistics
/getpwd emailQuery password (admin only)