Giter Site home page Giter Site logo

wanderer's Introduction

wanderer

an opinionated static site generator written in Node.JS.

NOTE: This project has migrated, and was refactored and rewritten in Typescript, here.

This version remains as a record of the pre-Typescript version, but will not be maintained.

Source Code

Is it ready for production use? It's ready in the sense that I personally use it. But it's very much a tool that's made by me, for me, and thus might not be suited to your needs.

features

  • HTML templating, layouts, and partials using JS template strings.
  • Write pages in a Markdown subset, or with HTML.
  • flat file content structure. Builds the site in the exact structure as the source content, unless you change it.
  • image processing via Graphicsmagick to make web-ready images
  • as few dependencies as possible - most tools are created as subdirectories, and only uses npm packages that have zero dependencies of their own for text content. (Processing images and media requires more packages)

notes

  • For image compression to work properly, your computer needs both gm (Graphicsmagick) and pngquant installed and on the path.

usage

I made the interesting choice of having multiple nested package.json files. Running npm install in the base directory should install all of them automatically, but if for some reason that fails, you'll have to go and install dependencies in each tool manually:

cd wanderer
npm install
cd builder
npm install
cd ..
cd touch
npm install

And then:

cd wanderer
node index -i <content folderpath> -f <frame folderpath> -o <build folderpath> -c <config filepath>

If no inputs are provided, wanderer will build in the current directory, assuming that the content lives in ./content, the frame is in ./frame, and the build should output to ./build

wanderer's People

Contributors

dependabot[bot] avatar dmliao avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

neodigm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.