78482c79a25d4197c881d2dc91e2dda8becbee08
Manar (منار)
AI-Driven Paid Media Operations Platform
Manar means beacon/lighthouse in Arabic. It monitors, diagnoses, recommends, executes, and reports on paid media — starting with Google Ads.
Architecture
| Container | Purpose |
|---|---|
manar-frontend |
Next.js dashboard at manar.asktam.net |
manar-core-db |
Postgres 16 — brands, users, memberships |
manar-tenants-db |
Postgres 16 — per-brand schemas |
manar-mcp |
FastMCP — Google Ads connector + AI tools |
Shared: ClickHouse (manar DB), Metabase, n8n, LiteLLM — all existing on VPS.
Phase 1 Brands
- Al Salama Medical — Google Ads ID:
5467427558 - Ask Tam
Trust Ladder
| Level | Name | Behavior |
|---|---|---|
| L0 | Observer | Monitor + report only |
| L1 | Suggest | Recommends, waits for approval |
| L2 | Auto with veto | Executes, approval window to cancel |
| L3 | Autopilot | Silent execution, post-hoc audit |
Five Capabilities
Monitor → Diagnose → Recommend → Execute → Report
Week 1 Checklist
- Gitea repo:
colorlink/manar - VPS scaffold:
/docker/manar/ manar-core-db+ schemasmanar-tenants-db+ brand schemas- ClickHouse
manardatabase + tables manar-mcpskeleton- Data flow validated: OAuth → metrics → ClickHouse → Metabase
Description
Languages
TypeScript
46.4%
Python
35.1%
PLpgSQL
15.2%
CSS
1.5%
Dockerfile
1.2%
Other
0.6%