← Back

ofxSurfingSupabase

github.com/moebiussurfing/ofxSurfingSupabase · @moebiussurfing
OF 0.12 Releases Web/Networking Utilities

WIP Supabase backend database for openFrameworks ofParameterGroup presets

0 0 Last commit 8mo ago Created 10mo ago

README

ofxSurfingSupabase



_WIP: Blueprint currenltly under development. Use at your own risk!_





Remote presets (ofParametersGroup) management with Supabase backend database for openFrameworks.

Example



Basic example demonstrating pure remote mode with Supabase integration. Scene parameters are saved and loaded directly to/from the cloud database without using any local JSON files.

---

Features Demonstrated



✅ Email/Password authentication ✅ Direct scene parameter save/load ✅ Browse remote presets ✅ Threading loader/saver to avoid blocking UI ✅ No local JSON files (cloud-first) ✅ ofxGui integration

---

Setup



1. Configure Supabase



Follow docs/SUPABASE-SETUP.md to:

2. Configure Credentials



Edit bin/data/credentials.txt:
AUTH_MODE=EMAIL_PASSWORD
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=eyJhbGc...your_anon_key
EMAIL=test@ofxsurfing.com
PASSWORD=testpass123


---

Workflow



1. Adjust scene parameters (colors, amount, scale, etc.) 2. Browse presets with arrow keys or ◀ ▶ buttons 3. Press S / N or click "Save To Remote" "Save to New" → Uploads to cloud 4. Press L or click "Load & Apply" → Restores from cloud 5. NO local JSON files are created (pure remote) 6. Use Auto Load to auto-load on preset index change 7. Or use UI widgets/ofParameters for your own UI

---

Code Structure



// Setup
db.setup(scene.params); // Link to scene`s ofParameterGroup parameters


---

TODO



Get this addon

HTTPS
SSH

Latest release

0.2 published 8mo ago
Full Changelog: https://github.com/moebiussurfing/ofxSurfingSupabase/compare/0.1...0.2