SSS is a minimal, Node.js-based static site generator that converts Markdown files into HTML pages. It's designed to be extremely simple, fast, and easy to use.
- Converts Markdown files to HTML
- Supports nested directory structures
- Automatically applies styles from a custom CSS file
- Watches for file changes and recompiles automatically
- Respects system dark mode preferences
-
Clone this repository:
git clone https://github.com/yourusername/sss.git cd sss
-
Install dependencies:
npm install
- Place your Markdown files in the
pages
directory. - Put your assets (images, etc.) in the
assets
directory. - Customize the
styles.css
file for your design preferences. - Run the build command:
npm run build
SSS will create HTML files in the dist
directory and watch for changes in your Markdown files and styles.css
.
project_root/
├── pages/ # Your Markdown files go here
├── assets/ # Static assets (images, etc.)
├── styles.css # Custom styles
├── dist/ # Generated HTML files (do not edit directly)
├── index.js # Main script
└── package.json
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.