尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Share laughs from around the world. Built with Next.js 14, Supabase, and Tailwind CSS. Deploys to Vercel. Domain: laughlibrary.org.
• Record or upload audio/video laughs
• Trim to best 30 seconds
• Attach a GIF
• Public/private privacy choice
• Optional location pinning (country-level only)
• World map with laugh pins
• Gallery with audio player查看完整 README ↗Share laughs from around the world. Built with Next.js 14, Supabase, and Tailwind CSS. Deploys to Vercel. Domain: laughlibrary.org.
git clone <your-repo>
cd laugh-library-v2
npm install
supabase/migrations/001_initial.sql and run itlaughs with Public access:
laughs → toggle Public ONcp .env.example .env.local
Fill in your Supabase URL and anon key from the Supabase dashboard → Settings → API.
NEXT_PUBLIC_SUPABASE_URL=https://xxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
npm run dev
Open http://localhost:3000.
laughlibrary.org and www.laughlibrary.orgOnly the site owner can remove public laughs. Visitors can delete their own laughs only while they're private.
supabase/migrations/002_ownership_and_admin.sql in the Supabase SQL Editor. It lists [email protected] as the owner.[email protected].https://laughlibrary.org and add these Redirect URLs:
http://localhost:3000/adminhttps://laughlibrary.org/adminhttps://www.laughlibrary.org/admin/admin, enter the owner email, and open the emailed link. A green Owner badge appears in the header, and every laugh's ⋮ menu gets Remove from site.Removed laughs get moderation_status = 'removed'; set it back to active in the Table Editor to restore one.
The schema and RLS policies are designed to slot in Supabase Auth with minimal changes:
laughs table has no user_id column yet — add one as uuid references auth.usersauth.uid()@supabase/ssr for server-side auth in Next.js