Synaplan
開源 AI 平台,供企業使用:自行託管的 AI 代理、符合 GDPR 的聊天機器人小工具、RAG 知識庫、WhatsApp 與 Outlook AI、MCP、多模型路由。Docker、Kubernetes 或託管於 Germ
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Final project — Internet Technologies (Fullstack) course — Caroline Genzel
Live site: basis-app-sigma.vercel.app
Basis is a leverage platform for small business owners and freelancers of any kind - bakers, nail artists, photographers, trainers, and so on. A small business owner is usually very good at their craft, but weak on marketing, pricing, and professional paperwork. The app takes minimal input from them (a short questionnaire, filled out once) and turns it into professional deliverables: marketing content, a data-driven price recommendation, price quotes as PDF files, and a public business page that can be sent to clients.
/p/[slug]) with a photo, free text, and
downloadable documents - accessible without logging inTESTING.md)TESTING.md)npm install
Create a new project at supabase.com.
In the Supabase dashboard, under SQL Editor, run the following files, in this exact order (each one depends on the ones before it):
supabase/schema.sql
supabase/fix_grants.sql
supabase/add_quote_title.sql
supabase/add_fit_assessment.sql
supabase/add_profile_media.sql
supabase/fix_profile_view.sql
supabase/update_pricing_real_data.sql
supabase/add_public_branding_text.sql
supabase/add_indexes.sql
supabase/fix_public_access.sql
supabase/any_business_ai.sql
Under Settings → API, copy the Project URL, the anon public key, and the service_role key (secret - never expose it).
cp .env.local.example .env.local
Fill in the three values from step 2, plus an Anthropic API key (from platform.claude.com) for the AI market search and branding ideas:
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
ANTHROPIC_API_KEY=
.env.local is already in .gitignore - never commit real values in it.
npm run dev
Open http://localhost:3000. To try the full flow: sign up, then go through onboarding → fit assessment → dashboard → pricing advisor / branding / quotes / public page.
npm test # single run
npm run test:watch # watch mode
One-time setup, both steps:
npx playwright install chromium
Then run supabase/grant_service_role_for_tests.sql once in the Supabase
SQL Editor - the test helpers seed data directly through the service_role
admin client, which has no table access until it's explicitly granted one.
Not needed to run the app itself, only the e2e tests.
npm run test:e2e
For full details on what's tested, why, and what's intentionally out of
scope (for both the unit and end-to-end suites), see TESTING.md.
npm run lint
Push the code to GitHub, then import it as a New Project on Vercel.
Add the same four environment variables from step 3 under Settings → Environment Variables in the Vercel project.
Deploy - Vercel builds and redeploys automatically on every push.
Final, critical step: in Supabase, under Authentication → URL Configuration, set:
https://the-app.vercel.app)/** at the endWithout this step, sign-up/login on the live site won't work - Supabase Auth will reject the redirect because it doesn't recognize the domain.
app/
(public)/ Pages that don't require login: landing, login,
sign-up, and the public business page /p/[slug]
(private)/ Protected pages: onboarding, fit-assessment, dashboard,
branding, pricing-advisor, quotes, public-profile
api/quotes/[id]/pdf/ The only API Route - generates and returns a PDF
file
components/
forms/ All form components (Client Components)
ui/ Small, reusable UI components
layout/ Navbar
lib/
actions/ Server Actions - every write action goes through them
validations/ Zod schemas - the same schemas used client- and
server-side
templates/ Branding questions, tones and idea categories
ai/ Claude calls - market price search and branding ideas
pricing/ Saves the market search results as pricing options
fit-assessment/ Questionnaire questions and scoring logic
pdf/ The PDF document and the Hebrew bidi-text fix
supabase/ Client creation (browser, server, admin)
supabase/
schema.sql and migration files - run manually in the Supabase SQL
Editor
proxy.ts Runs before every request - refreshes the auth cookie
(the Next.js 16 equivalent of middleware.ts)