A lightweight static site generator that converts Markdown files into a fully functioning website, with no web development knowledge required.
I needed to create multiple simple websites but WordPress and other CMS platforms were overkill, required databases, and constant maintenance. I built this static site generator that takes Markdown files and generates clean HTML - now I can create and deploy websites in minutes with just text files.
- Install dependencies:
python -m pip install --upgrade pip
- Clone and run:
git clone https://github.com/yourusername/static-site-generator
cd static-site-generator
./main.sh
- Your site will be generated in the
public
folder
- Write your content in Markdown files in the
content
directory - Add any images/CSS/JS files to the
static
directory - Run
./main.sh
to generate your site - Deploy the
public
directory to any web host
- Headers (# h1, ## h2, etc)
- Bold text (bold)
- Italic text (italic)
- Code blocks (
code
) - Links
- Images
- Lists (ordered and unordered)
- Blockquotes (> quote)
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Run tests (
./test.sh
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request