A production-ready solution addressing real-world learning challenges for cybersecurity professionals and students worldwide
Originally developed By M Izaz Haider for Howest University Belgium CS Engineering β’ Now serving global learners
|
π οΈ Technical Excellence
|
π Engineering Impact
|
π¨ Problem-Solution Fit
Identified critical pain points in modern cybersecurity education:
- Context Fragmentation: Students lose valuable information across multiple AI platforms
- Generic Responses: Off-the-shelf AI lacks domain-specific knowledge
- No Progress Tracking: Traditional tools provide no learning analytics
- Scattered Resources: Course materials exist in silos
Solution: A unified, intelligent platform that understands cybersecurity curricula, learns from user materials, and provides course-specific guidance with built-in progress tracking and specialized tools.
Intelligent Learning System
- Context-Aware AI: Multi-layer prompt engineering with course-specific knowledge injection
- RAG Pipeline: Document processing β Vector embedding β Semantic search β Context synthesis
- Adaptive Pedagogy: 8 distinct teaching styles (Socratic, Analogies, Step-by-step, etc.)
- Progress Analytics: Real-time tracking of study time, topic coverage, and knowledge gaps
Developer-Grade Tooling
24+ built-in utilities covering:
- Networking: Subnet calculator, CIDR converter, port reference
- Security: JWT decoder, header analyzer, hash identifier
- Backend: SQL formatter, API tester, session analyzer
- Linux: Permission calculator, cron generator, command reference
- CTF: Base converter, cipher tools, encoding utilities
- Scripting: Regex tester, JSON validator, diff viewer
Enterprise Features
- Multi-format export (JSON/HTML/PDF) with full conversation history
- Theme system with 12 professionally designed color schemes
- Streaming responses with syntax highlighting (200+ languages)
- Session persistence and state recovery
- Offline capability with service worker caching
Technical Foundation: Computer Networks β’ Web Backend Development β’ Scripting & Code Analysis
Security Specialization: Web Pentesting β’ Linux for Ethical Hackers β’ Capture The Flag
Professional Context: Data Privacy & IT Law β’ AI Security
Custom domains easily configurable via config-s2.js
- Modern web browser (Chrome 90+, Firefox 88+, Safari 14+)
- API key from Cerebras or Google AI Studio (both free)
Option 1: Direct Launch (Zero Installation)
# Clone repository
git clone https://github.com/mizazhaider-ceh/Sentinel-Copilot-S2.git
cd Sentinel-Copilot-S2
# Open in browser
open index.html # macOS
start index.html # Windows
xdg-open index.html # LinuxOption 2: With RAG Backend (Enhanced Features)
# Start Python backend
cd server
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload
# Backend runs on http://localhost:8000- Launch application
- Navigate to Settings β API Configuration
- Add your API key (Cerebras recommended for speed)
- Select your learning domain
- Upload course materials (optional but recommended)
System is now ready for production use
- Framework: Vanilla JavaScript (zero framework dependencies)
- Architecture Pattern: Single Page Application (SPA) with route-based lazy loading
- State Management: Custom reactive state manager with pub/sub pattern
- Storage: IndexedDB for persistence, localStorage for preferences
- UI System: CSS Grid + Flexbox with custom design tokens
- Theme Engine: CSS custom properties with 12 pre-built themes (Glass, Aurora, Nebula, Cyber, Ocean, Sunset, Forest, Sentinel-Dark, Midnight, Hacker, Light, Lavender)
- Framework: FastAPI (Python 3.9+)
- Vector Database: ChromaDB with persistent storage
- Search Algorithm: Hybrid BM25 + semantic vector search
- Document Processing: PyMuPDF for PDF extraction, semantic chunking
- API Design: RESTful with OpenAPI documentation
- Initial Load: < 500ms (without cached resources)
- AI Response Time: 50-200ms first token (Cerebras), streaming thereafter
- Vector Search: < 100ms for 10,000 document chunks
- Offline Capability: Full functionality except AI queries
- Memory Footprint: ~15MB baseline, scales with conversation history
S2-Sentinel isn't just a study toolβit's a convergence of multiple engineering disciplines into one cohesive platform.
This project represents the intersection of six distinct technical domains, each reinforcing the others:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β S2-SENTINEL COPILOT β
β Where Cybersecurity Meets Intelligent Engineering β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Domain | Application in S2-Sentinel | Depth |
|---|---|---|
| π Cybersecurity Knowledge | Pre-built prompts for 8 security domains, attack-chain pedagogy, CTF training tools, pentesting utilities | Deep domain expertise |
| π€ AI & RAG Integration | Hybrid retrieval (TF-IDF + BM25 + ChromaDB vectors), multi-model abstraction (Cerebras + Gemini), streaming SSE, context-aware prompt engineering | Production-grade AI pipeline |
| π Full-Stack Web Development | Vanilla JS SPA (zero dependencies), Python FastAPI backend, RESTful APIs, IndexedDB persistence, service worker PWA | End-to-end engineering |
| π¨ UI/UX Design | 12-theme design system, glassmorphism aesthetics, responsive 320pxβ4K, accessibility-first, CSS custom properties architecture | Professional-grade design |
| π Project Management | 6-phase development roadmap, semantic versioning, modular architecture planning, feature prioritization | Structured delivery |
| π¦ Software Engineering Practices | Clean git history (100+ meaningful commits), modular file architecture (46 files), comprehensive documentation, MIT licensing | Industry-standard workflow |
Most student projects demonstrate one skill. S2-Sentinel demonstrates the ability to:
- Identify a real problem through user research and personal experience
- Architect a scalable solution with clean separation of concerns
- Implement across the full stack β frontend, backend, AI pipeline, and infrastructure
- Deliver production-quality code with proper documentation and version control
- Iterate based on feedback through multiple development phases (v1.0 β v2.0.2)
This isn't a tutorial project copied from YouTube. It's an original system built from scratch to solve a real problem, combining cybersecurity domain expertise with modern software engineering and AI integration.
graph TB
A[User Interface Layer] --> B[State Manager]
B --> C[API Abstraction Layer]
C --> D{AI Provider}
D -->|Option 1| E[Cerebras API]
D -->|Option 2| F[Google Gemini API]
B --> G[Storage Layer]
G --> H[(IndexedDB)]
B --> I[Feature Modules]
I --> J[Chat System]
I --> K[RAG Engine]
I --> L[Analytics Engine]
I --> M[Tool Suite]
I --> N[Quiz System]
K --> O[Python Backend - Optional]
O --> P[(ChromaDB Vectors)]
Data Flow:
- User query β Prompt builder injects course context
- RAG engine retrieves relevant document chunks (if available)
- Unified prompt sent to AI provider via abstraction layer
- Streaming response rendered with syntax highlighting
- Conversation stored in IndexedDB with metadata
- Analytics engine extracts learning metrics asynchronously
UI/UX Enhancements
- Glassmorphism design system with premium visual aesthetics
- Real-time syntax highlighting supporting 200+ programming languages
- Dynamic theme switcher with smooth CSS transitions
- Responsive grid layout optimized for 320px-4K displays
Core Functionality
- Session state persistence with automatic recovery
- Export functionality supporting JSON, HTML, and PDF formats
- Streaming response handling with token-by-token rendering
- Comprehensive error handling and graceful degradation
Performance Optimizations
- Lazy-loaded feature modules reducing initial bundle size
- Service worker caching strategy for offline capability
- Debounced auto-save preventing excessive storage operations
- Optimized IndexedDB queries with compound indexes
Full technical changelog available in TECHNICAL.md
It began with Study Copilotβa personal AI tutor I built to make my own study sessions more productive. It worked. But as Semester 2 at Howest started, I realized the problem was bigger than I thought.
Students were:
- Losing hours switching between ChatGPT, Google, and five different tools
- Forgetting which conversation had the answer they needed
- Getting generic responses from AI that didn't understand their coursework
- Studying without any way to measure progress or identify weak areas
Study Copilot was a good foundation, but Semester 2 needed something purpose-builtβsomething that understood the curriculum, had the right tools baked in, and could track your learning journey from day one.
That's when S2-Sentinel Copilot was born.
This project took significant time and dedicationβcountless late nights, debugging sessions, architecture rewrites, and feature iterations. From the first line of code to the 11,707th, every decision was intentional.
Alhamdulillah, it's done. And it works.
But more importantly, it was built with a philosophy: tools should adapt to students, not the other way around.
S2-Sentinel doesn't stop here. βΎοΈ
This platform is designed to evolve. The modular architecture, clean codebase, and extensible configuration system were built with the future in mind.
Planned Evolution:
| Phase | Goal | Status |
|---|---|---|
| π« Multi-Semester Support | Expand beyond S2 to cover full degree programs | π Planned |
| π₯ Collaborative Learning | Real-time study rooms and shared notes | π Researching |
| π§ Advanced Analytics | ML-powered study pattern optimization | β Designed |
| π± Mobile Application | React Native companion app | π Planned |
| π’ Institutional API | University-level deployment and LMS integration | π Architected |
| π§© Plugin Marketplace | Community-contributed tools and course packs | π‘ Conceptualized |
The vision: From a single-semester study companion to a comprehensive learning OS for cybersecurity professionals worldwide.
Every commit brings it closer. Every user's feedback shapes its direction.
| Document | Purpose |
|---|---|
| TECHNICAL.md | Full technical details, codebase statistics & architecture |
| HOW_IT_WORKS.md | System architecture deep-dive |
| DEVELOPMENT-PHASES.md | Complete 6-phase development journey |
Muhammad Izaz Haider (MIHx0) β Creator & Lead Developer
- Designed and implemented the full-stack architecture from scratch
- Built the hybrid RAG engine, AI abstraction layer, and 24+ tool suite
- Managed the complete development lifecycle across 6 phases
- Authored all documentation and technical specifications
Masud Rana β Contributor & Collaborator
- Proposed key feature ideas that shaped the platform's direction
- Provided critical UX feedback during early development cycles
- Suggested tool selections and interface improvements that improved usability
- Tested features and reported issues that led to stability improvements
- A true collaborator whose perspective helped S2-Sentinel become what it is today
S2-Sentinel was built through genuine collaboration. While I (Izaz) handled the engineering, Masud was the sounding board who challenged ideas, suggested better approaches, and kept the user experience honest. The best features in this platformβthe tool selection, the intuitive UI flow, the focus on practical utilityβcame from our discussions about what we as students actually needed, not just what looked impressive technically.
Building something together is always better than building alone.
- π« Howest University Belgium β For the world-class Cybersecurity Engineering program that inspired this project
- β‘ Cerebras AI β For providing lightning-fast inference API (1000+ tokens/sec)
- π§ Google Gemini β For powerful AI capabilities as a secondary model
- π₯ Fellow Students β Beta testers who provided invaluable feedback during development
- π Open Source Community β For the libraries and tools that made this possible
Cybersecurity Student @ Howest University Belgium π§πͺ
Junior DevSecOps & AI Security Engineer @ Damno Solutions
Founder of The PenTrix
From a small village in Pakistan π΅π° to the European tech frontier πͺπΊ
Background: A cybersecurity student who saw a gap between available tools and actual student needs. Instead of waiting for someone else to solve it, I built the solutionβtwice. First Study Copilot, then S2-Sentinel.
Philosophy:
"If you can't explain it simply, you don't understand it well enough."
Build tools that make complex subjects approachable. Write code that others can read. Ship products that actually solve problems.
If S2-Sentinel has been useful to you:
- β Star this repository to help others discover it
- π Fork and submit PRs for improvements or new features
- π¬ Open issues for bugs, feature requests, or curriculum suggestions
- π£ Share with fellow cybersecurity students and professionals
Contributions welcome. See TECHNICAL.md for architecture details before contributing.
MIT License β Free to use, modify, and distribute.
From a university problem β To a global solution
Get Started β’ Read the Docs β’ View Architecture