بدون توضیح

Luis Rosales 6c91a13171 M3(2/3): telegram client + commands + handler + router CTE union 2 ماه پیش
cmd fed63e411f M3(1/3): telegram tables + seed_m3 + per-channel binary split + compose/Dockerfile 2 ماه پیش
deploy d76aa0b08d chore: shift app HTTP ports 8080-8083 to 8800-8803 (project rule) 2 ماه پیش
internal 6c91a13171 M3(2/3): telegram client + commands + handler + router CTE union 2 ماه پیش
loadgen d76aa0b08d chore: shift app HTTP ports 8080-8083 to 8800-8803 (project rule) 2 ماه پیش
migrations fed63e411f M3(1/3): telegram tables + seed_m3 + per-channel binary split + compose/Dockerfile 2 ماه پیش
scripts 280e0489de M2(3/3): verification doc + smoke log + smoke script + README/SPEC bump 2 ماه پیش
testfakes fed63e411f M3(1/3): telegram tables + seed_m3 + per-channel binary split + compose/Dockerfile 2 ماه پیش
.env.example d76aa0b08d chore: shift app HTTP ports 8080-8083 to 8800-8803 (project rule) 2 ماه پیش
.gitignore 264d284a4b M1(1-2/8): migrations + seed + cmd/seed runner 2 ماه پیش
ARCHITECTURE.md 8ca86628a1 feat(spec): add gRPC bidi-streaming as fourth ingest protocol (M11) 2 ماه پیش
Dockerfile fed63e411f M3(1/3): telegram tables + seed_m3 + per-channel binary split + compose/Dockerfile 2 ماه پیش
M0_VERIFICATION.md d76aa0b08d chore: shift app HTTP ports 8080-8083 to 8800-8803 (project rule) 2 ماه پیش
M1_SMOKE_LOG.md af90a2cb4d M1(verified): live smoke test all 9 steps green + 6 compose/Dockerfile fixes 2 ماه پیش
M1_VERIFICATION.md d5a211622a M1(8/8): M1 verification doc + SPEC update + PROMPT log 2 ماه پیش
M2_SMOKE_LOG.md 280e0489de M2(3/3): verification doc + smoke log + smoke script + README/SPEC bump 2 ماه پیش
M2_VERIFICATION.md 280e0489de M2(3/3): verification doc + smoke log + smoke script + README/SPEC bump 2 ماه پیش
PROMPT.md 280e0489de M2(3/3): verification doc + smoke log + smoke script + README/SPEC bump 2 ماه پیش
README.md 280e0489de M2(3/3): verification doc + smoke log + smoke script + README/SPEC bump 2 ماه پیش
SPEC.md 280e0489de M2(3/3): verification doc + smoke log + smoke script + README/SPEC bump 2 ماه پیش
docker-compose.yml fed63e411f M3(1/3): telegram tables + seed_m3 + per-channel binary split + compose/Dockerfile 2 ماه پیش
go.mod 264d284a4b M1(1-2/8): migrations + seed + cmd/seed runner 2 ماه پیش
go.sum 264d284a4b M1(1-2/8): migrations + seed + cmd/seed runner 2 ماه پیش

README.md

broad-announce

Multi-tenant notification router. Receives alerts from many source systems (HTTP/JSON webhooks, WebSockets, MQTT, gRPC bidi-streaming), normalizes them, resolves recipients via companiesgroupsindividuals + subscriptions, and delivers to FCM (Android), Telegram, SMS, email, voice, Slack, MS Teams, and arbitrary outbound webhooks.

Status: M0 + M1 + M2 shipped 2026-06-13. M0 is the single-host docker-compose stack + 4 Go services + loadgen-http

  • alert schema. M1 is the end-to-end: signed webhook → broker → router → deliverd → fakefcmd (live-verified, 1530 deliveries in the loadgen burst, 0 failures). M2 is the recipient-resolution rules engine (source.allowed_targets + routing_rules + subscriptions with min_severity, quiet hours, inminent_colapse bypass; hard-fail on zero recipients). See M0_VERIFICATION.md, M1_VERIFICATION.md, M2_VERIFICATION.md, M1_SMOKE_LOG.md, and M2_SMOKE_LOG.md for the smoke tests. Spec is in SPEC.md, diagrams in ARCHITECTURE.md, build log in PROMPT.md.

v1 in one paragraph

Four Go services (ingestd, routerd, deliverd, admind) wired together by NATS JetStream. Postgres + Timescale for live data, ClickHouse for archive, Redis for dedupe + rate limits, EMQX for MQTT. Strict app-level multi-tenant isolation. ~5k alerts/sec on Docker Compose, 50k/sec design ceiling for v2 K8s.

Repo layout

SPEC.md             — requirements, entities, severity, retention
ARCHITECTURE.md     — diagrams, sequences, SLOs, capacity model
PROMPT.md           — build log, decisions, open questions
M0_VERIFICATION.md  — M0 smoke test (signed webhook → 202)
docker-compose.yml  — single-host M0 stack
Dockerfile          — multi-stage build for all 5 binaries
.env.example        — every BA_* knob documented
cmd/ingestd/        — HTTP POST handler (M0), other transports in M4/M5/M11
cmd/routerd/        — scaffold (M2)
cmd/deliverd/       — scaffold (M3+)
cmd/admind/         — scaffold + /v1/ping (M8)
loadgen/cmd/http/   — traffic generator (M0)
internal/alert/     — Alert v1 type + Validate()
internal/broker/    — NATS JetStream wrapper
internal/config/    — env-driven config
internal/dedupe/    — 60s SET NX EX + INCR
internal/ratelimit/ — per-second INCR bucket
internal/httpserver/ — /health + /metrics scaffold
internal/observability/ — slog + Prometheus
internal/store/     — Redis + (later) Postgres
deploy/prometheus/  — prometheus.yml
migrations/         — (coming, M2)
testfakes/          — (coming, M3) fake-FCM, fake-Telegram, fake-SMS

License

Private. © 2026 Techno-World.