Skip to content

SiliconeShojo/TagForge

Repository files navigation

Typing SVG

The ultimate command center for AI prompting and tagging. Leverage modern LLMs to craft the perfect Stable Diffusion prompts in a sleek, high-performance desktop environment.


Total Downloads Wiki Latest Release

C# .NET 9 Avalonia

Windows Linux macOS

Ko-fi




πŸš€ See it in Action

TagForge.mp4



πŸ“Έ Screenshots

πŸ€– Agent Orchestrator πŸ’¬ Intelligent Chat πŸ“‚ History Management
Agents Chat History
πŸ“œ Live Console βš™οΈ Configuration 🎨 Prompt Generator
Logs Settings Prompt Generator



✨ Features at a Glance

TagForge isn't just a wrapperβ€”it's a purpose-built workspace for prompt engineering.

🧠 Intelligence

  • 🎨 Specialized Generator: Turn vague ideas into optimized, comma-separated tag lists for Stable Diffusion or rich prose for FLUX/Midjourney.
  • πŸ‘οΈ Vision Analysis: Drag-and-drop images to extract tags or generate detailed captions using multimodal models.
  • πŸ’¬ Contextual Chat: A coding-capable assistant with persistent session history and markdown rendering.

πŸ›‘οΈ Architecture

  • πŸ”’ Zero-Trust Security: API keys are encrypted at rest using Windows DPAPI. Keys never leave your device except to hit the API endpoint.
  • ⚑ Native Performance: Built on .NET 9 with heavy threading. The UI stays buttery smooth, even while generating complex batches.



πŸ”Œ Supported Providers

Connect to the best models in the world.

Provider Capability
Google Gemini High-speed, high-quality multimodal reasoning.
Groq Lightning-fast inference for Llama & Mixtral.
OpenRouter Unified gateway to OpenAI, Anthropic, and premium models.
Hugging Face Access the massive open-source library via Inference API.
LM Studio Connect to your own private inference server.
Ollama Run Llama 3, Mistral, and more directly on your CPU/GPU.



🎭 Persona System

Customize the AI's identity to fit your workflow:

  1. πŸ–ŠοΈ System Roles: Define the AI's expertise (e.g., "You are a Danbooru tagging expert").
  2. πŸ”„ Dynamic Injection: Use the {input} placeholder to create reusable templates.
  3. βš™οΈ Built-in Presets:
    • Tag Prompts: The classic tagging engine for Stable Diffusion.
    • Natural Prompts: For generating rich, descriptive prose.
    • Tag Vision: Inspects images and generates tag lists.
    • Natural Vision: Inspects images and generates detailed captions.



🌍 Localization

TagForge speaks your language.

English French Spanish

Note

Want to help? Check out the Translation Guide. Adding a language takes minutes, and all contributors are credited!




πŸ› οΈ Build & Installation

TagForge is built on .NET 9.0 and Avalonia UI for cross-platform performance.

Important

You must have the .NET 9.0 SDK installed to build this project from source.

How to Build (Single-File)

To produce a clean, standalone executable:

Windows

dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true --self-contained true -o ./publish/win

Linux

dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained true -o ./publish/linux

macOS (Apple Silicon)

dotnet publish -c Release -r osx-arm64 -p:PublishSingleFile=true --self-contained true -o ./publish/mac-arm

macOS (Intel)

dotnet publish -c Release -r osx-x64 -p:PublishSingleFile=true --self-contained true -o ./publish/mac-intel

Tip

The build commands above generate a portable executable in the ./publish folder with all dependencies embedded. No installation required!




πŸ’– Credits & Assets


Visitor Count

About

Advanced AI tagging and prompt generation studio.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Languages