How linagora/crowdsieve-local-demo works
This repository is a local CrowdSieve demo environment, not the CrowdSieve application itself. Its main workflow runs CrowdSieve against a disposable working copy of a supplied SQLite dataset, exposing a dashboard and API; incoming alerts can be enriched and stored without forwarding. A separate utility extracts selected data from PostgreSQL into SQLite, and an example demonstrates querying a local-compatible Qwen model. Deployment and runtime details come from the README; the source excerpt only verifies the extractor’s database-transfer behavior.
Main entry points: docker-compose.yml Dashboard and API · extract.mjs Dataset extractor · qwen-chat.ts Qwen chat example
Components 13
CrowdSieve Demo
- CrowdSieve service
docker-compose.yml - Dashboard and API
docker-compose.yml - Original SQLite file
- Working SQLite copy
- GeoIP database
Dataset Preparation
- CrowdSieve PostgreSQL
- Dataset extractor
extract.mjs - Exported SQLite file
AI Example
- Qwen chat example
examples/qwen-chat.ts - OpenAI-compatible model API
Other components
- Demo operator
- Alert sender
- Example user
Connections 11
- Demo operator → CrowdSieve service: starts
README.md - Demo operator → Dashboard and API: views
README.md - Original SQLite file → CrowdSieve service: mounted read-only
README.md - CrowdSieve service → Working SQLite copy: copies on startup
README.md - Alert sender → Dashboard and API: sends alerts
README.md - Dashboard and API → Working SQLite copy: stores alerts
README.md - GeoIP database → Dashboard and API: enriches alerts
README.md - CrowdSieve PostgreSQL → Dataset extractor: provides rows
extract.mjs - Dataset extractor → Exported SQLite file: writes database
extract.mjs - Example user → Qwen chat example: runs
README.md - Qwen chat example → OpenAI-compatible model API: sends conversation
README.md