SyntaxForge is a curated collection of direct, "one-way-go" cheat sheets for essential programming languages. It cuts through the noise of documentation to provide the idiomatic syntax you need to be productive immediately.
Our philosophy is built on the "Novice to Grandmaster" progression. Instead of a flat list of commands, every guide is structured to take you from Hello World to Advanced System Architecture.
- Direct & Practical: No fluff. Just the code patterns you need.
- Aesthetic First: Built on the Catppuccin Macchiato palette to reduce eye strain and look beautiful.
- Systems Focused: Prioritizing languages like Rust, C, Go, and Zig.
- Modular Architecture: Content is separated from logic via JSON, making it trivial to extend.
- 🎨 Catppuccin Theming: Fully styled with the Macchiato palette for a cohesive, high-contrast dark mode experience.
- 💡 Ambient Glow: Custom mouse-tracking CSS engine that creates dynamic lighting effects on cards based on the language's brand color.
- 🧱 JSON-Driven Content: Every cheat sheet is generated dynamically from a simple
content.jsonfile. - ⚡ Zero-Build: Built with Vanilla JS and CSS. No Webpack, no React, no
node_modules. Just raw performance. - 🌈 Syntax Highlighting: Integrated
Highlight.jswith custom CSS overrides to match the Catppuccin theme perfectly.
- Core: Semantic HTML5, Modern CSS3 (Grid/Flexbox), Vanilla JavaScript (ES6+).
- Highlighter: Highlight.js (Auto-detects language).
- Icons: SVG (Feather Icons style).
- Font: Inter (UI) & JetBrains Mono (Code).
To run the forge locally, you just need a static file server.
# Clone the repository
git clone https://github.com/shadowdevforge/SyntaxForge.git ~/shadowforge/SyntaxForge
# Navigate to directory
cd ~/shadowforge/
# Start server
python3 -m http.server 8000Open http://localhost:8000/SyntaxForge in your browser.
Simply install the Live Server extension and click "Go Live" on index.html.
SyntaxForge is designed to be extended. Adding a new language (e.g., TypeScript) takes 3 steps:
Create a folder in the root directory with the language name (e.g., typescript/).
Create typescript/content.json. Define the color, icon, and sections (Novice, Apprentice, etc.).
{
"meta": {
"language": "TypeScript",
"description": "JavaScript with syntax for types.",
"color": "#b7bdf8",
"icon": "URL_TO_ICON"
},
"sections": [
{
"level": "I. Novice",
"topics": [
{
"title": "Basic Types",
"desc": "Defining strings and numbers.",
"code": "let isDone: boolean = false;\nlet decimal: number = 6;"
}
]
}
]
}Copy the standard index.html template (from rust/index.html or c/index.html) into your new folder. No code changes are needed in this file; it automatically loads content.json.
Open the main index.html in the root directory and add the entry to the guides array script:
const guides = [
// ... existing guides
{
title: "TypeScript",
desc: "JavaScript with syntax for types.",
path: "typescript/index.html",
color: "var(--lavender)",
category: "Web & Frontend"
}
];Distributed under the MIT License. See LICENSE for more information.
Forged by ShadowDevForge
Code is the hammer, logic is the anvil.
