TreeMap
A free, open-source disk-space visualizer. Squarified treemap, duplicate hunting, disk-full forecasting, and cleanup that only ever moves files to the Trash.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證正在載入完整 README。 以下為已儲存的摘錄。
A ChatGPT-style assistant that answers only from a curated set of PDFs. Only the administrator can add or remove documents. Every answer cites the document and page it came from, and when the library doesn't cover a question the assistant says so.
Everything runs on free tiers or open-source models:檢視完整 README ↗A ChatGPT-style assistant that answers only from a curated set of PDFs. Only the administrator can add or remove documents. Every answer cites the document and page it came from, and when the library doesn't cover a question the assistant says so.
Everything runs on free tiers or open-source models:
| Piece | What |
|---|---|
| App | Next.js 16 (App Router), Tailwind |
| Database, auth, file storage | Supabase (Postgres + pgvector, Storage) |
| Embeddings | bge-m3 (multilingual) on Cloudflare Workers AI's free daily allowance, through the OpenAI-compatible API |
| OCR for scanned PDFs | Tesseract (tesseract.js), run locally, English + Arabic |
| LLM | Groq free tier (open-weight gpt-oss-120b) through the OpenAI-compatible API, so any compatible endpoint can be swapped in |
chunks.match_chunks.RAG_MIN_SIMILARITY are dropped. The LLM sees only the numbered passages and must cite them as [n]. With no passages, it says the library doesn't cover the question.[n] links to the source PDF, opened at the cited page..env.local (copy it from .env.example if it's missing):
SUPABASE_SECRET_KEY: Supabase dashboard → Project Settings → API Keys → secret key.LLM_API_KEY: a free key from https://console.groq.com/keys.EMBEDDING_BASE_URL and EMBEDDING_API_KEY: in the Cloudflare dashboard (free account, no card), open AI → Workers AI → Use REST API. Copy the account ID into the URL and create a token with Workers AI permission.ADMIN_EMAILS: your email. ALLOWED_EMAILS: anyone else you invite, or * to let anyone sign up.npm install
npm run dev
npm run ingest -- ./pdfs --collection general
The database schema is in supabase/migrations/. Apply each file in order in the Supabase SQL editor. 0001_init.sql is already applied to the muslimChat project. After applying 0002_bge_m3_embeddings.sql, run npm run reembed to embed the existing chunks.
The app runs on Vercel's free Hobby plan (no card needed). Embeddings and the LLM are API calls, so the server stays small.
.env.local.https://<project>.vercel.app, and every push to the production branch redeploys it.On Vercel, an upload from the admin page must finish indexing within 300 seconds. That is plenty for text PDFs, but OCR takes about 5–20 s per page, so add large scanned PDFs from your own machine with npm run ingest. It writes to the same Supabase project.
Set the EMBEDDING_* variables to another OpenAI-compatible endpoint. If the vector size changes, add a migration that changes chunks.embedding and match_chunks to the new size (see supabase/migrations/0002_bge_m3_embeddings.sql), then run npm run reembed to re-embed every chunk from its stored text. Re-tune RAG_MIN_SIMILARITY afterwards, because each model has its own similarity scale.
Edit eval/questions.json:
expect.Then run:
npm run eval -- --retrieval-only # fast, no LLM calls
npm run eval # also checks citations and refusals
The output shows the top similarity scores for in-scope and out-of-scope questions. Set RAG_MIN_SIMILARITY to a value between the two groups.
Change only the LLM_* variables. Examples:
LLM_BASE_URL=http://localhost:11434/v1, LLM_API_KEY=ollama, LLM_MODEL=qwen2.5:3bLLM_BASE_URL=https://openrouter.ai/api/v1 with a :free model.OCR_LANGS sets the languages, eng+ara by default. For a book that's only in Arabic, OCR_LANGS=ara avoids Arabic words being misread as Latin letters. OCR text is never perfect, so check answers against the cited page.bge-m3) resets at 00:00 UTC.