Skip to content

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder

License

Notifications You must be signed in to change notification settings

hckr-studio/blendid

 
 

Repository files navigation

Blendid

Blendid is a delicious stand-alone blend of tasks and build tools that form a full-featured modern asset pipeline. It can be used as-is as a static site builder, or can be configured and integrated into your own development environment and site or app structure.

Quick start on a fresh project (empty directory)

echo "22" > .nvmrc
nvm install $(< .nvmrc)
yarn set version berry
echo "nodeLinker: node-modules\nenableGlobalCache: false" >> .yarnrc.yml
yarn init
yarn add @hckr_/blendid
yarn blendid init
yarn blendid

This will create default src and config files in your directory and start compiling and live-updating files! Try editing them and watch your browser auto-update!

Import existing WordPress site

You can import existing pages and posts into the project from any WordPress instance by running import-wp task:

yarn blendid import-wp --url https://example.worpress.com --pages --posts

Pages are imported into src/html. Post are imported into src/data/posts. You can then add generate.json and html.collections: ["posts"] into your task-config.mjs to be used in your templates.

Publish to npm

yarn npm login
yarn npm publish --access public --tag latest

About

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.3%
  • Nunjucks 3.8%
  • CSS 1.8%
  • HTML 0.1%