Bratbot
B 81 completed
Other
containerized / python · tiny
48
Files
3,409
LOC
2
Frameworks
6
Languages
Pipeline State
completedRun ID
#395934Phase
doneProgress
1%Started
Finished
2026-04-13 01:31:02LLM tokens
0Pipeline Metadata
Stage
SkippedDecision
skip_scaffold_dupNovelty
31.44Framework unique
—Isolation
—Last stage change
2026-04-16 18:15:42Deduplication group #47446
Member of a group with 1 similar repo(s) — canonical #113362 view group →
Top concepts (2)
Project DescriptionWeb Backend
Repobility · MCP-ready · https://repobility.com
AI Prompt
Create a self-hosted Discord bot called BratBot using Python. I need it to answer questions using a self-hosted LLM via Ollama. The bot should have a `/brat` slash command where users can specify an optional "brat level" (1-3). It also needs to support free-form conversation when mentioned. Key features to include are adjustable "brattiness" (5 levels), rate limiting using Redis, and a request queue for async responses. The architecture should use FastAPI for a custom personality API layer that communicates with Ollama, and the entire setup should be containerized using Docker Compose.
python discord.py ollama fastapi docker redis llm discord-bot containerization pytest
Generated by gemma4:latest
Catalog Information
◆ ✦ ◆ ✦ ◆ ✦ ◆ B R A T B O T ✦ ◆ ✦ ◆ ✦ ◆ ✦
Description
◆ ✦ ◆ ✦ ◆ ✦ ◆ B R A T B O T ✦ ◆ ✦ ◆ ✦ ◆ ✦
Novelty
3/10Tags
python discord.py ollama fastapi docker redis llm discord-bot containerization pytest
Technologies
fastapi pydantic
Claude Models
claude-opus-4-6
Quality Score
B
80.7/100
Structure
73
Code Quality
100
Documentation
65
Testing
50
Practices
92
Security
100
Dependencies
60
Strengths
- Code linting configured (ruff (possible))
- Consistent naming conventions (snake_case)
- Good security practices \u2014 no major issues detected
- Containerized deployment (Docker)
Weaknesses
- No LICENSE file \u2014 legal ambiguity for contributors
- No CI/CD configuration \u2014 manual testing and deployment
- 118 duplicate lines detected \u2014 consider DRY refactoring
Recommendations
- Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
- Add a LICENSE file (MIT recommended for open source)
Security & Health
5.1h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (4)
Repobility · code-quality intelligence platform · https://repobility.com
Unknown
License
6.3%
Duplication
Languages
Frameworks
FastAPI pytest
Concepts (2)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Repobility · severity-and-effort ranking · https://repobility.com | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | ◆ ✦ ◆ ✦ ◆ ✦ ◆ B R A T B O T ✦ ◆ ✦ ◆ ✦ ◆ ✦ | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_category | Web Backend | web-backend | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
