SEO articles that sound like your brand. A Next.js app with Supabase, Claude and Gemini.
The interface is in French and English. The first visit follows the browser language and falls back to French. The choice is stored in the NEXT_LOCALE cookie. The language of generated articles is chosen per site and is separate from the interface language.
- Magic-link sign-in (Supabase Auth, no password).
- Sites (brand profiles): guided setup from a URL, one active site at a time, then an editor for identity, business, SEO rules, sources of truth, author and reference articles.
- Article generation in three steps: keyword, an editable outline, then streaming draft with a live SEO score.
- Rewrite a passage in the brand voice.
- Library with Markdown, HTML, Word and PDF export.
- Publish to WordPress (application password, encrypted before storage) or Sanity.
- Team invitations, inline section images, social post drafts, and optional Google Search Console.
Every screen supports light and dark themes and a live French/English interface switcher.
- Node.js 22 or newer
- Supabase (cloud project, or local via the Supabase CLI + Docker)
- An API key from at least one AI provider: Anthropic, OpenAI, Google Gemini, Mistral, or any OpenAI-compatible endpoint (Ollama, OpenRouter…). Each user picks the model in their account. Or set
AI_DEMO_MODE=1in.env.localto try the whole flow with canned responses and no API keys.
Self-hosted usage is unlimited by default. Optional: an SMTP server, Google OAuth (Search Console), a Gemini API key (article images), or environment-based usage caps (MONTHLY_ARTICLES_LIMIT, MONTHLY_IMAGES_LIMIT, MONTHLY_ANALYSES_LIMIT, MAX_SITES). The app keeps working when an optional integration is not configured. See docs/INTEGRATIONS.md.
npm install
cp .env.example .env.local # then fill in the values
npm run dev # http://localhost:3000Local (recommended to try the app):
- Install Docker and the Supabase CLI, then start the local stack (all files in
supabase/migrations/are applied automatically andsupabase/config.tomlpreconfigures the local auth redirect URLs):supabase start supabase status -o env
- Copy
API_URLandANON_KEYinto.env.localasNEXT_PUBLIC_SUPABASE_URLandNEXT_PUBLIC_SUPABASE_ANON_KEY. - Magic-link sign-in emails are captured locally in Mailpit at
http://127.0.0.1:54324.
Hosted Supabase project:
- Create a project. In the SQL editor, run every file in
supabase/migrations/in order. - Authentication > URL configuration: set the site URL and add
<origin>/auth/callbackto the redirect URLs. - Copy the project URL and the
anonkey into.env.local.
Auth email templates (French and English) are in docs/AUTH-EMAILS.md.
See .env.example. NEXT_PUBLIC_* values are inlined at build time, so set them before npm run build.
npm run lint
npm run typecheck
npm test
npm run buildapp/ routes (App Router) and API handlers
components/ interface
lib/ prompts, SEO scoring, publishing, quotas
messages/ French and English catalogs (next-intl)
supabase/ schema and row-level security
Article prompts live in lib/prompts.ts. French articles use the Kandel–Moles readability score. English articles use Flesch reading ease. Both are in lib/seo.ts.
Colours, spacing and type scales are CSS variables in app/styles/base/foundations.css. They are the values the interface already used. Fonts are open-license and self-hosted via Fontsource:
| Role | Face | Licence |
|---|---|---|
| Interface | Plus Jakarta Sans | SIL Open Font License |
| Headings | Syne | SIL Open Font License |
| Code | Space Mono | SIL Open Font License |
| Article text | Newsreader | SIL Open Font License |
See NOTICE.
Any Node.js 22 host. Steps, environment and long-request timeouts are in docs/DEPLOYMENT.md.
CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md.
A French copy of this page is README.fr.md.
MIT. Copyright (c) 2026 THATMUCH / Thomas Millet.










