8000 GitHub - sj-on/prpl: Lightweight library for building fast static sites
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sj-on/prpl

 
 

Repository files navigation

This project is no longer actively maintained.

PRPL

PRPL is a lightweight library for building fast static sites. It does two things:

  • Interpolate your content into HTML files
  • Maximize your site's runtime speed with the PRPL pattern

Features

  • Tiny HTML-based API
  • Zero configuration
  • Zero or near-zero module dependencies
  • CLI, CJS and ESM module interfaces
  • Define your own template syntax
  • Ship no client JavaScript
  • Works on Linux, MacOS and Windows

Why?

All the static site generators I have tried have one or more of these problems:

  • Built on an underlying framework like React, Vue, etc.
  • Relies on complex build tools like Webpack, Babel, etc.
  • Depends on a massive tree of modules that force constant maintenance
  • Has interfaces, source code and documentation that cannot be understood in one sitting
  • Requires that your site source be organized in a way that looks nothing like your output
  • Forces a huge leap from hello world to a real world implementation

PRPL is my answer to these gripes.

Usage

PRPL requires Node LTS or greater.

To clone the minimal starter and run it locally, run:

npx -y create-prpl@latest

Visit docs for full documentation, guides and design decisions.

About

Lightweight library for building fast static sites

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.4%
  • JavaScript 25.6%
0