Hardware Reference Bot
- 1 Devlogs
- 1 Total hours
This bot isn't slacking off, it replies to messages 24/7!
This bot isn't slacking off, it replies to messages 24/7!
Ever been working on a hardware project and had to stop just to calculate a resistor value, find a datasheet, or check an MCU pinout?
That tiny “let me Google this” moment happens constantly in electronics work. So for Hack Club’s Stardance YSWS, I built Hardware Reference Bot — a FastAPI Slack slash-command bot that provides quick hardware references directly inside Slack.
/dp-resistor <bands>
Calculates 4-band and 5-band resistor values from color bands.
Example:
/dp-resistor brown black red gold
Returns the resistor value and tolerance instantly.
/dp-datasheet <part_number>
Generates quick datasheet search links for:
No scraping or PDF parsing—just fast access to references.
/dp-pinout <mcu>
Returns a curated pinout/peripheral cheatsheet.
Currently supported:
MCU data is stored in JSON, making it easy to add new devices.
app/
├── main.py
├── config.py
├── commands/
└── data/
tests/
Dockerfile
docker-compose.yml
slack-app-manifest.yaml
.env.example
GET /healthz
POST /slack/events
The app is containerized with Docker and planned for deployment via Coolify:
/healthz for health checksSlash command handlers immediately call ack() and send responses through Bolt’s respond() helper. This satisfies Slack’s response timing requirements while keeping responses clean and formatted.
Hardware development involves dozens of tiny reference lookups every day. Instead of opening multiple tabs, Hardware Reference Bot keeps common references one command away inside the place you’re already collaborating.
Everything hardware, one command away.