Settings

Theme

Show HN: Intent Bus – SQLite job bus for coordinating scripts across devices

github.com

1 points by dsecurity49 a month ago · 3 comments · 1 min read

Reader

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 Dev.to writeup: https://dev.to/d_security/how-i-control-my-android-phone-fro...

dsecurity49OP a month ago

Update: 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

dsecurity49OP a month ago

Update: The Python SDK is officially live on PyPI.

pip install intent-bus

GitHub: https://github.com/dsecurity49/intent-bus-sdk

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection