尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Query any CSV or JSON file with real SQL, or plain English, entirely in your browser. No database to install, no server to host.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Query any CSV or JSON file with real SQL, or in plain English, entirely in your browser. There's no database to install and no server to host. When you upload a file, it becomes a SQLite database running client-side in your browser tab.檢視完整 README ↗Query any CSV or JSON file with real SQL, or in plain English, entirely in your browser. There's no database to install and no server to host. When you upload a file, it becomes a SQLite database running client-side in your browser tab.
Live app: synth-sql.com
JOINs, GROUP BY, window functions, and subqueries all work against your file.json_extract()..xlsx: the results as an Excel Table, and a native Excel chart linked to those cells, so editing the data updates the chart. The workbook is generated by Python (XlsxWriter) running in the browser through Pyodide, so results never leave your machine.| Route | File | What it is |
|---|---|---|
/ | synth.html | The app: home view (upload and saved workspaces), then the query workspace |
/learn | synth.html | Learn SQL: three interactive courses (/learn?lesson=b01 opens a lesson). See LEARN.md |
/welcome | welcome.html | About page: Lite vs. Normal Mode comparison, how it works, and background on the project |
/about | none | Permanent redirect to /welcome |
/guides | guides.html | Index of the SQL how-to guides (/query-csv-with-sql, /sql-cheat-sheet, and others) |
/terms, /privacy | terms.html, privacy.html | Terms of Service and Privacy Policy |
/?auth=signin or /?auth=signup opens the account modal on load. The /welcome page's Sign in link uses it.
Routes and redirects are defined in vercel.json. The static pages share marketing.css.
The app is plain HTML, CSS, and JavaScript with no bundler or framework. synth.html holds the markup and styles and loads these scripts in order, sharing globals declared in state.js:
| File | Handles |
|---|---|
state.js | Shared global state (the database, loaded tables, current user) |
csv-parser.js, json-parser.js | Parsing uploaded files into rows |
auth.js | Supabase auth and the account modal |
checkout.js | Account tiers and feature access |
grid.js | The virtualized results grid |
charts.js | Charts, the full-screen chart view, SVG download, and Excel export |
chat.js | The AI assistant panel |
app.js | Home view, uploads, workspaces, and everything else |
learn-datasets.js, learn-curriculum.js, learn-grader.js, learn-progress.js, learn.js | The Learn page: lesson tables, the three courses, answer checking, progress, and the page itself (styles in learn.css). See LEARN.md |
Other pieces:
excel_chart.py under Pyodide, which loads only the first time someone exports. The XlsxWriter wheel is vendored in vendor/ so the export doesn't depend on PyPI at runtime.api/chat.js) that proxies to Groq, so the API key never reaches the browser.main on GitHub deploys to Vercel automatically.You'll need Node.js and the Vercel CLI (npm i -g vercel), since the routes under api/ are Vercel serverless functions.
git clone https://github.com/spelillo/synth.git
cd synth
npm install
vercel dev
vercel dev serves synth.html and the api/ functions together, matching production. To work on the front end alone, any static server works (for example python3 -m http.server 8123, then open /synth.html, or /synth.html?view=learn for the Learn page), but the AI assistant, checkout, and the vercel.json routes won't be available.
npm test # Learn: answer grader, all 60 lessons against their data, datasets, progress
npm run test:e2e # Learn: browser test of the whole page (needs Playwright + Chromium)
npm test also runs on every pull request (.github/workflows/test.yml).
The API routes read these from your environment (create a .env.local, which is gitignored):
| Variable | Used for |
|---|---|
SUPABASE_URL | Server-side Supabase client (admin operations) |
SUPABASE_SERVICE_ROLE_KEY | Bypasses RLS for admin routes; never expose this to the client |
GROQ_API_KEY | Powers the AI assistant (api/chat.js) |
CRON_SECRET | Authenticates scheduled Vercel Cron jobs |
The client-side Supabase URL and anon key are hardcoded at the top of auth.js, since there's no bundler to inject them at build time. The anon key is meant to be public. Point both at your own Supabase project for local development.
SQLite (via WebAssembly) · Pyodide + XlsxWriter · Supabase · Groq · Vercel Serverless Functions · vanilla JS/HTML/CSS (no framework, no bundler)
There's no LICENSE file, so standard copyright applies: the code isn't licensed for reuse, modification, or redistribution.