OpenRung
A free, privacy-first relay network that helps you reach the open internet. Open source and nonprofit-run.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Public FloBama Music Hall site plus the staff operations platform. / serves the GHL AI Studio redesign (events, menu, catering, and more) with staff login at the bottom of the home page. Staff tools remain under /dashboard and other authenticated routes. It does not modify flobamadowntown.com, Pick'em, or other production systems.
Product overview: see docs/flobama-os-v1.pdf for V1 features, APIs, architecture, and database diagrams (regenerate with python3 scripts/generate-flobama-os-v1-pdf.py).
@supabase/ssr cookie sessions11111111-1111-4111-8111-111111111111)America/Chicago in the databasepublic/flobama-logo.png) on staff OS, weekly flyers, and vertical kiosk screens. Warm-red #d36b4a is the matching accent..env.example to .env.local and fill:cp .env.example .env.local
NEXT_PUBLIC_SUPABASE_URL — Project Settings → API → Project URLNEXT_PUBLIC_SUPABASE_ANON_KEY — Project Settings → API → anon / publishable keySUPABASE_SERVICE_ROLE_KEY — Project Settings → API → service_role (server only; needed to create staff logins)Apply the schema. SQL editor: paste the files in supabase/migrations/ in filename order.
Needed for this app: 20240908000001_init_flobama_os.sql, 20260908000002_public_listings_and_booth.sql, 20260908000003_staff_admin.sql, 20260908000005_screens.sql, 20260908000006_week_events_slide.sql, 20260908000007_screen_takeover.sql, 20260909000008_ticketing.sql, 20260909000009_master_admin.sql, 20260909000010_layout_object_types.sql, 20260928000011_led_wall.sql, 20260929000012_trivia.sql, and 20260929000013_led_trivia_scene.sql.
Or with the CLI after npx supabase login and npx supabase link --project-ref <ref>:
npx supabase db push
https://flobama-os.vercel.app (keep http://localhost:43123 in Additional Redirect URLs for local)https://flobama-os.vercel.app/auth/callbackhttps://flobama-os.vercel.app/auth/callback?next=/reset-passwordhttps://flobama-os.vercel.app/reset-passwordhttp://localhost:43123Enable email/password. The app has no staff signup screen; keep public registration off if the dashboard offers it.
npm run dev and open http://localhost:43123.Requires Docker Desktop (or compatible) with enough RAM. This cloud workspace cannot keep the full stack running.
npm install
npm run supabase:start
npm run supabase:env
npm run dev
supabase:start applies supabase/migrations. Auth redirects are already set in supabase/config.toml for port 43123. Studio is at http://127.0.0.1:54323. Create the first user there, then run the admin SQL.
| Role | What they can do |
|---|---|
| Admin | Create staff, change roles, rename the venue, edit events/artists, screens, ticketing, Server Station config |
| Manager | Edit events/artists, import listings, screens, ticketing; can open Server Station |
| Server | Server Station kiosk only — events lookup, approved LED scenes, temporary wall graphics |
| Viewer | Read-only calendar, artists, staff directory, ticketing sales. Can activate LED wall scenes |
There is still no public registration. The first admin is created once:
supabase/bootstrap_admin.sql, replace 00000000-0000-0000-0000-000000000000 with that UUID, and run it in the SQL editor.After that, signed-in admins use Settings → Staff to create more logins (email, temporary password, role). People cannot raise their own role. You cannot remove or demote the last admin, or change your own access. [email protected] is the master admin and cannot be removed or demoted by other staff.
Creating a login needs SUPABASE_SERVICE_ROLE_KEY on the server. Role changes and removals use the signed-in admin session and RLS.
supabase/migrations/20261017000050_server_role.sql, then 20261017000051_server_station.sql./server/login, enter the pairing code, then unlock with a staff PIN./server with their normal staff login.CRON_SECRET (already used for LED automation) also signs Server Station staff cookies and phone upload tokens when set; otherwise the service role key is used as a fallback. No service-role credentials are stored in the browser.Architecture notes: docs/server-station-architecture.md.
npm run dev # http://localhost:43123
npm run supabase:start # local Docker stack
npm run supabase:env # write .env.local from that stack
npm run supabase:stop
npm run build
npm run start
npm run lint
npm run typecheck
npm run test
This is the beginning of the README. Read the rest at the original. Read the full README ↗