{"repo":"afreeorange/bock","free":true,"listed":false,"github":"https://github.com/afreeorange/bock","clone":"git clone https://github.com/afreeorange/bock.git","description":"A small Markdown-based personal wiki in Go 🍺","language":"Go","stars":24,"topics":["wiki","go","golang","markdown","git","preact","typescript"],"license":null,"category":"productivity","readme_excerpt":"bock A small personal Markdown and git -powered wiki I wrote to teach myself Go. You can see it in action here. I have old Node and Python versions of this as well for giggles. Usage See the releases page for a few pre-built binaries. Here's how you can run this from source or with the binary respectively: Add --help to see all options. Commands build One-shot static site generation. Reads a git repository of Markdown files, renders everything to HTML, and exits. Options: - --in= &mdash; Path to article repository (required) - --out= &mdash; Output directory (required) - --with-json-files &mdash; Generate JSON alongside HTML - --with-raw-markdown-files &mdash; Generate raw markdown source files - --without-revisions &mdash; Skip git history (much faster) - --using-disk-fs &mdash; Use on-disk git instead of in-memory clone serve Builds the wiki and starts a dev server with WebSocket-based live reload. Revisions are always skipped in serve mode for speed. Additional options: - --port= &mdash; Port to serve on (default 8080) - --theme= &mdash; Theme directory on disk (defaults to ./theme/ if present.) The server watches both the article repository and the theme directory. When files change: - Article changes ( .md files) &mdash; incrementally rebuild that article only - Theme template changes ( .tsx ) &mdash; re-compile the engine and re-render all pages concurrently - Static asset changes ( static/{css,js,img} ) &mdash; copy to output without re-rendering What It Does The build","default_branch":null,"files":null,"tree":[],"storefront":"/r/afreeorange","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/afreeorange/bock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}