[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111340":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":19,"topics":20,"createdAt":9,"pushedAt":21,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":14,"starSnapshotCount":14,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},111340,"TEAMBREAK","shashank-785\u002FTEAMBREAK","shashank-785","LearnOS AI-powered student learning platform",null,"TypeScript",62,1,56,0,6,38.5,false,"main",true,[],"2026-11-14 15:46:52","2026-11-13 16:13:45","# LearnOS — AI-Powered Autonomous Student Learning & Career Platform\n\n[![Build Status](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fbuild-passing-brightgreen.svg)]()\n[![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-React%2018%20%7C%20Vite%20%7C%20Node.js%20%7C%20Express-indigo.svg)]()\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)]()\n\nLearnOS is a full-stack student learning and career development platform built with React 18, TypeScript, Vite, Tailwind CSS, Node.js, and Express.\n\n- **Live Frontend (GitHub Pages)**: [https:\u002F\u002Fshashank-785.github.io\u002FTEAMBREAK\u002F](https:\u002F\u002Fshashank-785.github.io\u002FTEAMBREAK\u002F)\n- **Production Backend API (Render)**: [https:\u002F\u002Flearnos-backend-ks49.onrender.com\u002F](https:\u002F\u002Flearnos-backend-ks49.onrender.com\u002F)\n\n---\n\n## 🎨 Design System\n\nEngineered with high-contrast, modern dark ergonomics:\n\n| Element | Color Hex | Visual Description |\n| :--- | :--- | :--- |\n| **Background** | `#0B0D12` | Deep space obsidian black |\n| **Cards** | `#151923` | Charcoal slate surface |\n| **Card Hover** | `#1C2230` | Subtle elevation border |\n| **Borders** | `#232936` | Sleek border lines |\n| **Accent** | `#6366F1` | Electric Indigo (Brand Primary) |\n| **Main Text** | `#F8FAFC` | Crisp white typography |\n| **Secondary Text** | `#94A3B8` | Muted slate gray |\n| **Font** | `Inter` \u002F `JetBrains Mono` | Responsive variable font |\n\n---\n\n## 🏛️ Autonomous Agent Roles\n\nThe application is engineered across 6 modular domains:\n\n| Agent | Isolated Responsibility | Modules Implemented |\n| :--- | :--- | :--- |\n| **ATLAS** | Frontend Architecture & Layout | Dashboard (1), AI Assistant (8), Analytics (9), Profile\u002FSettings (10), Layout & Shared UI |\n| **NOVA** | Academic Core & Documents | College Tutor (2), Notes & Documents (4), Exam Centre (5) |\n| **ORBIT** | Productivity & Study Cycles | Study Planner (3), Timetable Grid, Spaced Repetition, Pomodoro Timer |\n| **FORGE** | Coding & Career Development | Coding Lab (6), Sandbox Execution, Skill Trees (7), AI Mock Interview |\n| **KERNEL** | Backend, Database & AI Core | Express API, multi-user isolated persistence, centralized multi-provider AI engine |\n| **SENTINEL** | Security, Testing & Health | E2E Test Harness (`api.test.ts` & `frontend.test.mjs`), Public\u002FProtected Health Probes |\n\n---\n\n## 📦 Project Modules\n\n1. **Dashboard (ATLAS)**: Real-time GPA tracker, study hours, coding problem statistics, today's schedule, real upcoming tasks, recent activity feed, and subject mastery meters.\n2. **College Tutor & Syllabus (NOVA)**: 6 core Computer Science subjects (`CS301` Data Structures & Algorithms, `CS302` Operating Systems, `CS303` Database Management Systems, `CS304` Computer Networks, `MA301` Discrete Mathematics, `CS305` Artificial Intelligence & Machine Learning), unit-by-unit syllabus trees, subtopics, learning objectives, practice questions, revision resources, custom university topic support, and a multi-turn context-aware AI tutor (Feynman, Socratic, Code Example, and Analogy modes).\n3. **Study Planner (ORBIT)**: Weekly class timetable (add\u002Fdelete blocks), Kanban task sprint board (create\u002Fedit\u002Fmove\u002Fdelete), SuperMemo SM-2 spaced repetition queue, and Pomodoro focus timer with Web Audio ambient synthesizer.\n4. **Notes & Documents (NOVA)**: Markdown note manager with folder organization (`Exam Prep`, `Interview Prep`, `Lecture Notes`, `Quick Revision`), `.txt`\u002F`.md`\u002F`.json` document upload, one-click AI study summarizer, and AI-generated MCQs & flashcards saved directly to Exam Centre.\n5. **Exam Centre (NOVA)**: Subject-filtered quizzes with score history persistence, 3D flip flashcards with custom flashcard creation, timed mock exams, and 2021–2025 university PYQ bank with step-by-step model solutions.\n6. **Coding Lab (FORGE)**: Multi-language IDE (Python, JavaScript, C++, Java) backed by an isolated Piston execution sandbox (with safe client-side Web Worker JS\u002FTS fallback), custom `stdin` input, persistent saved code per problem & language, test-case verifier, and AI coding mentor.\n7. **Skill Development (FORGE)**: Visual career roadmaps (Full-Stack AI Engineer, Machine Learning Specialist, Systems & Cloud Architect) with enforced prerequisite chains and an interactive AI Technical Mock Interview Simulator with rubric scoring.\n8. **AI Assistant (ATLAS\u002FKERNEL)**: Centralized academic and career assistant with multi-conversation persistence, real-time SSE streaming, note\u002Ftask context injection, and 1-click prompt templates.\n9. **Analytics & Achievements (ATLAS\u002FSENTINEL)**: 100% real data-driven weekly study charts, problem difficulty breakdown, 30-day activity streak calendar, quiz accuracy tracking, and unlockable gamification badges.\n10. **Profile, Settings & Help (ATLAS\u002FKERNEL)**: Full academic profile management (University, Degree, Branch, Semester, Enrolled Subjects, Learning & Career Interests), AI provider status & diagnostics, and operator documentation.\n\n---\n\n## 🧠 Centralized AI Architecture\n\nLearnOS implements a single, centralized backend AI architecture (`server\u002Fsrc\u002Fservices\u002Fai.ts`) so **students never need to install models or configure personal API keys**:\n\n1. **Remote Cloud Inference (Recommended for Render \u002F Cloud Hosting)**:\n   - Supports **Google Gemini** (`GEMINI_API_KEY`), **Groq** (`GROQ_API_KEY`), **OpenRouter** (`OPENROUTER_API_KEY`), or any **OpenAI-compatible endpoint** (`OPENAI_API_KEY` \u002F `AI_API_KEY` + `AI_BASE_URL`).\n   - Built-in request timeouts (`25s`), per-user rate limiting, and backend-only secret management.\n2. **Local Inference (`node-llama-cpp` GGUF or Ollama)**:\n   - Supports local embedded **Qwen3-1.7B Q8_0 GGUF** via `node-llama-cpp` (`npm run setup:model`) or local Ollama (`OLLAMA_BASE_URL`).\n3. **Structured Academic Fallback Engine**:\n   - If neither remote cloud credentials nor local GGUF weights are active, LearnOS automatically falls back to its built-in **Academic Curriculum Engine**, ensuring College Tutor explanations, Note Summarization, MCQ\u002FFlashcard generation, Mock Interview evaluations, and AI Assistant responses remain 100% functional without errors.\n\n---\n\n## 🚀 Quick Start Guide\n\n### Prerequisites\n- Node.js (`v20.0.0` or higher)\n- npm (`v9.0.0` or higher)\n\n### Installation\n```bash\n# Install workspace dependencies (client + server)\nnpm ci\n```\n\n### Environment Setup\nCopy `server\u002F.env.example` to `server\u002F.env` and generate a 32-byte `AUTH_SECRET`:\n```bash\nnode -e \"console.log(require('node:crypto').randomBytes(32).toString('hex'))\"\n```\nOptionally configure `GEMINI_API_KEY` or `GROQ_API_KEY` in `server\u002F.env` for cloud AI inference, or run `npm run setup:model` to download the local 1.83 GB Qwen3-1.7B GGUF model.\n\n### Running Locally\n```bash\n# Start Backend API (Port 5000)\nnpm run dev:server\n\n# In a second terminal, start Vite Client (Port 5173)\nnpm run dev:client\n```\n- Frontend: `http:\u002F\u002Flocalhost:5173`\n- Public Health Check: `http:\u002F\u002Flocalhost:5000\u002Fapi\u002Fsystem\u002Fhealth`\n\n### Building & Testing for Production\n```bash\n# Run full backend E2E (12 suites) and frontend verification (4 suites)\nnpm test\n\n# Type-check and build both client and server\nnpm run build\n\n# Publish production client bundle to docs\u002F for GitHub Pages\nnpm run publish:pages\n```\n\n---\n\n## 🔒 Security & Data Architecture\n- **Multi-User Per-Account Isolation**: Every registered student receives an isolated account partition (`subjects`, `tasks`, `schedules`, `revisions`, `notes`, `flashcards`, `quizAttempts`, `savedCode`, `roadmaps`, `conversations`, `interviews`, `studyHistory`, `achievements`).\n- **Protected `server\u002Fdata\u002Flearnos.json`**: Pre-existing repository seed data in `server\u002Fdata\u002Flearnos.json` is strictly preserved; runtime multi-user mutations are written atomically to `server\u002Fdata\u002Flearnos.runtime.json` (or `LEARNOS_DATA_DIR`).\n- **Signed Session Tokens & Revocation**: `scrypt` password hashing with timing-safe comparison, HMAC-SHA256 signed session tokens, and server-side token revocation on logout.\n- **Public vs. Protected System Routes**: `\u002Fapi\u002Fsystem\u002Fhealth` exposes only safe public readiness status; detailed internal diagnostics (`\u002Fapi\u002Fsystem\u002Fdiagnostics`) require authentication.\n- **Sandboxed Code Execution**: Student code is never executed inside the Express server process.\n","LearnOS 是一个面向大学生的 AI 驱动自主学习与职业发展平台，聚焦计算机科学专业能力培养。核心功能包括多模态 AI 学习助手（支持费曼、苏格拉底等教学模式）、结构化课程知识图谱（覆盖数据结构、操作系统等6门核心课）、智能学习规划（含番茄钟、间隔重复）、编程沙盒与技能树、AI 模拟面试及学业数据分析看板。技术上采用 React 18 + TypeScript + Vite 前端与 Node.js\u002FExpress 后端，强调模块化代理架构与深色高可读性设计。适用于高校 CS 专业学生进行系统性自学、备考复习与工程能力进阶。",2,"2026-11-24 04:40:53","CREATED_QUERY"]