WallpaperMachine
당신이 사랑하는 배경화면, 맥에서 새롭게 만나보세요
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Gather friends for potlucks and parties, then let everyone share recipes and photos.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A small community potluck site: gatherings and their themes, the dishes guests bring, and a shared recipe box. Styled as a vintage neighborhood cookbook / hand-printed potluck poster.
Stack: React 19 + Next.js (App Router) · Tailwind v4 + shadcn (Base UI) · Phosphor Icons · Supabase (Postgres, Auth, Storage)
pnpm install
cp .env.example .env.local # publishable key only
pnpm dev
NEXT_PUBLIC_SUPABASE_URL / NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY are required. The VITE_SUPABASE_* names from the brief are accepted too (see next.config.mjs).
Browser ──fetch──▶ Next.js /api/* route handlers ──▶ Supabase (PostgREST + Storage)
│ ▲ forwards the guest's bearer token, so RLS sees auth.uid()
└─ supabase-js: guest session only (signInAnonymously on startup)
| Route | |
|---|---|
GET /api/events, GET /api/events/[slug] | events → dishes → recipes |
GET /api/recipes?search&category&tag&contributor&event&limit | search uses search_vector |
GET /api/recipes/facets, GET /api/recipes/[slug] | |
POST /api/recipes, PATCH/DELETE /api/recipes/[id] | auth required, owner via RLS |
GET/POST /api/dishes, PATCH/DELETE /api/dishes/[id] | |
POST /api/events, PATCH/DELETE /api/events/[id] | hosts only (see below), own events via RLS |
GET/POST /api/host/me | host status (none/pending/approved); POST requests access |
POST /api/uploads | image → forklore-media/<user-id>/<file>; returns the object path |
owner_user_id and slugs are never sent; the database fills them. Only the publishable key is used.
To protect guest sign-in from bots, create a Cloudflare Turnstile widget, put its secret key in Supabase (Auth → Attack Protection → Enable Captcha, provider Turnstile) and set NEXT_PUBLIC_TURNSTILE_SITE_KEY to the site key. It stays invisible unless Cloudflare wants a challenge. If Supabase captcha is on but the site key is missing, anonymous sign-in will fail.
supabase/seed.sql adds a few example events (admin-run, bypasses RLS).supabase/hosts.sql once. Anyone can go to /host, sign in with an emailed link (Auth → Email must be enabled; add your site URL + /host to Auth → URL Configuration redirect URLs) and request host access. Requests land as pending; approve with update public.hosts set status = 'approved' where email = '...'; (list pending ones with select * from public.hosts where status = 'pending'). Approved hosts can create, edit and delete their own gatherings, including a cover photo. Guests stay anonymous and can't touch events.Layout: src/app (routes + API), src/server (Supabase helpers), src/views (page UIs), src/components/cookbook (poster, cards, ornaments), src/components/ui (shadcn).