GLOBAL COUNTER

Click — add your vote

Every click goes into a shared database. Let's see how many of us there are?

Total clicks
Connecting to the database…
01 Press the big button
02 The count will update for everyone
Database setup required

Create a button_clicks table in Supabase and allow anonymous inserts:

create table button_clicks (id bigint generated by default as identity primary key, created_at timestamptz default now());
alter table button_clicks enable row level security;
create policy "public insert" on button_clicks for insert to anon with check (true);
create policy "public read" on button_clicks for select to anon using (true);