One workspace for studying smarter, practising code, preparing for exams, and building career-ready skills.
Students often have to switch between separate tools to manage their academic and career development:
- Scattered study resources: Notes, syllabus material, revision content, and practice questions live in different places.
- Disconnected productivity workflows: Timetables, assignments, revision schedules, and focus sessions are difficult to coordinate.
- Limited hands-on practice: Students need a convenient place to practise programming, check solutions, and prepare for technical interviews.
- Weak progress visibility: Without a unified view of study activity, quiz performance, and completed goals, it is harder to identify what needs attention.
LearnOS brings these workflows together in one student-focused platform.
LearnOS is a full-stack learning and career development application built with a React and TypeScript frontend and a Node.js/Express backend.
It combines academic support, study planning, document-based revision, coding practice, skill roadmaps, and progress analytics in one interface.
- Unified workspace: Keep essential student workflows accessible from one dashboard.
- Practical learning: Combine explanations with quizzes, flashcards, coding exercises, and mock interviews.
- AI-assisted study: Provide tutor and assistant experiences supported by the configured local inference runtime.
- Progress awareness: Present study activity, quiz performance, and achievements in a single place.
Large Language Models (LLMs) make LearnOS more interactive, intelligent, and accessible by helping students understand concepts and improve their learning experience.
-
Personalised Learning: Help students understand difficult academic concepts through conversational explanations.
-
AI Tutoring: Provide explanations, examples, and guidance on different subjects.
-
Smart Study Assistance: Help summarise study material and make complex information easier to understand.
-
Question Generation: Assist in creating practice questions and quizzes for revision.
-
Programming Support: Explain programming concepts, help understand code, and assist students while learning different programming languages.
-
Career Preparation: Support interview preparation, technical learning, and skill development.
-
24/7 Learning Support: Make learning assistance accessible whenever students need it.
Traditional learning platforms mainly provide predefined content. LLM-powered applications can offer interactive assistance that responds to individual questions and learning requirements.
By exploring LLM technologies, LearnOS aims to make education more accessible, engaging, and student-focused.
| Module | Capabilities |
|---|---|
| Dashboard | Study overview, schedule, tasks, activity, and progress indicators |
| College Tutor | Subject-based learning, syllabus topics, explanations, and practice support |
| Study Planner | Timetable, task board, spaced repetition, and Pomodoro focus timer |
| Notes & Documents | Organised notes, document upload, summaries, MCQs, and flashcards |
| Exam Centre | Quizzes, flashcards, mock exams, score history, and previous-year questions |
| Coding Lab | Programming workspace for Python, JavaScript, C++, and Java |
| Skill Development | Career roadmaps and technical mock interview practice |
| AI Assistant | Conversational academic and career assistance |
| Analytics | Study activity, quiz accuracy, coding progress, and achievements |
| Profile & Settings | Academic profile and application configuration |
LearnOS is organised as an npm workspace monorepo.
TEAMBREAK/
βββ client/ # React + TypeScript + Vite frontend
β βββ src/
β βββ components/ # Shared UI components
β βββ pages/ # Feature pages
β βββ services/ # API communication
β βββ types/ # Shared TypeScript contracts
β
βββ server/ # Express + TypeScript backend
β βββ src/
β βββ routes/ # Backend route handlers
β βββ services/ # Application services
β
βββ agents/ # Agent-related project modules
βββ docs/ # Project documentation
βββ scripts/ # Build and publishing scripts
βββ package.json # Workspace scripts
βββ README.md
| Layer | Technologies |
|---|---|
| Frontend | React 18, TypeScript, Vite 5 |
| Styling | Tailwind CSS 3 |
| Backend | Node.js, Express, TypeScript |
| Workspace | npm workspaces |
| AI runtime | Local Qwen3-1.7B GGUF inference using node-llama-cpp |
| Persistence | JSON-file-based application storage |
| Code execution | Optional isolated Piston-compatible sandbox endpoint |
| Deployment | GitHub Pages frontend; separately hosted backend |
LearnOS is designed to run its configured language model locally on the backend host.
- The frontend sends an AI-assisted task to the backend.
- The backend AI service handles the request.
- The configured Qwen3-1.7B Q8_0 GGUF model is loaded through
node-llama-cpp. - The generated result is returned to the application.
npm run setup:modelThe deployment guide documents a model download of approximately 1.83 GB into the user's local model directory, outside the repository.
Runtime note: AI generation requires the model files and native runtime to be available on the backend host. If they are missing, the server reports AI as unavailable rather than presenting placeholder generated responses.
During the development of LearnOS, our team was not familiar with the BharatCode AI platform and its capabilities. Consequently, BharatCode AI was not integrated into the current version of the project.
We acknowledge BharatCode AI as an emerging opportunity for future development and plan to explore its API, AI models, and integration possibilities in upcoming iterations.
Our commitment: Continue learning, experimenting, and improving LearnOS by exploring new AI technologies and developer platforms.
The following implementation details are important when running or deploying LearnOS:
- Storage model: The current integration report describes JSON-file-based persistence.
- Single-user limitation: The current storage design does not provide per-user ownership isolation. Do not deploy it as a multi-user service containing private student data until this is implemented.
- Authentication secret: Configure a unique
AUTH_SECRETwith at least 32 bytes for authenticated API sessions. - Secret handling: Keep real environment values in
server/.env; never commit secrets. - AI availability: Local inference depends on the model weights and native runtime being installed on the backend host.
- Code execution: An isolated Piston-compatible sandbox endpoint must be configured; code execution is not available by default.
- Node.js
- npm
- Git
git clone https://github.com/shashank-785/TEAMBREAK.git
cd TEAMBREAKnpm cicp server/.env.example server/.envSet a unique AUTH_SECRET. Generate one with:
node -e "console.log(require('node:crypto').randomBytes(32).toString('hex'))"Review the other settings in server/.env.example before starting the backend.
npm run setup:modelThis is a one-time setup on the machine hosting the backend.
npm run dev:serverOpen a second terminal in the project root:
npm run dev:clientOpen the local frontend URL shown by Vite (the deployment guide uses http://localhost:5173).
Run the test suites:
npm testBuild the frontend and backend:
npm run buildBuild only the frontend:
npm run build:clientBuild only the backend:
npm run build:serverThe frontend and backend are deployed separately:
- Frontend: GitHub Pages
- Backend: LearnOS API on Render
For self-hosting, deploy the Express backend on a host that can store and load the local model. Configure the frontend origin in CORS_ORIGINS and set LEARNOS_MODEL_PATH if the model is stored at a custom location.
Important: GitHub Pages can host the frontend, but it cannot host the Express API or run the local language model. Review DEPLOYMENT_GUIDE.md before deploying.
| Route | Section |
|---|---|
/ |
Dashboard |
/tutor |
College Tutor |
/planner |
Study Planner |
/notes |
Notes & Documents |
/exams |
Exam Centre |
/coding |
Coding Lab |
/skills |
Skill Development |
/assistant |
AI Assistant |
/analytics |
Analytics |
/settings |
Profile & Settings |
Contributions and suggestions are welcome.
- Fork the repository.
- Create a feature branch.
- Make focused changes and test them.
- Open a pull request with a clear description of the changes.
This project is distributed under the MIT License. See the LICENSE file if included in the repository.
LearnOS β Learn. Practise. Improve. Build your future.
Built for students.