A minimal, static, content focused and super light weighted blogging tool. For humans.
- Make sure you have:
- Node.js >= 5.0.0 (use
$ node -v
to print the version (you can use the libraryn
to switch Node.js version)) - NPM
- Node.js >= 5.0.0 (use
- Clone this repo into your
username.github.io
repo (GitHub Pages) - Cd into the repo path:
$ cd username.github.io
- Install dependencies:
$ npm install
- Start:
$ npm start
and you will see the server running on port 3000 Open http://localhost:3000 in your browser- Manage your site / write posts, any change will trigger the static site building automatically (yeah, in this root directory)
- Git push
Terminal arguments:
- Custom port number:
$ node index.js --port=2000
- Do not open in the browser automatically when starting up:
$ node index.js -s
Develop build:
- Install the latest version of electron-prebuilt, which supports ES6:
$ electron -v
>= 1.1.1. $ npm run prebuild-desktop
$ npm run electron
Production build:
- Install electron-packager globally:
$ npm i electron-packager -g
$ electron-packager . innsbruck --out=build --platform=darwin --arch=x64 --version=1.1.1 --overwrite
- Built app will be in the
build
folder
TODO.
TODO.
See /plugin/google-fonts.js.
- Accessibility
- Custom CSS
- Google Analytics
- Disqus
Supports<noscript>
tag- Plugin System
- by Shu Ding
- koa, ejs, lowdb, marked
- MIT licensed
<3, bye!