Skip to content

JackTheGit/hermes-forge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Hermes Forge

Python Telegram Built with Hermes Built with Kimi Nous Research

Turn ideas into live apps instantly β€” inside Telegram.

Hermes Forge is an AI-powered system that generates fully interactive web apps from simple prompts, hosts them live, and delivers them directly inside Telegram with one tap.


πŸ“Έ Screenshots

🎨 Drawing App

Drawing App

🏎 Racing Game

Racing Game

πŸ€– Telegram UI

Telegram UI


✨ Features

  • 🧠 Prompt β†’ full app generation
  • ⚑ Real-time build progress (Planning β†’ Building β†’ Packaging)
  • 🌐 Live hosting via HTTP + Cloudflare tunnel
  • πŸ“± Telegram WebApp integration (fully interactive apps)
  • πŸ” Regenerate apps instantly
  • ✨ Improve apps with follow-up prompts
  • ⚑ Auto Improve (v1 β†’ v5 iterative enhancement)
  • πŸ“Έ Automatic app preview screenshots (Playwright)
  • πŸ“œ Prompt history tracking
  • πŸ“„ Build logs viewer
  • 🧩 Works inside Telegram + Hermes

πŸ— Architecture

🧠 Core Engine (Hermes Forge)

  • Generates apps from prompts
  • Handles retries and improvements
  • Outputs versioned HTML apps

🌐 Deployment Layer

  • Local HTTP server (python -m http.server)
  • Cloudflare Tunnel (public HTTPS URL)

πŸ“± Interface Layer

  • Telegram Bot UI
  • Inline buttons + WebApp launcher
  • Live progress + preview system

⚑ Flow

  1. User sends prompt in Telegram
  2. Hermes Forge generates the app
  3. Output HTML is saved in /outputs
  4. App is exposed via Cloudflare URL
  5. Telegram returns:
    • πŸ“Έ Preview screenshot
    • πŸš€ Open App (WebApp)
    • 🌐 Open in browser
    • πŸ” Regenerate / Improve / Auto Improve

πŸ“Έ Demo

  • Send: Create a drawing app
  • Watch live progress updates
  • Get instant preview + launch button
  • Open and interact directly inside Telegram

βš™οΈ Setup

1. Clone

git clone https://github.com/JackTheGit/hermes-forge.git
cd hermes-forge

2. Create virtual environment

python3 -m venv venv
source venv/bin/activate

3. Install dependencies

pip install python-telegram-bot playwright requests python-dotenv
python -m playwright install chromium

4. Add environment variables

Create a .env file:

TELEGRAM_TOKEN=your_bot_token_here

5. Run everything

chmod +x run_all.sh
./run_all.sh

This automatically:

  • 🌐 Starts HTTP server
  • πŸ” Starts Cloudflare tunnel
  • ✏️ Injects tunnel URL into bot
  • πŸ€– Launches Telegram bot

πŸ” Requirements

  • Python 3.10+
  • Telegram Bot Token
  • Linux / VPS recommended
  • cloudflared (auto-downloaded)

πŸ“± Telegram WebApp

Apps are opened natively inside Telegram:

InlineKeyboardButton(
    "πŸš€ Open App",
    web_app=WebAppInfo(url=APP_URL)
)

This enables:

  • Full interactivity
  • No redirects
  • App-like UX

🧠 Example Prompts

  • "Create a drawing app"
  • "Build a racing game"
  • "Make a todo list with dark mode"
  • "Create a multiplayer pong game"
  • "Build a finance dashboard"

⚑ Advanced Features

✨ Improve Mode

Refine your app with natural language:

"Add undo button and color picker"


⚑ Auto Improve (v1 β†’ v5)

Runs multiple improvement passes automatically:

  • v1 β†’ Base app
  • v2–v5 β†’ Progressive enhancements
  • Better UI, UX, and features

πŸ“Έ Preview System

  • Automatically screenshots generated apps
  • Sends preview inside Telegram
  • Powered by Playwright (headless Chromium)

🚧 Roadmap

  • Persistent hosting (no temporary tunnels)
  • Multi-user isolation
  • App sharing links
  • Version history per app
  • Authentication + storage
  • Mobile-native UI improvements

πŸ‘¨β€πŸ’» Author

Built by ISODL


⭐ Contributing

PRs welcome. Ideas welcome. Chaos welcome.


⚠️ Disclaimer

  • Cloudflare tunnels are temporary
  • Apps are stateless (for now)
  • Use responsibly

🧠 Vision

Hermes Forge is evolving into:

β€œPrompt β†’ Software” as a real-time system

No setup. No coding. Just ideas β†’ working apps.

About

A creative Hermes Agent that generates full interactive apps from prompts

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors