3 ms·
Show HN: Intent Bus – SQLite job bus for coordinating scripts across devices
I wanted my PythonAnywhere scrapers to ping my Termux phone when something interesting happened. Every solution I found was overkill — Firebase, Redis, MQTT. So I built a minimal alternative in ~100 lines of Flask.
How it works:
- Any script POSTs a job ("intent") to a Flask server
- Workers anywhere poll for jobs matching their goal
- Atomic SQLite lock prevents race conditions
- 60s visibility timeout auto-requeues crashed workers
- API key auth
The interesting part is the architecture — workers poll outbound, so they work behind firewalls with no open ports. A Raspberry Pi in your home lab can execute jobs posted from a cloud server with zero Ngrok.
After posting publicly, people stress-tested the open endpoint. Added API key auth and hardened it based on real feedback.
GitHub: https://github.com/dsecurity49/Intent-Bus https://github.com/dsecurity49/Intent-Bus
Dev.to writeup: https://dev.to/d_security/how-i-control-my-android-phone-from-a-cloud-server-using-100-lines-of-flask-2fl6 https://dev.to/d_security/how-i-control-my-android-phone-fro...
- deleted 5mo ago[deleted]
- dsecurity49 5mo agoUpdate: v7 is Live Since the original post, Intent Bus has been hardened significantly based on real-world feedback: - Rate limiting (60 req/min per key+IP) - Tester key system — request a free key to try the live instance - Intent expiry after 24 hours - Python worker for non-bash users - Security headers and payload size limits DM me on Dev.to, open a GitHub Issue, or join the Discord to request a free tester key: https://discord.gg/bzAneAQzGX https://discord.gg/bzAneAQzGX
- dsecurity49 5mo agoUpdate: The Python SDK is officially live on PyPI. pip install intent-bus GitHub: https://github.com/dsecurity49/intent-bus-sdk https://github.com/dsecurity49/intent-bus-sdk