A Streamlit web app for exploring and testing exposed Supabase databases through the PostgREST API.
https://supahack.streamlit.app
- Connect to any Supabase project using Project ID and API key
- Browse all tables and views with row counts
- Query data with filtering, sorting, and pagination
- Write operations: INSERT, UPDATE, DELETE rows
- Auto-discover table columns from OpenAPI schema or actual data
- Export results to CSV
- Install dependencies:
pip install -r requirements.txt- Run the app:
streamlit run supahack.py- Open your browser to
http://localhost:8501
- Connect: Enter your Supabase Project ID and API key in the sidebar
- Explore: Select a table to view its data and structure
- Query: Use filters, sorting, and pagination to find specific data
- Write: Switch to the "Write Data" tab for INSERT/UPDATE/DELETE operations
- Project ID: Found in your Supabase project URL (
https://PROJECT_ID.supabase.co) - API Key: Use
anonkey for public access orservice_rolefor full access - Schema: Default is
public, change if using custom schemas
Never expose your service_role key in client-side applications. Use anon key with Row Level Security (RLS) for browser usage.