Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Students of Gautam Buddha Mahila College, Gaya enter their university roll number (or registration number) and download their internship report (Karuna Swayam Sevi Sansthan, 120 hours). Reports are stored as PDFs in MongoDB.
cp .env.example .env.local # then fill in MONGODB_URI
npm install
npm run dev
| Variable | Value |
|---|---|
MONGODB_URI | Atlas connection string |
MONGODB_DB | gbm-internship-reports (collection reports) |
On Vercel, add both variables under Project → Settings → Environment Variables, and allow Vercel's
IPs in Atlas → Network Access (0.0.0.0/0, since Vercel has no fixed IPs).
| Route | Returns |
|---|---|
GET /api/status | Database health and report counts per domain |
GET /api/reports | Every report's details (no PDFs) for the All reports page |
GET /api/reports/:roll | One student's details by university roll or registration number |
GET /api/reports/:roll/pdf | That student's PDF (?download=1 to save instead of view) |
GET /api/download/:id | A PDF by student id, as linked from the list (?view=1 to open inline) |
POST /api/corrections | A student's correction (type: "edit") or request for a missing report (type: "missing") |
Reads are rate limited per IP (120 requests / 10 min per server instance), corrections more
tightly (12 / 10 min). Responses carry a Server-Timing header; PDFs also send
X-Content-SHA256, which the page checks after download.
Corrections are stored in the corrections collection with status pending; nothing changes in a
report until the office applies it with generator/corrections.mjs.
Reports are built and uploaded from ../generator:
cd ../generator
node build.mjs --only <id> # rebuild a PDF
node --env-file=../gbm-internship-reports/.env.local upload.mjs # upload all (or --only <id>)
node --env-file=../gbm-internship-reports/.env.local corrections.mjs # review corrections from students
Each document holds the student's details, the PDF as binary data, its size, page count and SHA-256.
Unique indexes: studentId_1, universityRoll_1, registrationNo_1.
Designed & developed by Mosanna Jalal · MJX Web Studio