TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Auto Wiki – Turn your codebase into a Wiki

183 点作者 oshams超过 1 年前
Hi HN! I’m Omar from Mutable.ai. We want to introduce Auto Wiki (<a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;</a>), which lets you generate a Wiki-style website to document your codebase. Citations link to code, with clickable references to each line of code being discussed. Here are some examples of popular projects:<p>React: <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;facebook&#x2F;react">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;facebook&#x2F;react</a><p>Ollama <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;jmorganca&#x2F;ollama">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;jmorganca&#x2F;ollama</a><p>D3: <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;d3&#x2F;d3">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;d3&#x2F;d3</a><p>Terraform: <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;hashicorp&#x2F;terraform">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;hashicorp&#x2F;terraform</a><p>Bitcoin: <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;bitcoin&#x2F;bitcoin">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;bitcoin&#x2F;bitcoin</a><p>Mastodon: <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;mastodon&#x2F;mastodon">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;mastodon&#x2F;mastodon</a><p>Auto Wiki makes it easy to see at a high level what a codebase is doing and how the work is divided. In some cases we’ve identified entire obsolete sections of codebases by seeing a section for code that was no longer important. Auto Wiki relies on our citations system which cuts back on hallucinations. The citations link to a precise reference or definition which means the wiki generation is grounded on the basis of the code being cited rather than free form generation.<p>We’ve run Auto Wiki on the most popular 1,000 repos on GitHub. If you want us to generate a wiki of a public repo for you, just comment in this thread! The wikis take time to generate as we are still ramping up our capacity, but I’ll reply that we’ve launched the process and then come back with a link to your wiki when it’s ready.<p>For private repos, you can use our app (<a href="https:&#x2F;&#x2F;app.mutable.ai">https:&#x2F;&#x2F;app.mutable.ai</a>) to generate wikis. We also offer private deployments with our own model for enterprise customers; you can ping us at info@mutable.ai. Anyone that already has access to a repo through GitHub will be able to view the wiki, only the person generating the wikis needs to pay to create them. Pricing starts at $4 and ramps up by $2 increments depending on how large your repo is.<p>In an upcoming version of Auto Wiki, we’ll include other sources of information relevant to your code and generate architectural diagrams.<p>Please check out Auto Wiki and let us know your thoughts! Thank you!

42 条评论

teraflop超过 1 年前
Cool concept. Right off the bat I see some big issues with the generated CPython documentation:<p>&gt; This provides a register-based virtual machine that executes the bytecode through simple opcodes.<p>Python&#x27;s VM is stack-based, not register-based.<p>&gt; The tiered interpreter in …&#x2F;ceval.c can compile bytecode sequences into &quot;traces&quot; of optimized microoperations.<p>No such functionality exists in CPython, as far as I know.<p>&gt; The dispatch loop switches on opcodes, calling functions to manipulate the operand stack. It implements stack manipulation with macros.<p>No it doesn&#x27;t. If you look at the bytecode interpreter, it&#x27;s full of plain old statements like `stack_pointer += 1;`.<p>&gt; The tiered interpreter is entered from a label. It compiles the bytecode sequence into a trace of &quot;micro-operations&quot; stored in the code object. These micro-ops are then executed in a tight loop in the trace for faster interpretation.<p>As mentioned above, this seems to be a complete hallucination.<p>&gt; During initialization, …&#x2F;pylifecycle.c performs several important steps: [...] It creates the main interpreter object and thread<p>No, the code in this file creates an internal thread <i>state</i> object, corresponding to the already-running thread that calls it.<p>&gt; References: Python&#x2F;clinic&#x2F;import.c.h The module implements finding and loading modules from the file system and cached bytecode.<p>This is kinda sorta technically correct, but the description never mentions the crucial fact that most of this C code only exists to bootstrap and support the <i>real</i> import machinery, which is written in Python, not C. (Also, the listed source file is the wrong one: it just contains auto-generated function <i>wrappers</i>, not the actual implementations.)<p>&gt; Core data structure modules like …&#x2F;arraymodule.c provide efficient implementations of homogeneous multidimensional arrays<p>Python&#x27;s built-in array module provides only one-dimensional arrays.<p>And so on.
评论 #38918375 未加载
评论 #38917233 未加载
hk__2超过 1 年前
That’s nice but the name is confusing: it’s not generating a wiki at all, but a documentation website with a Wikipedia-like theme. Wikis are collaborative websites; Wikipedia is only one of them.
评论 #38921804 未加载
评论 #38919753 未加载
velox_neb超过 1 年前
Reading these wikis makes me feel we need to invent some visual convention to indicate AI-generated text. Like a particular color or font. This would make it so people don&#x27;t feel cheated after they realize they just spent several minutes trying to make sense of something churned out by an LLM. (I mean this as a voluntary design enhancement for sites that want to be nice, of course people can always cheat.)
评论 #38921484 未加载
评论 #38921625 未加载
评论 #38919635 未加载
8organicbits超过 1 年前
I think this falls into a common mistake people make about documentation. Good documentation doesn&#x27;t explain what the code does, it explains why the code is written the way it is, the constraints that caused this decision to be made and even alternatives not considered. You cant really guess those things by looking a code. I&#x27;m a fan of ADRs for that reason.<p>Honestly this looks overly verbose to me, a common LLM problem. The mistakes others cite, are also pretty concerning.<p><a href="https:&#x2F;&#x2F;adr.github.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;adr.github.io&#x2F;</a>
评论 #38925506 未加载
paxys超过 1 年前
The entire point of a Wiki is that it can be collaboratively edited. This is static documentation, just with a Wikipedia-like UI.
评论 #38917918 未加载
评论 #38939553 未加载
CGamesPlay超过 1 年前
I&#x27;d love to see the wiki generated for a less already-documented example. These high-profile projects are good demos and the results look compelling (I checked out AutoGPT&#x27;s and NeoVim&#x27;s), but these projects already have a ton of documentation that helps the model substantially. What are the smaller projects where it has to generate documentation from code (and not necessarily well-commented code) rather than existing documentation?
评论 #38916973 未加载
TheEzEzz超过 1 年前
Super cool. When I think about accelerating teams while maintaining quality&#x2F;culture, I think about the adage &quot;if you want someone to do something, make it easy.&quot;<p>Maintaining great READMEs, documentation, onboarding docs, etc, is a lot of work. If Auto Wiki can make this substantially easier, then I think it could flip the calculus and make it much more common for teams to invest in these artifacts. Especially for the millions of internal, unloved repos that actually hold an org together.
评论 #38918389 未加载
Amigo5862超过 1 年前
The only thing I see that this adds over existing docs-to-HTML tooling is that it uses a wikipedia-inspired theme.<p>Meanwhile on the negative side, it adds hallucinations. You say you &quot;cut back&quot; on them but as teraflop&#x27;s comment shows, it still has plenty.<p>BTW: even the Mastodon link from your OP says &quot;wiki not found&quot; for me.
pbowyer超过 1 年前
Would be great to see for <a href="https:&#x2F;&#x2F;github.com&#x2F;symfony&#x2F;symfony">https:&#x2F;&#x2F;github.com&#x2F;symfony&#x2F;symfony</a>, thanks! As that&#x27;s a monorepo it may provide a challenge to the tool.
评论 #39018272 未加载
评论 #38916992 未加载
erwan577超过 1 年前
My repo suggestions :<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sqlite&#x2F;sqlite">https:&#x2F;&#x2F;github.com&#x2F;sqlite&#x2F;sqlite</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;jart&#x2F;cosmopolitan">https:&#x2F;&#x2F;github.com&#x2F;jart&#x2F;cosmopolitan</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;dolphin-emu&#x2F;dolphin">https:&#x2F;&#x2F;github.com&#x2F;dolphin-emu&#x2F;dolphin</a> <a href="https:&#x2F;&#x2F;gitlab.inria.fr&#x2F;mpfr&#x2F;mpfr" rel="nofollow">https:&#x2F;&#x2F;gitlab.inria.fr&#x2F;mpfr&#x2F;mpfr</a>
eduardosalaz超过 1 年前
Does it parse Julia files? I am having trouble with generating the wiki for a Julia repository, what surprised me was that it could parse and understand .tex files! Looks promising.
评论 #38916450 未加载
oshams超过 1 年前
FYI an update from us: We&#x27;re moving our authentication system to wiki.mutable.ai so you can generate them for private wikis without needing to go through app.mutable.ai.
comex超过 1 年前
[Edit: Apparently I’m reviewing the wrong product; see replies.]<p>I tried the app version on one of my old repos. It’s a somewhat challenging test case because there are few comments and parts of the code are incomplete, though I’d say the naming convention is pretty good. The app suggested the question “What is the purpose of the ‘safemode-ui-hook.m’ file?” I accepted the suggestion, and the output was… completely wrong.<p>I’m not surprised it guessed the purpose wrong; even a human would need some context to understand what’s going on in that particular file, though of course the AI did worse by being confidently wrong rather than saying it didn’t know. But the AI also made specific claims that could be seen as wrong just by reading the file. It claimed the file “defines a SUBSTITUTE_safemodeUIHook C struct” when neither that struct name nor anything like it appears anywhere in the file. The name seems to just be mashed together from the repo name and file name.<p>Which makes me wonder, did the AI even see the content of the file? Is it pre-summarized somehow in a way that makes it know very little about the file? Or did the AI see it in full, but hallucinate anyway?
评论 #38916943 未加载
sysread超过 1 年前
Why does it request write access to my repos via gh auth?
评论 #38919714 未加载
OmarShehata超过 1 年前
The Bitcoin and Mastadon links don&#x27;t seem to be working! (wiki not found)<p>Would love to see this for Godot (<a href="https:&#x2F;&#x2F;github.com&#x2F;godotengine&#x2F;godot">https:&#x2F;&#x2F;github.com&#x2F;godotengine&#x2F;godot</a>). Maybe Maplibre too (<a href="https:&#x2F;&#x2F;github.com&#x2F;maplibre&#x2F;maplibre-native">https:&#x2F;&#x2F;github.com&#x2F;maplibre&#x2F;maplibre-native</a>)!
评论 #38916753 未加载
评论 #38932259 未加载
Eiim超过 1 年前
I&#x27;ll go ahead and put in a request for my own repo: Eiim&#x2F;Chokistream<p>In the meantime, I have a different bit of feedback: the categories don&#x27;t make much sense to me. I can&#x27;t find a consistent theme in &quot;Tooling&quot;, Bun isn&#x27;t really a frontend library (although it has frontend components like a bundler), I don&#x27;t know much about Urbit but it doesn&#x27;t look like it belongs in &quot;Crypto&quot; (just a P2P network with a crypto-adjacent userbase), iptv-org&#x2F;iptv doesn&#x27;t seem to make sense in Education, etc.<p>Also, a number of the links in the Bun page (the ones not in monospace) are 404s. I don&#x27;t see those types of links on other pages so maybe a bug that was fixed but not backported?<p>Edit: It&#x27;d also be nice if the search bar could just search for repo name instead of having to remember the associated GH user
评论 #39079284 未加载
perpil超过 1 年前
For a wilder idea of what you can do with GitHub and wikis see <a href="https:&#x2F;&#x2F;speedrun.cc" rel="nofollow">https:&#x2F;&#x2F;speedrun.cc</a> No AI, so the wikis need to be hand created, but being able to build tools and UIs right into your GitHub documentation is a powerful concept.
chaorace超过 1 年前
Let&#x27;s see how it fares against a Nix flake: <a href="https:&#x2F;&#x2F;github.com&#x2F;hyprland-community&#x2F;hyprland-nix">https:&#x2F;&#x2F;github.com&#x2F;hyprland-community&#x2F;hyprland-nix</a>
评论 #38975835 未加载
评论 #38920356 未加载
elicksaur超过 1 年前
How are you going to handle this scenario:<p>- Person reads your auto wiki explanation of some part of a codebase.<p>- The explanation is incorrect.<p>- The person, believing your explanation as authoritative, complains to the developers of the codebase. Maybe opens an issue on an open-source project, posts on a discord or the like.<p>- The maintainers now have to deal with this misinformation adding overhead to their workload.<p>As someone who has helped others who were led astray by ChatGPT, this setup adds a ton of mental baggage to the person’s ask for help. They now have “But ChatGPT said…” to contradict the actually correct thing that you are trying to teach them.
评论 #38920476 未加载
TachyonicBytes超过 1 年前
As long as this is happening, might as well try some of my favorites: <a href="https:&#x2F;&#x2F;github.com&#x2F;wasm3&#x2F;wasm3">https:&#x2F;&#x2F;github.com&#x2F;wasm3&#x2F;wasm3</a>, <a href="https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;wabt">https:&#x2F;&#x2F;github.com&#x2F;WebAssembly&#x2F;wabt</a>, <a href="https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasmtime">https:&#x2F;&#x2F;github.com&#x2F;bytecodealliance&#x2F;wasmtime</a>
评论 #38917679 未加载
评论 #38932280 未加载
评论 #38953812 未加载
评论 #38940172 未加载
评论 #38920524 未加载
solarkraft超过 1 年前
I&#x27;d quite like some more high level documentation for the Matrix JS SDK (<a href="https:&#x2F;&#x2F;github.com&#x2F;matrix-org&#x2F;matrix-js-sdk">https:&#x2F;&#x2F;github.com&#x2F;matrix-org&#x2F;matrix-js-sdk</a>). I&#x27;ve been looking at it for quite some time and still don&#x27;t understand how timelines work. Would bw fascinating if your tool could bring something useful to light.
评论 #38975829 未加载
评论 #38918543 未加载
danmur超过 1 年前
Love how github is basically a synonym for git now. I&#x27;m sure it&#x27;s fine, homogeneity works so well everywhere else. Robust.
codetrotter超过 1 年前
When I click the link <a href="https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;bitcoin&#x2F;bitcoin">https:&#x2F;&#x2F;wiki.mutable.ai&#x2F;bitcoin&#x2F;bitcoin</a> from your post it says that the wiki doesn’t exist yet<p>Then when I clicked again it loaded.<p>Then I clicked the one for D3 and it said the same. And I clicked it again and it still said the same.<p>Is this some kind of weird manifestation of a DB conn error or something?
评论 #38917633 未加载
huevosabio超过 1 年前
Love the idea! I will try it on my own repo!<p>As an aside, I&#x27;ve been thinking of creating an auto-wiki for game lore based on what AI npcs say, i.e. convert their hallucinations into canon.<p>How was your experience of taking unstructured text (though code is more structured) and making it into wikis?<p>How difficult is to have it do incremental updates vs re-create it all?
评论 #38916988 未加载
noone_youknow超过 1 年前
Nice! I’d be interested to see how it handles <a href="https:&#x2F;&#x2F;github.com&#x2F;rosco-m68k&#x2F;rosco_m68k">https:&#x2F;&#x2F;github.com&#x2F;rosco-m68k&#x2F;rosco_m68k</a> , it’s a mixed software &#x2F; hardware repo, with a lot of code in assembler and C (for an old platform). Might be a challenge?
评论 #38975819 未加载
评论 #38919861 未加载
localhost超过 1 年前
Would it scale to something like the Linux kernel? How much would it cost to process something of that size?
评论 #38917060 未加载
评论 #38916894 未加载
评论 #38919692 未加载
ryan_platofy超过 1 年前
Not sure if too late, but I would love to see this applied to the docassemble repo- <a href="https:&#x2F;&#x2F;github.com&#x2F;jhpyle&#x2F;docassemble">https:&#x2F;&#x2F;github.com&#x2F;jhpyle&#x2F;docassemble</a>.<p>Looks fantastic!
holoduke超过 1 年前
I dont like this. What i would like is somekind of virtual layer on top of the codebase which describes the code just a little better. But only by changing variable names, code build up. Not by adding comments. Because good code doesnt need to have comments everywhere.
JadedBlueEyes超过 1 年前
I&#x27;d quite like to see this applied to the FoundationDB repository - <a href="https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;foundationdb">https:&#x2F;&#x2F;github.com&#x2F;apple&#x2F;foundationdb</a> Thanks!
stevage超过 1 年前
Please do stevage&#x2F;map-gl-utils<p>And turfjs&#x2F;turf<p>Feedback: it&#x27;s confusing that you&#x27;re using the word wiki. I guess you mean, the style is similar to Wikipedia? But otherwise the concept of a wiki, an editable set of interconnected pages, seems irrelevant and just confusing here?
评论 #38975823 未加载
评论 #38918525 未加载
vinibrito超过 1 年前
Wow, looks nice! I almost felt like I could understand Bitcoins code xD<p>Could you do Appwrite? <a href="https:&#x2F;&#x2F;github.com&#x2F;appwrite&#x2F;appwrite">https:&#x2F;&#x2F;github.com&#x2F;appwrite&#x2F;appwrite</a><p>I&#x27;m not affiliated to them, just wanted to get started hacking it.
评论 #38917197 未加载
评论 #38917202 未加载
评论 #38975824 未加载
int_19h超过 1 年前
I&#x27;d love to see what it can do with <a href="https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;debugpy">https:&#x2F;&#x2F;github.com&#x2F;microsoft&#x2F;debugpy</a> - and especially how it would handle vendored dependencies.
评论 #38940230 未加载
评论 #38917402 未加载
issung超过 1 年前
Trying to use <a href="https:&#x2F;&#x2F;app.mutable.ai&#x2F;Issung&#x2F;GChan">https:&#x2F;&#x2F;app.mutable.ai&#x2F;Issung&#x2F;GChan</a> Error: &quot;Encounter an error with retriving your quota&quot;.
e28eta超过 1 年前
Should all the repos in the “Explore” section already be generated? I clicked on apple&#x2F;swift from the Languages tab and got “Wiki not found”, which isn’t what I expected to see
评论 #38916568 未加载
faizshah超过 1 年前
I would like to see how it performs on a lesser known project with less stars, these are all well known projects which would exist in the training data in blog posts etc.
评论 #38917215 未加载
oshams超过 1 年前
FYI, we fixed the issue that was causing people to not see wikis on the initial load. Thank you for the feedback!
raybb超过 1 年前
Could you generate one for internet archive&#x27;s Openlibrary.org GitHub repo?
评论 #38923323 未加载
rcarmo超过 1 年前
I’m game. Here’s two outliers: rcarmo&#x2F;sushy and piku&#x2F;piku.
评论 #38919930 未加载
RamblingCTO超过 1 年前
At least you have a big red flag of projects using that and you can keep your distance<p>Why I&#x27;m saying that? I use GitHub Copilot on a daily basis and it utterly fucks us over on a daily basis as well. You have to be really careful to trust the generated code. Especially boilerplate code is hard to look through. So I wouldn&#x27;t trust any auto-generated anything that wasn&#x27;t manually verified (which I argue is more error prone than writing it manually in the first place). And then there&#x27;s always the argument of &quot;document why you did it like that&quot;, not &quot;document what the code does&quot;. Of the former, you&#x27;ll have no records in your code.
rsaarelm超过 1 年前
Some notable open-source games and engines I&#x27;d like to see:<p><pre><code> NetHack&#x2F;NetHack angband&#x2F;angband crawl&#x2F;crawl tmewett&#x2F;BrogueCE wesnoth&#x2F;wesnoth freeciv&#x2F;freeciv godotengine&#x2F;godot CleverRaven&#x2F;Cataclysm-DDA OpenTTD&#x2F;OpenTTD spring&#x2F;spring 0ad&#x2F;0ad the-infocom-files&#x2F;zork1 s-macke&#x2F;starflight-reverse keendreams&#x2F;keen id-Software&#x2F;wolf3d id-Software&#x2F;DOOM id-Software&#x2F;Quake id-Software&#x2F;Quake-2 id-Software&#x2F;Quake-III-Arena id-Software&#x2F;DOOM-3-BFG xu4-engine&#x2F;u4 exult&#x2F;exult scummvm&#x2F;scummvm</code></pre>
rsaarelm超过 1 年前
Some fun hard cases<p><pre><code> rdacomp&#x2F;CollapseOS A Forth operating system for 8-bit computers Co-dfns&#x2F;Co-dfns A compiler in APL Xe&#x2F;TempleOS A very special operating system</code></pre>
guites超过 1 年前
Requesting <a href="https:&#x2F;&#x2F;github.com&#x2F;lobsters&#x2F;lobsters">https:&#x2F;&#x2F;github.com&#x2F;lobsters&#x2F;lobsters</a> as I&#x27;m going through that codebase and would be able to provide feedback. cheers<p>ps. just gonna second everyone else who&#x27;s saying being able to edit out incorrect data is very important, otherwise people are gonna be weary of reading repos they aren&#x27;t already familiar with.
评论 #38975804 未加载
评论 #38919679 未加载