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)