What is Litepage?

Litepage is a lightweight library written in Go that simplifies building static sites, for developers who want to build simple sites with simple stacks.

The aim is to make building static content sites as boring as possible, to have a project that can sit still for months or even years, and have a very little maintenance overhead.

This is where Go really shines. With its built-in HTML templating, web server, and blazingly fast performance, we can go far leveraging the tools Go provides in its standard library, and only bring in specific dependencies when needed for the project you are trying to build.

Features

Litepage by design, doesn't do much. It provides a simple API to declare the pages you want to create and it will build or serve your static site, along with any assets in your /public folder.

  • โšก Maintains zero dependencies
  • ๐Ÿชท No framework lock-in
  • ๐ŸŽ Builds your static site ready to be hosted on any static site provider
  • โœจ Serves your static site locally during development
  • ๐Ÿ“ Includes out of the box sitemap.xml

You can use this library in conjunction with any static site hosting provider like:

Demo

This site you are browsing right now is built using Litepage, you can see its source code for inspiration.

You can find the Litepage repository on Github. If you find the project interesting, consider leaving a star ๐ŸŒŸ - thanks!