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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Gkv – Git as a key-value store

43 点作者 rhgraysonii将近 10 年前

8 条评论

cbsmith将近 10 年前
My only shock here is that this wasn&#x27;t done sooner.<p>I have kind of seen Git as two tightly coupled systems (and IIRC, other VCS&#x27;s have modeled their design with a similar separation of concerns): a content addressable store, and a tagging&#x2F;tracking system for metadata.<p>I actually kind of expected that someone would eventually try out replacing one of the two with their own &quot;better&quot; system to see how that worked out, but obviously the more interesting opportunity is to see if one or both of the components might be useful for an entirely different purpose.
评论 #9782887 未加载
评论 #9781585 未加载
rhgraysonii将近 10 年前
Author here. Would be happy to answer any questions or clarify things. Its very much moreso a &#x27;fun&#x2F;useful toy&#x27; than &#x27;production software&#x27; but there are some interesting principles that tie into it.
评论 #9781275 未加载
评论 #9784928 未加载
评论 #9781557 未加载
rhgraysonii将近 10 年前
Just wanted to say thanks for all the input, pull requests, and ideas to develop this further with. :) Really appreciate it HN!
codezero将近 10 年前
Nice! I made a &quot;joke&quot; key value store that uses HFS+ xattr file system attributes <a href="https:&#x2F;&#x2F;github.com&#x2F;radiofreejohn&#x2F;xattrkv" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;radiofreejohn&#x2F;xattrkv</a><p>In the process I found a bug in one of the Darwin syscalls. Still not fixed :(
评论 #9781931 未加载
williamcotton将近 10 年前
You should make an npm module and have it conform to this: <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;abstract-blob-store" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;abstract-blob-store</a>
评论 #9781587 未加载
floatboth将近 10 年前
I made a Haskell library that uses Git as a JSON store: <a href="https:&#x2F;&#x2F;github.com&#x2F;myfreeweb&#x2F;gitson" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;myfreeweb&#x2F;gitson</a><p>Used in my website engine: <a href="https:&#x2F;&#x2F;github.com&#x2F;myfreeweb&#x2F;sweetroll" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;myfreeweb&#x2F;sweetroll</a>
TimWolla将近 10 年前
I just took a quick look at the code. This is non-persistent as it relies on the global `$ITEMS`, right? What benefit would this bring over simply storing directly into the variable?
评论 #9781572 未加载
huntermeyer将近 10 年前
Bobby!
评论 #9781928 未加载