Skip to content

About

Open-source AI content studio for SEO: brand profile, keyword opportunities, AI article writing, WordPress/Sanity publishing. Next.js + Supabase. EN/FR.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Tournure

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.

Tournure dashboard overview

What it does

  • 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.

Screenshots

Every screen supports light and dark themes and a live French/English interface switcher.

Dashboard in dark theme
Dashboard (dark theme) — Monthly overview, brand readiness, and latest articles.
Site onboarding flow
Site onboarding — Guided brand voice extraction from a URL.
Brand profile editor
Brand profile — Identity, tone, SEO rules, sources, and author persona.
Three-step article outline generator
Article generator — Keyword setup, editable H2/H3 outline, and expected subtopics.
Article editor with live SEO panel in light theme
Article editor & SEO panel — Live readability, keyword density, and inline image controls.
Article editor with live SEO panel in dark theme
Article editor (dark theme) — Full-contrast editorial view with real-time SEO scoring.
Editorial content calendar and list
Content calendar — Editorial pipeline across ideas, drafts, CMS drafts, and published posts.
Keyword opportunities from competitors and Google suggestions
Keyword opportunities — Competitor gap analysis and Google autocomplete ideas.
Account page with AI model selector
AI model selector — Per-user model selection across configured providers.
Team members and invitation links
Team workspace — Shared sites and copyable invitation links (works with or without SMTP).

Requirements

  • 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=1 in .env.local to 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.

Start

npm install
cp .env.example .env.local   # then fill in the values
npm run dev                  # http://localhost:3000

1. Supabase

Local (recommended to try the app):

  1. Install Docker and the Supabase CLI, then start the local stack (all files in supabase/migrations/ are applied automatically and supabase/config.toml preconfigures the local auth redirect URLs):
    supabase start
    supabase status -o env
  2. Copy API_URL and ANON_KEY into .env.local as NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY.
  3. Magic-link sign-in emails are captured locally in Mailpit at http://127.0.0.1:54324.

Hosted Supabase project:

  1. Create a project. In the SQL editor, run every file in supabase/migrations/ in order.
  2. Authentication > URL configuration: set the site URL and add <origin>/auth/callback to the redirect URLs.
  3. Copy the project URL and the anon key into .env.local.

Auth email templates (French and English) are in docs/AUTH-EMAILS.md.

2. Environment

See .env.example. NEXT_PUBLIC_* values are inlined at build time, so set them before npm run build.

3. Checks

npm run lint
npm run typecheck
npm test
npm run build

Layout

app/            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.

Design tokens and fonts

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.

Deploy

Any Node.js 22 host. Steps, environment and long-request timeouts are in docs/DEPLOYMENT.md.

Contributing

CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md.

A French copy of this page is README.fr.md.

Licence

MIT. Copyright (c) 2026 THATMUCH / Thomas Millet.

About

Open-source AI content studio for SEO: brand profile, keyword opportunities, AI article writing, WordPress/Sanity publishing. Next.js + Supabase. EN/FR.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages