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.