playing with mithril.js
see: https://archimoebius.github.io/ for an example
cloc must be installed
On Fedora:
sudo dnf install cloc git npm
- 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/"
}
]
}
- 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/
- Review it
npm run start
- Build it
npm run build