No description
Find a file
2025-06-12 14:17:22 +09:00
bot comment on why since_id is double-checked. 2025-06-12 14:17:22 +09:00
web works now but may need to revert file upload change 2025-06-12 12:43:42 +09:00
.gitignore cast ids to string since they're lexicographically sortable automatically in both systems 2025-06-12 14:04:38 +09:00
.tool-versions baseline fedi abstraction stuff. 2025-06-12 11:03:12 +09:00
db.py better config file handling for testing multiple configs and validating contents 2025-06-12 14:11:45 +09:00
dev_runner.py init 2025-05-15 22:14:41 -03:00
example_config.ini named some damn properties wrong 2025-06-12 13:25:04 +09:00
LICENSE License 2025-05-15 22:44:28 -03:00
readme.md documentation update for configurable backends 2025-06-12 11:26:10 +09:00
requirements.txt use a library for content type detection instead of handrolled 2025-06-12 12:53:37 +09:00
startup.sh init 2025-05-15 22:14:41 -03:00

Kemoverse

A gacha-style bot for the Fediverse built with Python. Users can roll for characters, trade, duel, and perhaps engage with popularity-based mechanics. Supports both Misskey and Pleroma instances. Name comes from Kemonomimi and Fediverse.

Fediverse Gacha Bot Logo

🔧 Features

Implemented

  • 🎲 Character roll system
  • 🎴 Cards stats system
  • 🧠 Core database structure for characters and stats
  • 📦 Basic support for storing pulls per user

🧩 In Progress

  • 📝 Whitelist system to limit access
  • ⏱️ Time-based limitations on rolls
  • ⚔️ Dueling system

🧠 Planned Features (Long Term)

🛒 Gameplay & Collection

  • 🔁 Trading system between users
  • Favorite characters (pin them or set profiles)
  • 📢 Public post announcements for rare card pulls
  • 🧮 Leaderboards
    • Most traded Characters
    • Most owned Characters
    • Most voted Characters
    • Most popular Characters (via usage-based popularity metrics)
    • Users with the rarest Characters

🎨 Card Aesthetics

  • 🖼️ Simple card template for character rendering
  • 🌐 Web app to generate cards from images

🌍 Fediverse Support

Anyone from the fediverse can play! The bot supports both Misskey and Pleroma instances through configurable backends.

🗃️ Tech Stack

  • Python (3.11+)
  • SQLite
  • Fediverse API integration (Misskey and Pleroma support)
  • Flask
  • Modular DB design for extensibility

💡 Philosophy

The bot is meant to feel light, fun, and competitive. Mixing social, gacha and duel tactics.

🧪 Getting Started (coming soon)

Instructions on installing dependencies, initializing the database, and running the bot locally will go here.

flowchart TD

  subgraph Player Interaction
    A1[Fediverse bot]
    A2[Web]
  end

  subgraph Fediverse
    B1[Fediverse instance]
  end

  subgraph Bot
    C1[Bot core in Python]
    C2[Notification parser]
    C3[Gacha roll logic]
    C4[Database interface]
    C5[Fediverse API poster]
  end

  subgraph Website
    D1[Flask backend]
    D2[User account system]
    D3[Image gallery]
  end

  subgraph Backend
    E1[Shared database]
    E2[Virtual environment]
    E3[Debian Linux server]
  end

  A1 <-->|Send or receive mention| B1
  B1 -->|Send mention| C2
  C2 -->|Command and information| C3
  C3 <-->|Ask for command information and confirmed roll setting| C4
  C4 <--> E1
  C3 -->|Command result and info| C5
  C5 -->|Resulting Mention| B1

  A2 --> D1
  D1 --> D2
  D1 --> D3
  D2 --> E1
  D3 --> E1

  C1 --> E2
  D1 --> E2

  E1 --> E3
  B1 --> E3