Flatlake is a static API generator. The goal of Flatlake is to expose a headless CMS interface over a set of static git-based files.

Flatlake has the primary goals:

From a set of input Markdown files with front matter, Flatlake will generate a set of JSON files that allow you to query your data. These files are suitable to host as an API on a domain, or they can be loaded in to another static site generate as data files.

For example, if Flatlake is supplied a folder of markdown files in a posts folder, the API generated by Flatlake would provide endpoints such as:

Providing the ability to, for example:

To get started, see the Quick start guide.