TutorLoom
The learning platform for companies, colleges and training institutes. Free and open source, with an Enterprise edition.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Cogitster — a philosophy timeline game
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A dependency-free, browser-playable Cogitster MVP. Open index.html in a
modern browser, or serve this directory with any static file server.
Included:
The prototype remains playable without a backend, but this directory now also contains the first production backend slice:
supabase/migrations/202608160001_cogitster_solo.sql
creates the private card catalogue, player profiles, persistent solo games,
idempotency log, and row-level security policies.supabase/functions/solo-game/index.ts
owns dealing, placement validation, AI placement/reveal, and round advances.
The browser never directly reads cards or decides whether a placement is
correct.scripts/import-cards.mjs upserts the 100-card
starter deck into the catalogue as published cards.The one-time bootstrap on 2026-08-16 ran these commands. They are history
now: hosted migrations go only through
VBTRNK/supabase, and every
db push, secrets set or functions deploy against the shared project
needs the owner's yes for that run (see AGENTS.md).
supabase link --project-ref <shared-project-ref>
supabase db push
SUPABASE_URL=<project-url> SUPABASE_SERVICE_ROLE_KEY=<server-only-key> node scripts/import-cards.mjs
supabase secrets set SUPABASE_ANON_KEY=<anon-key>
supabase functions deploy solo-game
The next code step is connecting the current browser prototype to this function through passwordless Supabase authentication, replacing local-only save checkpoints with the returned persistent game state. Private Realtime multiplayer follows on this same server-authoritative model.
The browser app now uses the deployed solo-game function whenever
config.js contains a Supabase publishable key. In the Supabase Dashboard,
open Project Settings → API Keys, create/copy a publishable key, then set:
window.COGITSTER_CONFIG = {
supabaseUrl: 'https://<project-ref>.supabase.co',
supabasePublishableKey: 'sb_publishable_...',
};
The publishable key is safe in browser code; never put a secret or service-role
key in config.js. Run a local static server (for example,
python -m http.server 4321) and visit http://localhost:4321, which must be
listed in Supabase Auth's redirect URLs for magic-link sign-in to work.
After any change under supabase/functions, redeploy it with the command
below. It ships code to the shared hosted project, so it is an external
deployment: run it only with the owner's yes for that deploy.
npx supabase functions deploy solo-game