frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The GitHub wiki is an anti-pattern

https://michaelheap.com/github-wiki-is-an-antipattern/
60•ibobev•1h ago

Comments

stephenlf•1h ago
I agree with this post. I’ve never found the GitHub wiki experience to be particularly ergonomic. I don’t have any issues with it, but it’s no more convenient than a simple /docs folder. And from there, it’s almost trivial to turn /docs into GitHub pages. Similar effort for a much better end product.

Wikis typically connote distributed, anonymous edits. This feature is partially covered by git already.

cxr•43m ago
> I’ve never found the GitHub wiki experience to be particularly ergonomic.

That's because the original sin of GitHub "wikis" is that they weren't (and most of them still aren't) even wikis. There's this perverse thing that happened during the wiki age, where people unable or unwilling to get on board decided to just start calling things "wikis" even though they exemplify the very thing that the wiki was invented as a response to. The reckless debasing of the word then infected adjacent spaces. Sourcehut's "read-only wikis" (wat) aren't even designed to be edited in the browser; on Sourcehut, "Publishing your changes is as easy as committing them and pushing them upstream." Newsflash: That's not a wiki.

masklinn•22m ago
Yeah you can configure gh “wikis” to be freely editable but that’s not the default and most of them are not,
hn1rig3rak•1h ago
Biggest thing for me is wiki edits skip code review, so docs rot silently while a /docs PR at least shows up in the diff next to the change.
freedomben•1h ago
Indeed, and also now with agents everywhere the docs can be updated and checked more regularly. If it's in the wiki, you can clone it locally and put an AGENTS.md line informing of where the docs are, but it's still a separate repo to deal with. Credit where due, it was a revolution (even a godsend) in it's time, but at this point I agree a /docs is better.
nchmy•49m ago
im having trouble connecting the dots here. How does adding the friction of code review reduce rot?
anon48293•40m ago
You can spot a code change without a docs change or vice versa
chungy•1h ago
Fossil (https://fossil-scm.org/home/doc/trunk/www/index.wiki) solves this pretty nicely. You can have documentation as files or in a special wiki namespace and it's versioned both ways, and every repository clone gets everything. Even better than that, your in-tree documentation files are rendered and browseable in exactly the same way as the dedicated wiki namespace.

The linked URL to the home page there can even serve as an example: the "trunk" is a check-in name (https://fossil-scm.org/home/doc/trunk/www/checkin_names.wiki) that points to the newest check-in on the "trunk" branch. You can replace it with any other reference to get the old version; eg, version-2.20 would work to get the version 2.20 of the docs, 2015-03-14 would work to get the version from 14 March 2015, etc.

YPCrumble•45m ago
Why is this easier or more effective than just a /docs directory?
gatlin•42m ago
Parent comment linked to that answer.
mghackerlady•43m ago
Fossil is the best. Sqlite uses it
bocklund•1h ago
Interesting because I just added a wiki for one of my projects. I'm not using it for docs, since the project already has in-tree docs. I'm using it more as a public scratchpad of ideas / experiments to try that aren't well-defined enough (or known to be worth) opening as an issue yet.
mikeocool•58m ago
In my experience, the docs for something like setting up a dev env are typically greatly improved by the second person who sets up the dev env, not the personal who originally wrote the docs.

In that case, when the docs are not associated with a code change, you want to make getting those improvements into the docs as frictionless as possible, otherwise the changes aren't going to get made.

Personally, I've found that making docs updates incredibly fast + easy to be far more valuable than anything you get from forcing doc changes through the full SDLC process. If someone has feedback on your docs changes they would have shared in a review, they can just update the docs instead.

wavemode•56m ago
You can set up automation and/or configuration such that changes to the docs folder don't require code review.
juancn•54m ago
That could be easily be corrected by relaxing merge gates for changes only to the `docs` folder (or some suitable naming pattern).

You can even do live edits on the web if you don't want to use a command line.

jameshart•28m ago
Corrections and improvements to docs are just a bugfix though?
yunwal•15m ago
> In my experience, the docs for something like setting up a dev env are typically greatly improved by the second person who sets up the dev env, not the personal who originally wrote the docs.

In my experience, this is also true of a lot of code as well. Your dev scripts should probably have much more relaxed standards than your service source or CI/CD. Ideally I could define merge requirements by directory without doing some weird shenanigans with the CODEOWNERS file and a bot.

jdxcode•58m ago
i was going to say the biggest reason wasn't mentioned here, that github sets Disallow: /*/wiki*

however I think maybe this has changed? I don't see it in https://github.com/robots.txt now

david_allison•49m ago
They're not indexed if they're publicly editable
jdxcode•46m ago
also the repo needs 500+ stars https://docs.github.com/en/communities/documenting-your-proj...
_itsRoze•49m ago
It's likely also better that agents seeing versioned /docs can understand the context of changes to the codebase better.
knose•46m ago
nit: ”Using the /docs folder is the highest effort-to-reward ratio option” shouldn’t it be lowest or reward-to-effort instead?
ierukah•42m ago
In Forgejo, wikis are just another repo, so you have versioning there.
isityettime•33m ago
That's also true on GitHub: https://docs.github.com/en/communities/documenting-your-proj...

and on GitLab: https://docs.gitlab.com/user/project/wiki/

It sounds like the whole argument here is that the commits in the docs repo aren't identical commits in the source code repo. But you can ameliorate that with something like tags or submodules.

dayyan•38m ago
Duh.
shevy-java•32m ago
The Github wiki is pretty bad. However had, it is easier to use than issues and coordinating them. Github issues require too much cross-communication and not everyone has the time to meta-coordinate many different issues in many different projects. A wiki lowers the entry-barrier too, so the idea of a wiki is, in principle, good.

If I were Github I would improve the wiki, a bit stylistically, to make it more visually pleasing to use (but not much, those designers always go overboard when making changes in my experience), but much more importantly so, to make the wiki a more flexible addition, including API-wise, usage examples, documentation and so forth. People can, in principle, do so on their own, but also from experience, most people stop doing so after a while, and then the wiki decays into outdated information. That's bad too. Spawning more issues to manage the wiki also does not work well.

preisschild•30m ago
In Gitlab the wiki is just a separate git repo. Is this not the case with GitHub?
masklinn•26m ago
It is. Although it’s a hidden git repo with none of the GitHub tooling.
a1o•22m ago
I really wanted the wiki to at minimum have directories so they would be easier to structure and allow even for major versions that are maintained in parallel.
a4isms•22m ago
The second paragraph neatly triggered my confirmation bias:

The initial version of this post opened with “You can use the wiki or a docs folder for your GitHub project, both are valid choices” but as I wrote more, I realised that there is a single reason to use a wiki, and many more reasons not to use the wiki. So many in fact, that I consider using the wiki on GitHub is an anti-pattern.

A very straightforward example of McCulloch's quote that "Writing is thinking."

esafak•21m ago
Yes, and the rest of it is too; there's another outage today and my CI is blocked. I guess I can read the wikis while I wait, eh?? https://www.githubstatus.com/
00kee0d•18m ago
You own it now, I'll quote you on that!
flobosg•15m ago
(2022)
ghusto•10m ago
I've never understood why people even _generate_ from the docs folder. If you've written it in markdown (which they nearly always do) then it's already rendered properly in Github. Or is it because they then publish those docs somewhere else?
sholladay•8m ago
A lot of GitHub’s secondary features are like this. The Issues tab and Discussions tab are so similar, with slightly different feature sets. And users will happily use both for feature requests and bug reports, with varying degrees of quality, so then I just have yet another thing to stay on top of. I think Discussions were made to reduce noise in very busy repos, but I generally find something useful in the noise. It’s really just a way to ignore users. As a result, I always turn off Discussions and just let people file issues when they feel it’s appropriate.
jjice•7m ago
I agree, but my only gripe is I hate the ceremony required for doc-only updates. It needs a review and CI. The review is a good thing in most cases (want your docs to be correct), but that often takes my team like two days (I'm realizing this is likely our fault now that I'm typing this). For CI, I've just added in a step to all our GitHub actions to skip Markdown only changes. Anyone have any better ideas?

Claude Code reads AGENTS.md only when telemetry is on

https://blog.szypowi.cz/p/claude-code-reads-agents.md-only-when-telemetry-is-on/
260•pszypowicz•2h ago•121 comments

The GitHub wiki is an anti-pattern

https://michaelheap.com/github-wiki-is-an-antipattern/
64•ibobev•1h ago•40 comments

I Don't Want the Details

https://michaelheap.com/i-dont-want-the-details/
82•mooreds•1h ago•61 comments

Jev in 25 Lines of Python

https://www.nobodywho.ai/posts/jev-in-25-lines/
401•bashbjorn•7h ago•129 comments

Z80 REPL

https://abagames.github.io/z80-repl/index.html
74•adunk•3h ago•9 comments

GPT-6 Sol and Luna

https://openai.com/index/introducing-gpt-6-sol-and-luna/
1640•OfficialTurkey•20h ago•790 comments

OpenAI is enlisting an influencer army to make it look 'good for the world'

https://www.businessinsider.com/inside-open-ai-influencer-marketing-strategy-chatgpt-ads-sponsors...
148•cdrnsf•2h ago•116 comments

Stripe built its internal AI platform

https://stripe.dev/blog/meet-stripes-knowledge-ai-platform
10•ltononro•1h ago•1 comments

Jev in practice: typed decisions, scoped authority

https://tenuo.ai/blog/jev-scoped-authority
4•niyikiza•29m ago•0 comments

Claude Opus 5.5

https://www.anthropic.com/claude-opus-5-5
1655•km144•22h ago•1008 comments

QuestDB (YC S20) Is Hiring a Sales Engineer

https://questdb.com/careers/pre-sales-engineer-north-america/
1•nhourcard•2h ago

Samsung accidentally freezes its smart fridges with a software update

https://www.androidauthority.com/samsung-accidentally-freezes-its-smart-fridges-with-a-software-u...
111•Markoff•1h ago•97 comments

Web-based IBM 1620 emulator and IPL-V from 1963

https://github.com/pkimpel/retro-1620
7•abrax3141•14h ago•2 comments

Tokens Too Cheap to Meter

https://jyn.dev/tokens-too-cheap-to-meter/
55•teoruiz•5h ago•32 comments

Two Git ignore files nobody told me about

https://mihai.dinculescu.dev/posts/two-git-ignore-files-nobody-told-me-about/
38•faithraven•3h ago•25 comments

Transit rewards

https://waymo.com/blog/2026/09/transit-rewards/
199•raybb•11h ago•244 comments

OpenAI GPT–6 Astra breaks Enigma message that has resisted solution since 2005

https://www.cryptocellar.org/bgac/the-mvueh-break.html
702•sohkamyung•1d ago•411 comments

The Price of Intelligence Is Falling Rapidly

https://marginalrevolution.com/marginalrevolution/2026/09/the-price-of-intelligence-is-falling.html
28•gotmedium•1h ago•16 comments

Comma's hands-off driving tech under investigation after 2 fatal crashes

https://techcrunch.com/2026/09/23/commas-hands-off-driving-tech-under-investigation-after-2-fatal...
13•Brajeshwar•50m ago•4 comments

Microsoft killed FoxPro in 2007. Anyway, here's FoxPro revived

https://foxscript.org/
402•boredjohnny•17h ago•220 comments

Show HN: Ive Sent It – online courier for files, with signed proof of delivery

https://ivesentit.com
13•ivesentit•2h ago•10 comments

What California is learning from solar panels built over irrigation canals

https://www.kqed.org/science/2002033/heres-what-california-is-learning-from-solar-panels-built-ov...
276•Jtsummers•1d ago•525 comments

Montreal adopts bylaw banning insults against police, municipal employees

https://www.cbc.ca/news/canada/montreal/montreal-city-council-police-9.7352920
8•MC995•17m ago•1 comments

ReBarUEFI: Resizable BAR for almost any UEFI system

https://github.com/xCuri0/ReBarUEFI
200•nateb2022•2d ago•61 comments

How did AMD Ryzen get 50% faster in two years?

https://lemire.me/blog/2026/09/18/how-did-amd-ryzen-get-50-faster-in-two-years/
407•ibobev•4d ago•167 comments

'We hacked the FBI:' Hackers say they have data on all FBI employees

https://www.404media.co/we-hacked-the-fbi-hackers-say-they-have-data-on-all-fbi-employees/
713•spenvo•20h ago•518 comments

SAML: A fractal of bad design

https://blog.trailofbits.com/2026/09/21/saml-a-fractal-of-bad-design/
295•aray07•19h ago•153 comments

Data-only attacks are easier than you think (2024)

https://www.usenix.org/publications/loginonline/data-only-attacks-are-easier-you-think
78•segfaultbuserr•10h ago•31 comments

Show HN: RxFilm Studio–Create and edit your product videos with AI agent

https://filmstudio.rxlab.app
16•zilue•2h ago•7 comments

WordPress: Unauthenticated path traversal leading to conditional RCE

https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-7hp8-65ch-5whp
214•vntok•22h ago•112 comments