Interactive Computer Science Monograph Archive, Pedagogical Simulator Suite, & Relativistic Knowledge Graph
Project Engram is a full-stack academic knowledge platform and engineering portfolio that synthesizes a Computer Science curriculum and applied Special Strands into an interconnected digital archive. It combines rigorous technical monographs, cycle-accurate interactive systems simulators, automated self-assessment engines, and a Computer Science root hub.
Architectural standards, structural boundaries, and implementation workflows are maintained in the repository documentation suite:
- README.md — Project overview, technology stack, quick-start setup, and script reference.
- CONTRIBUTING.md — Contribution guidelines, simulator registration workflow, monograph & Special Strand formatting rules, and pull request standards.
- docs/DESIGN.md — System architecture, 5-Universe Design System tokens, Engram Knowledge Graph rendering engine, and performance/security invariants.
- docs/Structure.md — Repository directory topology, academic vault (
1st Year–4th Year) &Strands/organization, module naming rules, and dependency boundaries. - docs/Implementation-guide.md — Step-by-step developer guide for building simulator workbenches, extending the Markdown/MCQ parser pipeline, and running verification checks.
-
640 Curated Monographs (
614Academic across26CS Courses +26Special Strand Notes): Deep-dive technical notes featuring formal mathematical derivations (KaTeX), client-side architecture and state diagrams (Mermaid v12), annotated code implementations, and bidirectional[[WikiLink]]navigation meshes. -
Special Strands (
content/Main Notes/Strands/,/notes/strands/ctf): Non-year practitioner curricula registered insrc/lib/strands.ts—starting with Capture The Flag (CTF) across 10 categories (Triage and CLI,Steganography,Forensics,Cryptography,Web Security,Reverse Engineering,Binary Exploitation,OSINT,Scripting and Misc,Reference) plus upcomingComing Soonstrand shells. -
Interactive Self-Assessment Engine (
MCQSection.tsx): Parses structured Markdown assessment blocks (A)-D),[MSQ],[INPUT]with optional[=exact]case-sensitive grading, and[BLANK]tables) into interactive quizzes with instant distractor rationales and keyboard accessibility. -
29 Pedagogical Engineering Simulators: Interactive laboratory workbenches spanning Systems (CPU pipelining, virtual memory paging), Security & Networking (TCP congestion control, cryptographic avalanche diffusion, AppSec sanitizer), Theory (graph pathfinding, automata tape machines), and Software/Databases (
$\text{B}^+$ tree indexing and MVCC transactions). -
Engram Knowledge Graph: A custom HTML5 Canvas force-directed graph rendering the central
Computer Sciencehub at$(0, 0)$ , 26 Course Stars, Special Strands, and 640 orbiting monographs with 1-hop constellation isolation. - 5-Universe Design System: Supports the default Cyber-Zen tech-noir aesthetic (Dark/Light modes) alongside four locked single-mode universes (Neo-Brutalism, Minimalism, Parallax, and Broken-Grid) switched via the Universe Warp Jump.
-
Framework & Runtime: Next.js 16 (App Router), React 19, TypeScript, Node.js (
$\ge 22.0.0$ ) -
Styling & Motion: Tailwind CSS v4, CSS Custom Properties (
data-universe), Motion (ease: [0.16, 1, 0.3, 1]) -
Visualization & Diagrams:
react-force-graph-2d(HTML5 Canvas), Mermaid.js v12 (securityLevel: "antiscript"), KaTeX -
Content & Security Pipeline: Asynchronous Node.js
fs.promises, Unified / Remark / Rehype,rehype-sanitizestrict HAST allowlist, anddompurify(@/lib/sanitize)
-
Node.js
$\ge 22.0.0$ - npm (standard package manager for this repository)
-
Clone the repository:
git clone https://github.com/2ru17/Project-Engram.git cd Project-Engram -
Install dependencies:
npm install
-
Start the development server:
npm run dev
Open
http://localhost:3000in your browser. -
Author & validate academic & Special Strand monographs (Direct In-Repo Editing):
- Edit or create academic
.mdmonographs inside./content/Main Notes/<Year>/<Term>/<COURSE_CODE>/Module XX - <Topic>/— or Special Strand notes inside./content/Main Notes/Strands/<Strand>/<Category>/<Note>.md(withstrand:andcategory:YAML frontmatter, registered insrc/lib/strands.ts) — using any IDE or by opening./content/Main Notes/directly as an Obsidian vault (.obsidian/,.trash/, and*.excalidraw.bakare git-ignored). - Run
npm run validate:notesto verify YAML frontmatter, callout metadata, and interactive assessment syntax (A)-D),[MSQ],[INPUT],[BLANK]). - Run
npm run buildto verify static route generation, search index, and changelog metadata before committing.
- Edit or create academic
| Command | Description |
|---|---|
npm run dev |
Starts the Next.js development server with hot-reload. |
npm run build |
Runs prebuild (generate:changelog & generate:search) and compiles the production bundle. |
npm run start |
Runs the compiled production server locally. |
npm run lint |
Executes static code analysis and ESLint checks. |
npm run typecheck |
Runs the TypeScript compiler (tsc --noEmit) without emitting build files. |
npm test |
Runs Node.js unit and regression tests (src/lib/__tests__/*.spec.ts). |
npm run validate:notes |
Validates all 7 gates (Gates 0–6): monograph frontmatter, folder hygiene, MCQ parser compatibility, Mermaid syntax, graph links, and COURSE_REGISTRY parity (node scripts/validate-notes.mjs). |
npm run sync:counts |
Automatically synchronizes per-course monograph counts in src/lib/course-registry.ts against the vault (node scripts/validate-notes.mjs --sync). |
npm run generate:search |
Builds the lazily fetched client Command Palette index at public/search-index.json; runs automatically in prebuild. |
npm run generate:changelog |
Generates src/data/changelog.generated.json and lightweight src/data/changelog-meta.generated.ts from Git history (with GitHub API fallback in shallow clones); runs automatically in prebuild. |