尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Sawt is a practice notebook. After class you paste new words with meanings. Before the next class you talk with those words, or write a sentence with one of them. The app UI stays English. In Settings you choose the language you’re learning — Levantine Arabic (Arabizi, Arabic speech) or Japanese (romaji, Japanese speech).
Locally it runs on this computer with SQLite. On Vercel each person signs in, and their words live in Postgres. Sentence checks, Talk replies, and speech go to OpenRouter.
python3 -m lexicon.serve
Open http://127.0.0.1:8765. No Clerk sign-in is required for that local server.
baza5 = fancy or practice - tadreeb. Japanese: hello - konnichiwa or mizu = water (romaji). Preview shows the split before you save.Arabizi digits (Arabic): 2 ء/أ, 3 ع, 3' غ, 5 خ, 6 ط, 7 ح, 8 ق, 9 ص, 9' ض. Long ee and oo stay as ee and oo. كيفك is keefak. Japanese mode uses Hepburn romaji on the page and Japanese script for speech.
The next Preply or Arabic lesson shows in the side column after you paste the private Google Calendar iCal link. That link stays in the database. It is not printed on the page and it is not included in errors.
The app stays in Python: static HTML in public/, API routes in api/, shared logic in lexicon/. There are 12 function files under api/ (Vercel Hobby’s cap). /api/next-lesson is rewritten to api/calendar.py; lesson topics live in api/topics.py.
6543) for Vercel. Set that as DATABASE_URL.CLERK_PUBLISHABLE_KEY and CLERK_JWKS_URL (the JWKS URL from the Clerk dashboard).OPENROUTER_API_KEY (or GEMINI_API_KEY).Optional local packages for Postgres and JWT checks:
python3 -m pip install -r requirements.txt
To point local serve at the same Supabase database, put DATABASE_URL in .env. Without it, local serve keeps using lexicon.db.
127.0.0.1 only works on the computer running the notebook. On the same Wi‑Fi:
python3 -m lexicon.serve --host 0.0.0.0
Then open http:// followed by this computer's local IP and :8765. Anyone on that address can use your words and your API key, so keep it off public networks. The hosted Vercel URL is the better way to share accounts. Speech uses Gemini Flash Lite TTS, about a cent a minute.
Copy .env.example to .env for local values. On Vercel, set the same names in project env.
| Call | Model |
|---|---|
| Sentence check and Talk | google/gemini-3.5-flash-lite |
| Speech (TTS) | google/gemini-3.8-flash-lite-tts |
| Name | What it holds |
|---|---|
OPENROUTER_API_KEY | OpenRouter key (header only) |
DATABASE_URL | Supabase Postgres URI (hosted; optional locally) |
CLERK_PUBLISHABLE_KEY | Browser sign-in |
CLERK_JWKS_URL | Server JWT check |
lexicon.db | Local SQLite when DATABASE_URL is unset |
data/vocabulary.csv is the older sheet export. It has Arabizi and English only, no account details.
Python 3.9 is enough for the local server with no extra packages. Hosted deploy uses requirements.txt.
Why each model, the voice loop, and the Vercel shape: docs/decisions.
python3 -m unittest discover -s tests
The notebook replaced the day-to-day way of practicing, but the earlier commands still load the sheet and run a drill in the terminal:
python3 -m lexicon.load data/vocabulary.csv lexicon.db
python3 -m lexicon.drill data/vocabulary.csv lexicon.db