opencompany
Self-improving AI that runs your whole business: six AI employees automate development, design, accounting, sales, marketing, and tax with 200+ AI models.
ChiefAI is an AI chief of staff that runs lead generation and outreach, social media and ads, and finance tracking for your business — all on one live dashboard.
BusinessTypeScript · JavaScriptGitHub @MuhammadTaha25OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Client-facing web app for Infomist. Next.js (App Router) + Supabase Auth/Postgres. All automation and AI decision-making lives in n8n — this app only renders live Supabase data and calls n8n webhooks; it does not reimplement any business logic.
Copy .env.local and fill in real values:
| Var | Where it's used | Notes |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL | browser + server | https://timfpxablcdgwrkucrjj.supabase.co |
NEXT_PUBLIC_SUPABASE_ANON_KEY | browser + server | publishable/anon key, respects RLS |
SUPABASE_SERVICE_ROLE_KEY | server only | bypasses RLS — never expose to the browser. Used only in src/lib/supabase/admin.ts (finance RPC + Zernio callback) |
N8N_BASE_URL | server only | https://n8n-vmc7.srv1664783.hstgr.cloud |
N8N_WEBHOOK_SECRET | server only | not yet set — n8n webhooks currently have authentication: none. Add a shared secret to the webhooks and set this before production traffic |
ZERNIO_BASE_URL | server only | https://zernio.com/api/v1 |
ZERNIO_OAUTH_REDIRECT_URI | server only | must match what's registered with Zernio; update for prod domain |
src/app/(auth) — login/signup (Supabase Auth, email+password)src/app/onboarding — 4-step wizard (ICP, marketing plan, connect accounts, domain/mailbox)src/app/(dashboard) — authenticated app shell: dashboard, leads, content, finance, projects, settingssrc/app/api/n8n/* — the ONLY callers of n8n webhooks. Each resolves client_id server-side from the Supabase session; never trust one from the request bodysrc/app/api/zernio/* — Zernio OAuth connect + callback (the one piece of Zernio integration that wasn't already built in n8n)src/app/api/finance/decide — calls the decide_budget_request Postgres RPC via the service-role clientsrc/lib/supabase/{client,server,admin}.ts — browser, server (RLS-scoped), and admin (service-role) Supabase clientssrc/middleware.ts — refreshes the Supabase session and redirects unauthenticated users away from protected routesN8N_WEBHOOK_SECRET here before production traffic.src/app/api/zernio/callback/route.ts guesses common param names (account_id/zernio_account_id, profile_id/zernio_profile_id). Confirm the real contract with Zernio and adjust.webhook/instagram-content-calendar is still backed by an n8n Data Table for the calendar itself, not fully per-tenant in Supabase yet.npm install
npm run dev