Skip to content
chukka-venugopalamPublic

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

147 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SV-OS β€” Silicon Valley Learning OS

Google Maps for Computer Science Learning

CI TypeScript Next.js FastAPI Python PostgreSQL License: MIT


πŸ“– Overview

SV-OS is an interactive visual operating system that maps Computer Science concepts, technologies, projects, and careers into an explorable knowledge graph. It answers four critical questions:

  • What should I learn next?
  • Why should I learn it?
  • What projects use it?
  • Which careers require it?

Key Features

Feature Description
πŸ—ΊοΈ Knowledge Graph Interactive graph visualization of 100+ connected CS concepts
🧭 Career Navigator Personalized learning roadmaps for 9+ CS careers
πŸ“Š Progress Tracking Track learning status across all concepts
πŸ” Full-Text Search Search across all nodes with ranked results
πŸŒ™ Dark Mode Beautiful dark-first design system

πŸ— Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Frontend (Vercel)                     β”‚
β”‚  Next.js 15 Β· TypeScript Β· Tailwind Β· React Query       β”‚
β”‚  Zustand Β· Framer Motion Β· React Flow Β· shadcn/ui       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚ REST API (React Query)
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                   Backend (Render)                       β”‚
β”‚  FastAPI Β· Python 3.12 Β· SQLAlchemy Β· Pydantic          β”‚
β”‚  Clean Architecture: Routes β†’ Services β†’ Repositories   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚ Async Database
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                Database (Supabase/Docker)                β”‚
β”‚  PostgreSQL 16 Β· Adjacency List Graph Model             β”‚
β”‚  Recursive CTEs Β· Full-Text Search Β· Row-Level Security β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Monorepo Structure

sv-os/
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ web/          # Next.js 15 frontend
β”‚   └── api/          # FastAPI backend
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ ui/           # Design system
β”‚   β”œβ”€β”€ types/        # Shared TypeScript types
β”‚   β”œβ”€β”€ config/       # Shared constants
β”‚   β”œβ”€β”€ eslint-config/# ESLint configuration
β”‚   └── tsconfig/     # TypeScript configuration
β”œβ”€β”€ database/         # PostgreSQL schema + seed data
β”œβ”€β”€ docs/             # Documentation
└── scripts/          # Utility scripts

πŸš€ Quick Start

Prerequisites

  • Node.js 20+ Β· pnpm 9+ Β· Python 3.12+ Β· PostgreSQL 16+ (or Docker)

1. Install

git clone https://github.com/sv-os/sv-os.git
cd sv-os

# Frontend dependencies
pnpm install

# Backend (Python)
cd apps/api
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -e ".[dev]"
cd ../..

2. Database

# Using Docker (recommended)
docker compose up -d postgres

# Or use local PostgreSQL
createdb svos
psql -d svos -f database/schema.sql
bash scripts/seed.sh

3. Configure

cp apps/web/.env.local.example apps/web/.env.local
cp apps/api/.env.example apps/api/.env
# Edit both files with your credentials

4. Run

# Terminal 1: Backend API
cd apps/api && uvicorn app.main:app --reload

# Terminal 2: Frontend
pnpm dev:web

Open http://localhost:3000 for the app and http://localhost:8000/docs for API docs.


πŸ›  Development

Commands

Command Description
pnpm dev Start all apps
pnpm build Build all apps
pnpm lint Lint all apps
pnpm typecheck TypeScript type checking
pnpm test Run all tests
pnpm format Format all files

Stack

Layer Technology Purpose
Framework Next.js 15 (App Router) React framework with SSR
Styling Tailwind CSS v4 Utility-first CSS
UI shadcn/ui + Radix Accessible component primitives
Server State TanStack React Query API data caching & sync
Client State Zustand UI state management
Forms React Hook Form + Zod Typed form validation
Graph React Flow Knowledge graph visualization
Animation Framer Motion Micro-interactions & transitions
Backend FastAPI Async Python REST API
ORM SQLAlchemy 2.0 (async) Database access
Database PostgreSQL 16 Primary data store
Auth Supabase Auth Authentication & RLS

πŸ“š Documentation

Essential

Document Description
Project Memory Permanent AI onboarding file (archived)
Project Handoff AI assistant handoff guide (archived)

Architecture & Design

Document Description
Architecture System architecture overview
Backend Blueprint Backend stack & design
Frontend Blueprint Frontend stack & design
Database Blueprint Database schema design
API Blueprint REST API specification

Knowledge Engine

Document Description
Master Context Full knowledge engine specification
Knowledge Graph Design Graph philosophy & schema
Stage 5.2 Query Engine Query & navigation API docs
Stage 5.3 Blueprint Content layer design
Search Architecture Search system design
Recommendation Engine Recommendation system

Learning System

Document Description
Learning Engine Full learning engine spec
Learning Philosophy Learning design philosophy
Cognitive Model Cognitive science principles
Mastery Model Mastery scoring & progression
Journey Design Learner journey design
Project Engine Project-based learning engine
Simulation Framework Simulation system design

Infrastructure & Operations

Document Description
Database Schema Schema design & relationships
DB Migration Plan Render to Neon migration
Deployment Production deployment guide
Security Security policies & auth
Testing Strategy Testing approach & coverage
Performance Guide Performance optimization

Reference

Document Description
Engineering Standards Coding standards & conventions
Implementation Guide Implementation guidelines
Tech Decisions Technology decisions & rationale
Product Evolution Product roadmap & evolution
Cleanup Report Documentation classification
Reorganization Report Reorganization summary

Guides

Document Description
Contributing Contribution guidelines
Setup Guide Local development setup
Monorepo Guide Turborepo & pnpm usage
Runbook Operational procedures

Archive

Historical documents preserved in docs/archive/ β€” not needed for daily development.


πŸ—Ί Knowledge Graph

Node Types

Type Description Color
Subject Academic discipline 🟣 Purple
Concept Core CS concept πŸ”΅ Blue
Technology Language, framework, tool 🟒 Green
Tool Development tool 🟑 Amber
Career Job role πŸ”΄ Red
Project Real-world project 🩷 Pink

Edge Types

prerequisite Β· depends_on Β· uses Β· enables Β· part_of Β· related_to Β· leads_to Β· requires


🀝 Contributing

See Contributing Guide.

πŸ“„ License

MIT β€” See LICENSE.

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages