Presto

Presto turns Markdown repositories into clean static sites with zero configuration. Point it at a Git repository (or run it locally) and it will automatically pick the best Markdown entry point, render it to HTML, and wire up optional extras like Google Analytics and visual themes.

Features

Installation

npm install presto

You can also run the CLI directly with npx presto when your environment has access to npm.

Usage

Generate a site for the current repository:

npx presto

Build a remote repository and write output to ./dist:

npx presto jdorfman/awesome-json dist

Point at a GitLab project:

npx presto gitlab-org/gitlab-foss

Add analytics and a theme:

npx presto vercel/next.js ./public --ga G-123456789 --theme nord --palette dark

Command options

Flag Description
--image <URL> Override the Open Graph/Twitter image URL.
--ga <MEASUREMENT_ID> Inject Google Analytics.
--theme <name-or-url> Fetch a CSS/HTML template from the Presto theme store (or a direct URL).
--palette <palette> Optional palette suffix to combine with --theme.
--verbose Log detailed progress information.

Development

Clone the repo and link the CLI locally:

git clone https://github.com/your-org/presto.git
cd presto
npm install
npm link

Now run presto inside any project directory to test changes.

License

MIT