{"id":13571171,"url":"https://github.com/lithammer/go-wiki","last_synced_at":"2026-01-14T19:59:40.727Z","repository":{"id":24166068,"uuid":"27556281","full_name":"lithammer/go-wiki","owner":"lithammer","description":"A simple HTTP server rendering Markdown styled documents","archived":true,"fork":false,"pushed_at":"2015-06-16T06:58:06.000Z","size":5297,"stargazers_count":302,"open_issues_count":2,"forks_count":23,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-08-14T12:38:37.731Z","etag":null,"topics":["go","wiki"],"latest_commit_sha":null,"homepage":"http://lithammer.github.io/go-wiki","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lithammer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-04T19:28:14.000Z","updated_at":"2025-07-19T19:26:32.000Z","dependencies_parsed_at":"2022-08-22T10:40:45.125Z","dependency_job_id":null,"html_url":"https://github.com/lithammer/go-wiki","commit_stats":null,"previous_names":["renstrom/go-wiki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lithammer/go-wiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithammer%2Fgo-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithammer%2Fgo-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithammer%2Fgo-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithammer%2Fgo-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lithammer","download_url":"https://codeload.github.com/lithammer/go-wiki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lithammer%2Fgo-wiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","wiki"],"created_at":"2024-08-01T14:00:59.504Z","updated_at":"2026-01-14T19:59:40.713Z","avatar_url":"https://github.com/lithammer.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Go Wiki\n\nA simple HTTP server rendering Markdown styled documents on the fly and optionally shows its git history including diffs.\n\n**NOTE** This is toy project to help me learn Go, so don't run this on anything publically available.\n\n![Screenshot1](https://cloud.githubusercontent.com/assets/177685/5720761/2337178e-9b29-11e4-8a86-224f7905b3f6.png)\n\n## Installation\n\n```bash\n$ go get github.com/renstrom/go-wiki\n$ $GOPATH/bin/go-wiki \u003cpath to wiki directory\u003e\n```\n\n## Customize\n\nIt's only possible to customize the CSS. Put all your customizations in a file of your choosing and point to it using the `--custom-css` flag.\n\n```bash\n$ go-wiki ~/www/wiki --custom-css=\u003cpath to custom css\u003e\n```\n\n## Usage\n\nCreate git repository containing your Markdown formatted wiki pages.\n\n### On the server\n\nCreate an empty repository.\n\n``` bash\n$ mkdir -p ~/www/wiki \u0026\u0026 cd $_\n$ git init\n$ git config core.worktree ~/www/wiki\n$ git config receive.denycurrentbranch ignore\n```\n\nSetup a post-receive hook.\n\n``` bash\n$ cat \u003e .git/hooks/post-receive \u003c\u003cEOF\n#!/bin/sh\ngit checkout --force\nEOF\n$ chmod +x .git/hooks/post-receive\n```\n\nStart the server.\n\n``` bash\n$ go-wiki ~/www/wiki\n```\n\n### On your local machine\n\nReplace `\u003cuser\u003e` and `\u003chost\u003e` with credentials for your specific machine.\n\n``` bash\n$ git init\n$ git remote add origin \\\n    ssh://\u003cuser\u003e@\u003chost\u003e/home/\u003cuser\u003e/www/wiki\n```\n\nNow create some Markdown file and push.\n\n``` bash\n$ git add index.md\n$ git commit -m 'Add index page'\n$ git push origin master\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flithammer%2Fgo-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flithammer%2Fgo-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flithammer%2Fgo-wiki/lists"}