Skip to content

A static site generator for converting markdown to HTML, rewritten in Golang.

Notifications You must be signed in to change notification settings

Shobhit-Nagpal/statgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statgen

Statgen is a simple and efficient static site generator written in Go. With Statgen, you can easily create static websites from markdown files, allowing you to focus on content creation without worrying about the complexities of web development. This is a Go rewrite after having the first version written in Python following steps from Boot.dev

Features

  • Markdown Support: Write your content in markdown format, a simple and intuitive markup language.
  • Fast Rendering: Quickly generate static websites without the need for server-side processing.
  • Command-Line Interface: Use the command-line interface to generate your website with a single command.

Installation

To install Statgen, simply use go get:

go get -u github.com/Shobhit-Nagpal/statgen

Make sure your Go environment is set up correctly.

Usage

Here's a basic example of how to use Statgen:

Clone the repo

git clone git@github.com:Shobhit-Nagpal/statgen.git

Run main shell script

./main.sh

This command runs your static website using the markdown files in the content directory and the templates in the templates directory. The generated website will be placed in the public directory.

Contributing

Contributions are welcome! If you have ideas for new features, improvements, or bug fixes, feel free to open an issue or submit a pull request.

Acknowledgements

A huge shoutout to Boot.dev for breaking down how to make a static site generator on your own.

About

A static site generator for converting markdown to HTML, rewritten in Golang.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages