Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Real-time AI voice interviewer with live transcripts, call state, and feedback built with Next.js and Vapi.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Practice job interviews out loud with an AI interviewer, then get scored, written feedback in seconds.
The app is a single Next.js App Router project with no separate backend. The browser streams audio to Vapi, which handles speech-to-text, the interviewer LLM and text-to-speech. When the "generate" voice workflow has collected your preferences, Vapi calls a webhook in this app that asks Gemini for questions and stores them in Firestore. When an interview ends, a server action sends the transcript to Gemini with a typed zod schema and saves the structured feedback.
flowchart LR
B[Browser<br/>Next.js + Vapi Web SDK] <-- voice over WebRTC --> V[(Vapi<br/>STT · LLM · TTS)]
V -- workflow webhook --> W["/api/vapi/generate"]
B -- transcript --> SA[Server action<br/>createFeedback]
W --> C[lib/interview<br/>prompts · parsing · schemas]
SA --> C
C --> G[(Gemini 2.0 Flash)]
W --> F[(Firestore)]
SA --> F
Sequence diagrams for both voice flows, the auth model and the data model are in docs/ARCHITECTURE.md.
| Layer | Tools |
|---|---|
| Frontend | Next.js 15 (App Router), React 19, TypeScript, Tailwind CSS 4, shadcn/ui |
| Voice | Vapi (Deepgram Nova-2 STT, GPT-4 interviewer, ElevenLabs TTS) |
| LLM | Google Gemini 2.0 Flash via the Vercel AI SDK (generateText, generateObject) |
| Auth and data | Firebase Auth with httpOnly session cookies, Firestore |
| Validation | zod for request bodies and structured LLM output |
| Quality | Vitest, ESLint, GitHub Actions |
Prerequisites: Node.js 20.19+ or 22.12+, a Firebase project (Auth with email/password, Firestore), a Vapi account and a Gemini API key.
git clone https://github.com/obro79/mock_interview_ai.git
cd mock_interview_ai
npm install
cp .env.example .env.local # then fill in the values
npm run dev # http://localhost:3000
| Variable | Where it comes from |
|---|---|
NEXT_PUBLIC_FIREBASE_* | Firebase console → Project settings → Your apps |
FIREBASE_PROJECT_ID, FIREBASE_CLIENT_EMAIL, FIREBASE_PRIVATE_KEY | Firebase console → Service accounts → Generate new private key |
GOOGLE_GENERATIVE_AI_API_KEY | Google AI Studio |
NEXT_PUBLIC_VAPI_WEB_TOKEN | Vapi dashboard → API keys (public key) |
NEXT_PUBLIC_VAPI_WORKFLOW_ID | Vapi dashboard → your "generate interview" workflow |
The Vapi workflow's API request node should POST to https://<your-host>/api/vapi/generate with role, level, techstack, type, amount and userid.
npm test # Vitest unit tests
npm run typecheck # tsc --noEmit
npm run lint # ESLint (next/core-web-vitals)
The suite covers the core logic in lib/interview and lib/tech: prompt construction, parsing messy LLM output into questions, request validation and the feedback schema. CI runs all three checks plus a production build on every push and pull request.
Built by Owen. The UI and base app structure started from the JavaScript Mastery AI interview platform walkthrough. Extended design notes are on Notion.
Licensed under MIT.