Live data from Hacker News

Ask HN: Apps that are built with Git as the back end?

news.ycombinator.com

61–68 of 68 posts

Re: Ask HN: Apps that are built with Git as the back end?

#62
post #60

The Office 365 backend uses git to store snapshots of documents. [1] https://github.com/microsoft/FluidFramework/tree/main/server...

That is not exactly what it says. It says it uses a content-adressable system and you can talk to it as if it was git.

And the content-adressable filesystem that it uses is git [1]. It uses git with a javascript implementation of it [2] or node bindings to a c one [3].

1. https://github.com/microsoft/FluidFramework/tree/main/server...

2. https://github.com/isomorphic-git/isomorphic-git

3. https://github.com/nodegit/nodegit

Re: Ask HN: Apps that are built with Git as the back end?

#64

Tim Caswell has several projects that interact directly with git. He has a few websites served directly from a bare git repo powered by https://github.com/creationix/wheaty . Another project that uses git as a storage medium is a package server for the node.js API implemented in Lua: https://github.com/luvit/lit . Both serve files from a git repository, and lit will actually write to the repository. There are several…

Also spent a few minutes browsing around and found https://github.com/creationix/tedit , a web based editor that reads and writes directly to git (I think). Like I said Tim has quite a few projects that interact directly with git.

Yep, I've got lots of experience in this area. It works very well for read-only use cases and is interesting for read-write like tedit. Also it's amazing for build systems like the one built into tedit. I wish the webdev world in general would move to that model. It would save so much compute people would joke it would slow global warming.

Re: Ask HN: Apps that are built with Git as the back end?

#65
my project :)

https://doggos.com/add-business/

when you submit this form, a PR is created with githubs pull request API and a build is triggered on vercel. but the site is static and has no backend otherwise. if building the PR passes, the new link is aliased to production

Re: Ask HN: Apps that are built with Git as the back end?

#66
post #41

Twitter distributes config files across their entire fleet (hundreds of thousands of machines) using git and a cron job. Commit your config change, wait a few minutes and there it is. Source: I’m a former tweep.

That's not exactly how that worked - configuration files and build artifacts were delivered by either puppet/ansible or via Murder (bt-style p2p). If there was cron involved, it was to schedule starting the puppet client on the node. The puppet manifests and every project's source was in git, but nothing went directly from git to a machine (unless internal tooling regressed dramatically after 2013).

Source: also former Tw (2008-2013)

Post reply on HN