Skip to content

🎌 AI-powered kawaii anime gallery manager built with Rust & Tauri. Features character recognition, Danbooru-style tagging, and local-first privacy. Perfect for organizing your anime art collection! ✨

License

Notifications You must be signed in to change notification settings

KiritoKing/PixiMoe.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌸 PixiMoe.rs 🌸

Rust Tauri TypeScript React AI

🎌 AI-Powered Kawaii Anime Gallery Manager

A blazing-fast local-first anime gallery built with Rust, featuring intelligent character recognition, Danbooru-style tagging, and kawaii organization! ✨

GitHub stars GitHub forks GitHub issues License: MIT

Platform Version Build Status


PixiMoe.rs Demo

πŸŽ€ Your kawaii anime gallery with AI magic!

✨ Features

🎌 Anime & Art Gallery Specialization

Character Recognition Danbooru Tags NSFW Detection Artist Recognition

  • 🏷️ Danbooru-Style Tagging - 4000+ tags with Swin-V2-Tagger-v3
  • πŸ‘₯ Character Recognition - Smart character clustering across your collection
  • 🎨 Style Classification - AI-powered art style and artist identification
  • πŸ”ž NSFW Detection - Automatic content filtering and safe rating
  • πŸ“š Collection Management - Smart organization by series, artist, characters

πŸš€ Core Technology

Performance Privacy GPU

  • ⚑ Extreme Performance - Process 50,000+ images with blazing speed
  • πŸ”’ Local-First Architecture - Perfect for private anime collections
  • πŸ€– Zero-Config AI - Pre-trained anime models work out of the box
  • πŸ” Content-Addressed Storage - BLAKE3 hashing for deduplication
  • 🎯 Non-Destructive - Original files never modified

πŸ› οΈ Tech Stack

πŸ¦€ Backend

Rust Tauri SQLite ONNX

βš›οΈ Frontend

React TypeScript Vite Tailwind

πŸ€– AI Models

Hugging Face PyTorch OpenCV

πŸš€ Quick Start

πŸ“‹ Prerequisites

Node.js Rust pnpm

# Clone the repository πŸŽ€
git clone https://github.com/KiritoKing/PixiMoe.rs.git
cd PixiMoe.rs

# Install dependencies ✨
pnpm install

# Setup database πŸ“š
sqlx database create
sqlx migrate run

# Launch PixiMoe! 🌸
pnpm tauri dev

πŸŽ‰ That's it! PixiMoe will automatically download AI models and start organizing your kawaii collection!

πŸ“Š Performance Metrics

Operation GPU CPU Performance
Thumbnail Generation 50ms 100ms ⚑⚑⚑⚑⚑
Danbooru Tagging 100ms 500ms ⚑⚑⚑⚑
Character Detection 50ms 100ms ⚑⚑⚑⚑⚑
Character Recognition 20ms 50ms ⚑⚑⚑⚑⚑

Performance Graph

βœ… Supports 50,000+ anime images with <4GB memory usage

🧠 AI Pipeline for Anime Galleries

graph TD
    A[πŸ“Έ Anime Image] --> B[🏷️ Swin-V2-Tagger-v3]
    A --> C[πŸ‘€ SCRFD Character Detection]
    B --> D[πŸ“‹ Danbooru Tags]
    C --> E[😊 Character Faces]
    E --> F[🧠 ArcFace Embeddings]
    D --> G[πŸ—‚οΈ Smart Organization]
    F --> G
    G --> H[πŸ“š Kawaii Gallery]
Loading

🎯 AI Processing Steps

  1. 🏷️ Danbooru Classification - 4000+ tags from millions of anime images
  2. πŸ‘€ Character Detection - Specialized anime character face detection
  3. 🧠 Character Embedding - 512-dimensional vectors for recognition
  4. πŸ”„ Smart Clustering - Automatic character and face grouping
  5. 🎨 Content Analysis - Style, artist, series detection
  6. ⚑ Hardware Optimization - CUDA/CoreML/DirectML acceleration

πŸ“ Project Structure

PixiMoe.rs/
β”œβ”€β”€ πŸ“‚ src/                    # React Frontend
β”‚   β”œβ”€β”€ 🎨 components/ui/       # shadcn/ui components
β”‚   β”œβ”€β”€ βš™οΈ lib/                 # Utilities & hooks
β”‚   └── πŸš€ main.tsx            # App entry point
β”œβ”€β”€ πŸ¦€ src-tauri/               # Rust Backend
β”‚   β”œβ”€β”€ 🎯 src/
β”‚   β”‚   β”œβ”€β”€ πŸ’Ύ db/              # Database operations
β”‚   β”‚   β”œβ”€β”€ πŸ”§ commands/        # Tauri commands
β”‚   β”‚   β”œβ”€β”€ πŸ€– ai/              # ONNX inference
β”‚   β”‚   └── ❌ error.rs         # Error handling
β”‚   └── 🧠 models/              # AI model files
β”œβ”€β”€ πŸ“š openspec/                # Project specs
β”œβ”€β”€ πŸ—ƒοΈ migrations/             # Database migrations
└── πŸ’Ύ piximoe.db              # SQLite database

🎯 Design Philosophy

Principle Description Icon
🎌 Anime-First Every feature optimized for anime galleries 🌸
πŸ”’ Privacy First Perfect for personal collections πŸ”
⚑ Rust Performance Memory safety and blazing speed πŸ¦€
πŸ€– Zero Configuration AI models work out of the box ✨
🏷️ Danbooru Compatible Familiar tags for anime community πŸ“‹

🀝 Contributing

Contributions Welcome

We love contributions! Whether you're fixing bugs, adding features, or improving documentation! πŸŽ€

πŸ“– See our Contributing Guide for details

πŸš€ Quick Contributing Steps

# Fork & Clone πŸ”„
git clone https://github.com/KiritoKing/PixiMoe.rs.git
cd PixiMoe.rs

# Create Feature Branch 🌿
git checkout -b feature/your-kawaii-feature

# Make Changes & Commit πŸ’
git commit -m "✨ feat: add kawaii feature"

# Push & PR πŸŽ‰
git push origin feature/your-kawaii-feature

πŸ† Contributors

GitHub contributors

πŸ’– Thank you to all our contributors!

πŸ“œ License

MIT License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

Special thanks to these amazing projects!

Tauri ONNX Runtime SmilingWolf Rust Community


🌸 PixiMoe.rs - Where every anime pixel is kawaii and intelligently connected! 🎌

Back to top

Star History

Made with πŸ’– and πŸ¦€ for the anime community!

About

🎌 AI-powered kawaii anime gallery manager built with Rust & Tauri. Features character recognition, Danbooru-style tagging, and local-first privacy. Perfect for organizing your anime art collection! ✨

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •