Real-time Broadcasting Ecosystem for StarHTML
Convention over Configuration for building real-time collaborative applications with StarHTML.
Core (starstream):
- 📡 Real-time broadcasting (fire-and-forget)
- 👥 Presence tracking (who's online)
- ⌨️ Typing indicators
- 🖱️ Cursor tracking
- 💾 Message history with TTL
- 🗄️ SQLite storage (automatic)
Plugins:
- 🔗 starstream-loro - CRDT for collaborative editing
- 🗄️ starstream-pocketbase - Auth, admin UI, file storage
| Package | Description | Install |
|---|---|---|
| starstream | Core broadcasting + SQLite storage (auto) | pip install starstream |
| starstream-loro | CRDT for collaborative editing | pip install starstream-loro |
| starstream-pocketbase | Auth, admin UI, file storage | pip install starstream-pocketbase |
Create a ready-to-run StarHTML app with StarStream pre-configured:
uvx starstream init my-app
cd my-app && uv run app.pyAdd StarStream to your current StarHTML app automatically (detects uv/pip):
uvx starstream add --file app.pyThis command installs the package and injects the StarStreamPlugin boilerplate into your code.
StarStream includes a SKILL.md for AI agents. This skill provides expert instructions for building real-time apps.
Agents can install it via:
npx skills add renatocaliari/starstreamstarstream-monorepo/
├── packages/
│ ├── starstream/ # Core package
│ ├── starstream-loro/ # CRDT plugin
│ └── starstream-pocketbase/ # Database plugin
├── skills/
│ └── starstream/ # Agent skill (SKILL.md)
├── README.md
└── LICENSE
- packages/starstream/README.md
- packages/starstream-loro/README.md
- packages/starstream-pocketbase/README.md
MIT