A sleek, minimalistic, and completely anonymous clipboard application built with React, Vite, and Supabase.
- Anonymous "Rooms": Instant generation of unique 6-character room codes. No signup required.
- Real-Time Text Syncing: Paste code, links, or text and save them instantly to the cloud.
- File Attachments: Upload and share files (up to 50MB combined) securely within your room.
- 1-Click Copy: Easily copy your room code or the text content to your local clipboard.
- Premium UI: Light-themed, glassmorphism-inspired design with a clean sidebar and functional action bar.
- Frontend: React + Vite
- Backend & Storage: Supabase (PostgreSQL + Storage)
- Styling: Custom CSS &
lucide-reacticons
-
Set up your
.env:VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
Run this in your Supabase SQL Editor to set up the snippets table and public policies:
drop table if exists public.snippets;
create table public.snippets (
id uuid default gen_random_uuid() primary key,
code varchar(6) not null unique,
content text not null,
file_url text,
file_name text,
created_at timestamp with time zone default timezone('utc'::text, now()) not null
);
alter table public.snippets enable row level security;
create policy "Allow public read access" on public.snippets for select using (true);
create policy "Allow public insert access" on public.snippets for insert with check (true);
create policy "Allow public update access" on public.snippets for update using (true);For file persistence:
- Go to Storage and create a bucket named
room-files. - Make it Public.
- Set the max file size to 100MB. Private file uploads are encrypted and can be larger than the original files.
- Create policies identical to above to allow anonymous
SELECT,INSERT, andUPDATE.
Made by Aaditya Pratap