A small web app: sign in with email/password and keep your Verilog projects in the cloud. Every time you sign in, your saved projects are waiting for you. Built as a static site (HTML/CSS/JS) with Ace for the editor and Supabase for auth + database.
| File | Purpose |
|---|---|
index.html |
Page markup (auth view + app view) |
styles.css |
Styling |
app.js |
Auth, project CRUD, editor, Run/Compile |
config.js |
Your Supabase URL + anon key (you fill in) |
supabase-schema.sql |
One-time database setup (you run in Supabase) |
- Go to https://supabase.com and sign up (free).
- Click New project, give it a name and a database password, pick a region, and wait ~1 minute for it to provision.
- In your project, open SQL Editor → New query.
- Open
supabase-schema.sqlfrom this folder, copy all of it, paste it in, and click Run. This creates theprojectstable and the Row Level Security rules that keep each user's projects private. - Run
supabase-files-migration.sqlthe same way. This adds thefilestable so each project can hold multiple files. (Safe to re-run.)
- In Supabase, go to Project Settings → API.
- Copy the Project URL and the anon public key.
- Open
config.jsand paste them in:The anon key is meant to be public — your data is protected by the Row Level Security policies, not by hiding the key.window.SUPABASE_CONFIG = { url: "https://abcdefgh.supabase.co", anonKey: "eyJhbGciOi...", };
By default Supabase emails a confirmation link on sign-up. To test instantly without it:
- Authentication → Providers → Email → turn Confirm email off.
Leave it on for a real/public deployment so people verify their address.
Because the app loads libraries from a CDN and talks to Supabase, just open the file or serve it locally:
# simplest
open index.html
# or a local server (http://localhost:8000)
python3 -m http.server 8000Then: Sign up → + New to create a project → edit → Save (or ⌘/Ctrl+S). Sign out and back in — your projects are still there. Open it in another browser or device and sign in to see them sync.
It's a static site, so any static host works — Netlify, Vercel, GitHub Pages,
or Supabase Storage. Drag-and-drop the folder, or connect a Git repo. Remember
to add config.js (or set the values) on whatever host you use.
- Run / Compile does a lightweight static check (balanced
module/endmodule,begin/end, parentheses) — it is not a real Verilog compiler or simulator. Real synthesis/simulation needs a backend like Icarus Verilog (iverilog) or a WASM build of one. ThecheckVerilog()/runCode()functions inapp.jsare the single place to swap that in. config.jscontains only the public anon key, so it's safe to commit. Never put the Supabase service_role key in client-side code.