WIP Supabase backend database for openFrameworks ofParameterGroup presets
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:
- Create Supabase project
- Create
presetstable - Create test user
- Get credentials
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
- Integrate with your own external presets manager
- Add custom preset naming
- Add user login authentication UI, auth0, Google...etc
- Implement preset categories/tags to handle multiple kits
Get this addon
Latest release
0.2
published 8mo ago
Full Changelog: https://github.com/moebiussurfing/ofxSurfingSupabase/compare/0.1...0.2
ofxAddons