Live data from Hacker News

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

news.ycombinator.com

21–30 of 68 posts

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

#24
Not entirely related, but using Git nonetheless: I recently wrote some proprietary software that uses LibGit2Sharp (a .NET wrapper around libgit2) to store user changes to text and some configuration in a Git repository. The text “diffs” very well by default. For the configuration (key/value pairs), I chose a subset of TOML.

The API of libgit2 is great. If you don’t need the more advanced features of Git, I recommend taking a look!

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

#25
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 others that Tim has built over the years, but those are the two that I am familiar with.

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

#26
A little different: I wrote a bespoke static site generator [1] for my personal website to allow my favorite mobile writing app to be a “frontend” that I can use to write+publish content from my phone (no code) to a Git data storage layer. An iOS Shortcut pushes every time I close my writing app. The weird part is it’s the same Git repository I also write the code parts in, so I have to take some measures to compartmentalize the two.

[1]: https://twos.dev/winter

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

#27
post #12

I have the same question, I am have a git based static generated blog, I am looking for something like 1. A git based tool to scrobble the music I am listening to, like Last.FM. 2. A status logger, I really, really miss the old MSN or GTalk days when there's a status line to show what my friends are doing or their mood. In fact most people have forgotten that's the original case for twitter. 3. A git based comment sy…

Can you elaborate why 3, a git-based comment system, is beneficial? When do comments need to be merged?

PS There is a small web sdk that enables comments on sited via github issues. see https://github.com/utterance/utterances

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

#28
We have a project that is basically an internal, stripped down version of CodePen and others like it. All code samples are stored in git.

The main challenge for something like our app is search. Git is good at creating files and managing versions/branches but not good at search files or their content. I'm not a git expert to fully backup that claim but that's been our experience. You can layer on your own search capabilities if you need it but then you might want to start asking if a full DB is better.

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

#30
I build projects with git as the hosting and backend using code that commits back to it's own repo. Usuauly it's when I need to host, run and store things - and might want to look at historic data. Using github actions, you can do this pretty simply, and free if it's open-source. E.g. https://gist.github.com/ukd1/6efdf12a19036b9edc537e64b1d331e... - a real-world example is https://github.com/ukd1/lvms-events - which each day parses some html --> ical, and hosts it in git.
Post reply on HN