A dark-themed, developer-focused pastebin inspired by the world of Tokyo Ghoul.
Fast. Minimal. Deadly simple.
In Tokyo Ghoul, a Kagune is a ghoul's hidden weapon — concealed until needed, then unfolding instantly to attack, defend, and disappear.
That's exactly what a pastebin should be. Your content stays hidden until shared.
KaguneBin is a modern pastebin I built because I use paste services every single day — for code snippets, API debugging, log dumps, quick collaboration, and temporary storage. So I built my own.
| Feature | Description |
|---|---|
| 📝 Create & Share | Instant paste creation with unique IDs |
| 🔒 Password Protection | Secure pastes with bcrypt hashing |
| 🔥 Burn After Read | Self-destructing pastes |
| ⏳ Expiring Pastes | Time-limited content |
| 📄 Raw Endpoint | Direct raw content access |
| 📊 View Tracking | Track how many times a paste is seen |
| 🆔 UUID-based IDs | Clean, unique paste identifiers |
| 📚 Auto API Docs | Interactive Swagger & ReDoc documentation |
| Layer | Technology |
|---|---|
| Language | |
| Framework | |
| Database | |
| Validation | |
| Security | |
| Server | |
| Deployment |
1. Clone the repo
git clone https://github.com/MKishoreDev/KaguneBin.git
cd KaguneBin2. Install dependencies
pip install -r requirements.txt3. Set environment variables
DATABASE_URI=your_neon_postgresql_url4. Start the server
uvicorn main:app --reload5. Open API docs
http://localhost:8000/docs
| Interface | URL |
|---|---|
| Swagger UI | https://kagunebin.vercel.app/docs |
| ReDoc | https://kagunebin.vercel.app/redoc |
{
"id": "kgn_a1b2c3d4",
"title": "Example Paste",
"content": "print('Hello World')",
"syntax": "python",
"is_protected": false,
"is_burn_after_read": false,
"views": 1,
"created_at": "2026-05-27T12:00:00+00:00",
"expires_at": null
}KaguneBin/
├── main.py # App entry point & route handlers
├── models.py # Pydantic request/response models
├── config.py # Environment configuration
├── database/
│ ├── __init__.py # DB connection & lifespan events
│ └── funcs.py # Reusable DB query functions
└── templates/ # HTML templates
Ideas, feedback, and contributions are welcome. Open an issue or PR anytime.
KaguneBin is an independent developer project. Tokyo Ghoul and related characters belong to their respective creators and studios.
Built for developers who prefer dark themes and clean APIs.