/skilz

playing with mithril.js

Primary LanguageJavaScript

Skilz

playing with mithril.js

see: https://archimoebius.github.io/ for an example

Requirements

cloc must be installed

On Fedora:

sudo dnf install cloc git npm

To generate

  1. Create a .skilz file in the root of your repos The on for this repo looks like:
{
  "branch": "master",
  "description": "A web application to vizualize git based projects and their code stats as reported by CLOC.",
  "title": "Skilz",
  "links": [
    {
      "title": "View Source",
      "href": "https://github.com/ArchiMoebius/skilz/"
    }
  ]
}
  1. Generate the data for the static site
# node ./src/scripts/getData.js <repo1path> ... <repoNpath>
# Example, for the site above the following command was invoked
node ./src/scripts/getData.js ../acceptum ../arduino-remote-temperature ../breakout-clone ../cadre ../canicve.com ../charon ../enigma ../f4.9 ../fsort ../isocrypt ../janus ../joiner ../mailpipe ../mailpipe-gui ../mkdocs-canicve-plugin ../montage ../packet-maze ../rootme ../services ../skilz ../textsafe ../oneword/ ../bae ../../11.01_Games/BarClick/ ../zippy/
  1. Review it
npm run start
  1. Build it
npm run build