webpan is currently under development. Join the webpan development channel (Matrix) for updates and support.
webpan is an extensible build tool that can be used for:
- Static site generation, such as creating wiki and blog sites.
- Publishing massive, loosely structured notes folders.
- Or any other user defined conversion tasks.
There are a billion file formats out there, by default webpan supports zero - it is up to the user to decide what they want.
Options are done centrally through a central config file, so any new files created will look correct without tweaks.
A webpan project is entriely self-contained, so it can be synced through Git and still look the same everywhere.
Requires: npm and any text editor.
- Create a new webpan project.
This creates a new folder at
$ npm create wproject
my-wproject/. - CD into the project folder, and install the project dependencies.
$ npm install
- Build the project, webpan reads from the
src/folder and writes output to thedist/folder.$ npm run build
- View the files with a web browser. Or if you have python installed, start an http server with
$ python -m http.server
Your webpan project is made of:
-
webpan: the extensible build tool.
-
create-wproject: the webpan project template.
-
webpan packages: they look at the
src/folder and writes to thedist/folder. Insrc/wrules.json, you can see copy and index being used in the template project.You can create your own package, or install existing packages with
$ npm install wp-<package-name>
As the project is very new, these are the things I am working on:
- wp-unified package which adds unified support. Which in turns support conversion between a huge collection of file formats.
- A vitepress clone for writing docs (and then write the webpan docs with it).