Skip to content
Static site generator with Component as template.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__mocks__
packages
.eslintignore
.eslintrc.js
.gitignore
.prettierrc
.travis.yml
LICENSE
README.md
babel.config.js
lerna.json
package.json
yarn.lock

README.md

okmarvin

Build Status

okmarvin is an opinionated static site generator with Component as template.

Usage

First install okmarvin with npm or yarn:

$ npm install -g okmarvin-cli

Then create a new site with:

$ okmarvin new site

You can find more commands with okmarvin command.

Developing

okmarvin is a monorepo managed with lerna.

  1. Install yarn first
  2. Clone this repo
  3. Run yarn lerna bootstrap to bootstrap

Performance

Bulid my blog on iMac (Retina 5K, 27-inch, 2017) with 40 GB 2400 MHz DDR4:

$ okmarvin build --log-level 4 --clean true
[23:51:16]: Ok Marvin, lets do it.
[23:51:16]: Collected 62 markdown files
[23:51:16]: layouts kept the same
[23:51:16]: ✨  Read in 89ms
[23:51:16]: ✨  Parsed 62 files in 303ms
[23:51:17]: ✨  Rendered 116 files in 207ms
[23:51:17]: ✨  116 files generated.
[23:51:17]: Total memory used: 97.32MB
[23:51:17]: ✨  Built in 690ms
[23:51:17]: ✨  Your site is ready under 'dist' directory.
You can’t perform that action at this time.