Show HN: A chat client built on git
github.com
github.com
I had all this tooling already to e.g. scrape all the git repositories in my projects directory, and aggregate them into an activity feed for reviewing my own productivity. A dedicated repository to git commit --allow-empty -m "..." in, for non-code work, seemed like a natural and logical enough step.
I don't work on it because I don't want to reinvent email -- a trap many have tried -- but I do want explore ways of doing content-addressed distributed messaging, and a DCVS gives you those for free.
In worldspace, every message's direct descendants form a DAG, i.e. classic threading, so messages only know about their ancestors or successors.
The "inbox" contains many independent, unrelated threads. From a client's perspective, I can see wanting to treat the inbox as a repo containing many files, each file being a thread.
From a protocol perspective, the total contents and state of the parties' inboxes is not relevant (nor particularly wise to share); but you would want to push your changeset to a thread (i.e. a new message) to your recipient. A git changeset can affect many files, which is not consistent with the semantics I'd want to convey.
Exactly what I need: the opportunity to merge when trying to read my email.
Consider using a OAuth token.
Also I think you need to slap a `npm install` in there--- I know you have node_modules in the repo but I think they don't really like being cloned.
Also, what repo is this writing to?
The repo is here:
https://github.com/git-chat-client/git-chat-messages
Also, I don't have OSX, so I'm not sure how to test that. Probably something with your git configuration or maybe my naive parsing of the logs?
var match = line.match("Subject: (.+)")
and it worked for me. I wonder if there's a more consistent way to grab the subject line from git logs.