Repository navigation
Open-source polish: remove Stripe, fix newcomer setup & CodeQL, add EN/FR showcase screenshots - #52
Merged
Merged
Conversation
…and demo mode Co-authored-by: Thomas Millet <tmillet@thatmuch.fr>
…d by default Co-authored-by: Thomas Millet <tmillet@thatmuch.fr>
Co-authored-by: Thomas Millet <tmillet@thatmuch.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
.github/workflows/codeql.ymlto skip SARIF upload on private repositories (upload: ${{ github.event.repository.private && 'never' || 'always' }}), avoiding CodeQL workflow failure without GitHub Advanced Security while preserving SARIF uploads on public repos.supabase/config.tomlpreconfiguring local Supabase auth (site_url,localhost&127.0.0.1redirect URLs,1semail rate limit) and ignoredsupabase/.temp/supabase/.branches.app/connexion/login-form.tsxso localNEXT_PUBLIC_SITE_URLvalues do not override the active browser origin during PKCE magic-link login (localhostvs127.0.0.1).app-layout.css,auth-layout.css, andsidebar.cssso the.chrome-toolslanguage/theme switcher never overlaps top-right page actions.encryptionConfigured()inlib/crypto.ts(HTTP 500 on/api/connexionswhenENCRYPTION_KEYis missing) andGOOGLE_AI_API_KEYcheck in/api/articles/[id]/images(HTTP 502 before prompt generation).AI_DEMO_MODE=1(lib/ai-demo.ts,lib/ai.ts) so newcomers can test the full onboarding, strategy, planning, streaming article draft, rewrite, and social post flow without API keys.stripepackage and all Stripe/billing code, routes (/api/stripe/*,/api/abonnement/*),/abonnementUI pages, nav links,docs/STRIPE.md, and Stripe tests.supabase/migrations/0022_open_source_illimite.sqldropping billing/plan columns, dropping the hardcoded 3-site DB trigger, and updatingquota_left(p_kind, p_limit)/consume_quota(p_kind, p_limit)to track monthly counters while defaulting to unlimited (NULL).MONTHLY_ARTICLES_LIMIT,MONTHLY_IMAGES_LIMIT,MONTHLY_ANALYSES_LIMIT,MAX_SITES).1440x900.webpscreenshots underdocs/screenshots/en/anddocs/screenshots/fr/(using strictly fictional demo data onexample.com) covering dashboard (light/dark), onboarding, brand profile, generator outline, article editor + SEO panel (light/dark), content calendar, keyword opportunities, account AI model selector, and team invitations.README.md(EN) andREADME.fr.md(FR), and referenced relevant screens indocs/INTEGRATIONS.mdanddocs/ROADMAP.md.Related issues
None.
How it was tested
bash scripts/check-public.sh,npm run lint(0 errors, 3 pre-existing warnings),npm run typecheck,npm test(24 files / 199 tests passed), andnpm run build(withNEXT_PUBLIC_*cleared before build).supabase db resetcleanly applied all 22 migrations (0001through0022) from scratch.next start+ local Supabase + Mailpit + local OpenAI-compatible stub):127.0.0.1andlocalhost, multi-site creation (>3 sites), unlimited generation + unlocked inline images & social posts, team invites/auto-claim, 404 on removed billing/Stripe routes, and 0 console/page errors.MONTHLY_ARTICLES_LIMIT=1,MAX_SITES=1) and zero-keyAI_DEMO_MODE=1mode.GOOGLE_AI_API_KEY), live WordPress/Sanity publishing, Google Search Console OAuth, production SMTP delivery, and GitHub public-repository CodeQL SARIF upload.Checklist
npm test,npm run lint,npm run typecheck,npm run build)