Skip to content

ennucore/wojakobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Wojak Bot

Telegram bot for transforming photos into Wojak style, with Russian and English interface support.

Features

  • ๐Ÿ†“ First 3 transformations free
  • โญ Additional transformations for 45 Telegram Stars
  • ๐ŸŒ Russian and English localization
  • ๐Ÿ“Š SQLite database for user tracking
  • ๐ŸŽญ Uses fal.ai for image generation
  • ๐Ÿ–ผ๏ธ Automatic @wojakobot watermark
  • ๐Ÿ‘‘ Admin commands for stats and credits

Installation

  1. Clone the repository
  2. Install dependencies:
pip install -r requirements.txt
  1. Create .env file based on .env.example:
cp .env.example .env
  1. Fill in environment variables:
  • BOT_TOKEN - your Telegram bot token (get from @BotFather)
  • FAL_KEY - API key from fal.ai

Usage

python main.py

How it works

  1. User sends /start command
  2. Bot sends a sticker and welcome message
  3. User sends a photo
  4. If it's one of the first 3 photos - processing is free
  5. If not - bot requests payment of 45 Telegram Stars
  6. After payment or for free photos - processing through fal.ai
  7. Bot sends the finished Wojak-style image with watermark

Project Structure

  • main.py - main bot file with handlers
  • database.py - SQLite database operations
  • requirements.txt - Python dependencies
  • .env.example - example environment variables file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages