LessonForge: Open-Source Lesson Management Tool by Hatim El HassakLessonForge: Open-Source Lesson Management Tool by Hatim El Hassak

LessonForge: Open-Source Lesson Management Tool

Portfolio project
Hatim El Hassak

๐ŸŽ“ LessonForge

Open-source lesson management terminal for language teachers
A beautiful, offline-capable dashboard to organize lessons, track class time, manage student profiles, and store teaching resources โ€” all in your browser.

โœจ Features

๐Ÿ“– Lesson Management

Multi-page lessons โ€” Organize content into separate pages (Warm-Up, Vocabulary, Grammar, etc.)
Rich-text editing โ€” Bold, italic, underline, colored highlights, lists
Drag-and-drop reordering โ€” Rearrange lesson pages by dragging
Import/Export โ€” Share lesson plans as JSON files with colleagues

๐Ÿงฐ Toolkit

Resource cards โ€” Quick-reference grammar rules, vocabulary, pronunciation tips
Categorized & filterable โ€” Filter cards by type (Grammar, Vocabulary, Connectors, etc.)
Custom categories โ€” Add your own card categories
Fully editable โ€” Add, edit, and delete cards in edit mode

โฑ๏ธ Timer

Stopwatch mode โ€” Count up during class
Countdown mode โ€” Set a timer (e.g. 25 minutes) with visual warnings at 60s and expiry alert
Keyboard shortcut โ€” Press 0 to start/stop

๐Ÿ‘ฉโ€๐ŸŽ“ Student Profiles

Save student name, level, and notes
Quick-switch between students from the toolbar dropdown
Stored in localStorage โ€” persists across sessions

๐ŸŽจ Design

Sakura theme โ€” Soft pink/rose palette in light mode, deep rose in dark mode
Dark mode toggle โ€” One-click switch
Print stylesheet โ€” Ctrl+P prints just the lesson content, no UI chrome
Keyboard-first โ€” Number keys to switch pages, E to edit, ? for shortcuts

๐Ÿ’พ Data

LocalStorage persistence โ€” All data auto-saved
Undo/Redo โ€” Up to 50 history snapshots
JSON import/export โ€” Portable lesson plans

๐Ÿš€ Quick Start

# Clone the repo
git clone https://github.com/hatimhtm/LessonForge.git
cd LessonForge

# Install dependencies
npm install

# Start dev server
npm run dev
Open http://localhost:5173 in your browser.

Production Build

npm run build
npm run preview

โŒจ๏ธ Keyboard Shortcuts

Key Action 1โ€“9 Switch lesson page 0 Start/stop timer E Toggle edit mode ? Show shortcuts modal โŒ˜Z / Ctrl+Z Undo โŒ˜โ‡งZ / Ctrl+Shift+Z Redo โŒ˜S / Ctrl+S Export lesson Esc Close modals

๐Ÿ“ Project Structure

LessonForge/
โ”œโ”€โ”€ index.html # App entry point
โ”œโ”€โ”€ package.json # Dependencies & scripts
โ”œโ”€โ”€ vite.config.js # Build config
โ””โ”€โ”€ src/
โ”œโ”€โ”€ main.js # App controller
โ”œโ”€โ”€ state.js # State manager (localStorage, undo/redo)
โ”œโ”€โ”€ data.js # Demo content & defaults
โ””โ”€โ”€ styles/
โ”œโ”€โ”€ variables.css # Design tokens & themes
โ”œโ”€โ”€ layout.css # Grid layout & modals
โ”œโ”€โ”€ toolbar.css # Toolbar & buttons
โ”œโ”€โ”€ content.css # Lesson content typography
โ”œโ”€โ”€ toolkit.css # Resource cards & filters
โ”œโ”€โ”€ sidebar.css # Navigation & checklist
โ”œโ”€โ”€ shortcuts.css # Shortcuts modal
โ””โ”€โ”€ print.css # Print stylesheet

๐Ÿ”ง Customization

Adding Your Own Lessons

Click Edit in the toolbar
Create pages, add toolkit cards, customize the checklist
Click Export to save your lesson as a JSON file
Share the JSON with colleagues โ€” they can click Import to load it

Changing the Theme

Edit src/styles/variables.css to customize colors, fonts, spacing, and border radius tokens.

๐Ÿ“„ License

MIT โ€” free for personal and commercial use.
Built with โค๏ธ for teachers everywhere

0 likes ยท 19 views ยท Feb 13, 2026

Created an open-source lesson management tool for language teachers.

Tags