尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证FLAME PH - Federation of Leaders Advancing MSME Ecosystem in the Philippines (WEB APP v2
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗/ridesafe)The RideSafe route is served at https://www.flameph.org/ridesafe after deployment. It currently provides:
tel:911 action, coordinates, and explicit location sharing.The map is embedded through Google Maps. Its signed-in account depends on the Google session and cookie settings in the visitor's browser; FLAME PH authentication does not provide Google credentials to the embedded map. The FLAME PH response policy permits geolocation on this same origin.
Verified service listings, in-app directions/traffic, dispatch, saved vehicle/trip data and cross-site SSO still require provider agreements, trusted data, identity setup and backend work. Do not represent these as live.
The website and member platform of FLAME PH — Founders and Leaders Advancing MSME Ecosystem in the Philippines (SEC Reg. No. 2024050150009-15).
Next.js (App Router, TypeScript) · Tailwind CSS · Supabase (Postgres, Auth, Storage, Row Level Security) · Anthropic Claude API (Ka-FLAME AI) · Vercel.
Every statistic on the site is counted live from the database. On launch day the numbers start at zero.
supabase/setup.sql and click Run. This creates every table, the Row Level Security policies, the live-stats functions, the storage buckets, and seeds only the verified facts (founders, tiers, settings, menu).business_verification.require_mobile_for_submission to true while sms_provider_configured is false.NEXT_PUBLIC_TURNSTILE_SITE_KEY and its secret as the server-only TURNSTILE_SECRET_KEY. In Supabase, open Authentication → Bot and Abuse Protection, enable CAPTCHA protection with Cloudflare Turnstile, and enter the same secret. Supabase must enforce the token passed to signup/OTP calls; the application validates tokens for public forms and business submission through Siteverify. Use Cloudflare's documented test keys in local/staging environments rather than production keys.0010_rate_limiting.sql. It stores only salted hashes in server-only atomic buckets. Set a strong IP_HASH_SALT; protected production routes fail closed if it is missing. Defaults are centralized in src/lib/rate-limit.ts and can be tuned with the RATE_LIMIT_* environment variables documented in .env.example. Keep Supabase Auth's own endpoint limits enabled as an independent layer against direct API calls.0011_business_completion.sql. Business review submission then requires the essential listing and verified-contact fields shown in the editor checklist. Registration documents remain optional so informal, home-based and newly established MSMEs can participate..env.example for Production and Preview. The required ones are NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY, ANTHROPIC_API_KEY and NEXT_PUBLIC_SITE_URL. Transactional email uses RESEND_API_KEY, EMAIL_FROM, NOTIFY_EMAIL, and the dedicated REAL_ESTATE_ADMIN_EMAIL recipient.main deploys to production.flameph.org under Settings → Domains.Sign up on the site with your email, then run this once in the Supabase SQL Editor:
insert into public.roles (user_id, role)
select id, 'super_admin' from auth.users where email = '[email protected]';
Then open /admin. Super admins can give other members the admin, editor or chapter_leader role from Admin → Members.
In Admin → Settings: official social links, launch date, Ka-FLAME AI limits and monthly spend cap, verified donation details, and approval of the legal documents. In Admin → Founders: photos and profile links. See BUILD_REPORT.md for the open questions.
cp .env.example .env.local # fill in the values
npm install
npm run dev # http://localhost:3000
The site runs without any keys: pages render with empty states and stats show "—". Forms, sign-up and Ka-FLAME AI need the Supabase and Anthropic keys.
Other scripts: npm run build, npm run lint, npm run typecheck, npm run db:seed-sql (regenerates supabase/seed.sql and supabase/setup.sql from src/lib/site.ts and the menu).
| Path | What |
|---|---|
src/lib/site.ts | Verified organization facts, taglines, founders. Edit carefully: these are the only facts seeded. |
src/content/nav.json | Header and footer menu (also seeded to settings.menu). |
src/lib/forms.ts | Every public form. Submissions go to the submissions table and email [email protected]. |
src/content/involved.ts | Copy for the Get Involved pages. |
src/messages/{en,fil}.json | Interface text in English and Filipino. |
src/lib/ai/ | Ka-FLAME AI system prompt, limits, retrieval and logging. |
src/lib/admin/config.ts | Admin console tables and fields. Add a field here to edit it in /admin. |
supabase/migrations/ | Database schema. |
public.public_stats().0012_automatic_content_validation.sql. It adds conservative three-tier server moderation, correction history, admin review controls, and database-level guarantees that high-risk or review-pending listings cannot become public. No business record is deleted; owners can correct and resubmit the same listing.https://flameph.org; add redirect URLs https://flameph.org/auth/callback, https://*.vercel.app/auth/callback and http://localhost:3000/auth/callback.{{ .Token }} so members can type the 6-digit code as well as tap the link.