TinySignal is a local-first, lightweight app that clusters Hacker News posts and delivers trending discussions straight to your Telegram.
make run- Fetch stories from a news source. In this project, we are using "https://news.ycombinator.com/".
- Cluster all stories based on the embeddings of each story.
- Use an LLM to generate a title for each cluster.
- Deliver the summaries to Telegram as
InlineKeyboardButtonelements.
Powered by DuckDB, a fast in-process database system. No extra services are required (e.g., Postgres, Redis, vector databases, etc.).
- DuckDB as a database SQL engine
- DuckDB as a vector databases
- DuckDB as a cache handler (see app/services/cache.py)
Layers inside app:
- infrastructure – handles database connections
- models – contains Pydantic models
- repositories – handles database operations
- services – handles business logic
