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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Anyone interested in an offline version of Stack Overflow?

16 点作者 theolivenbaum超过 3 年前
Hi, Rafael here from https:&#x2F;&#x2F;curiosity.ai.<p>I was just talking to someone today that works in a restrictive IT environment (no internet), and the person mentioned how annoying it is to not have access to Stack Overflow. There is an open source project on GitHub (https:&#x2F;&#x2F;github.com&#x2F;tools4j&#x2F;stacked-off) that seems to provide an offline server using the public dumps, but this person found it a bit cumbersome to work with.<p>As we build a desktop search app, we could add an offline Stack Overflow integration. I was curious (!) if anyone would be interested before taking the effort to build it.<p>WDYT?

6 条评论

horsemans超过 3 年前
You may be interested in Dash, which provides offline dockets of StackOverflow across a variety of different language&#x2F;technology categories:<p><a href="https:&#x2F;&#x2F;kapeli.com&#x2F;dash" rel="nofollow">https:&#x2F;&#x2F;kapeli.com&#x2F;dash</a>
评论 #29487710 未加载
jakemauer超过 3 年前
Another option to consider that I only discovered yesterday is Kiwix: <a href="https:&#x2F;&#x2F;www.kiwix.org&#x2F;en&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.kiwix.org&#x2F;en&#x2F;</a><p>You can browse the different packages that the community has preprared, including Wikipedia and a ton of different stack exchange sites: <a href="https:&#x2F;&#x2F;docs.google.com&#x2F;spreadsheets&#x2F;d&#x2F;1lWXdwy3OIfZ1Ob2cQR707OMHSva3khTcAXZE9MK9ad8&#x2F;edit#gid=598202886" rel="nofollow">https:&#x2F;&#x2F;docs.google.com&#x2F;spreadsheets&#x2F;d&#x2F;1lWXdwy3OIfZ1Ob2cQR70...</a>
nonameiguess超过 3 年前
I&#x27;ve mentioned before that this already exists. The NSA maintains mirrors of Stack Overflow and Wikipedia that get synchronized from the Internet to classified airgapped networks once every 24 hours. I have no idea what the software is they&#x27;ve used to do it, but you could arguably file a FOIA request or something since the code they&#x27;re using has no reason to be classified. They&#x27;ve open-sourced simple tools and libraries like this in the past.
markus_zhang超过 3 年前
I&#x27;m thinking we could use Postgresql as backend, import all xml files as tables and then build a simple frontend with whatever language people are comfortable about.<p>Then you only need to do a monthly or quarterly update.
908B64B197超过 3 年前
&gt; in a restrictive IT environment (no internet)<p>I think the question is why?<p>Is it a real security risk or simply cargo culting?
vmoore超过 3 年前
One solution is to have an offline virtual machine that is configured not to speak to the public Internet, and do your coding in that. If you need to lookup something online, the host machine can do that and it can be copy and pasted from the host to the offline VM (Virtualbox allows you to do this).
评论 #29487301 未加载