7 ms·
Ask HN: Review my weekend project GitTwitIt
- jmathai 17y agoI wanted to familiarize myself with a nosql database. So I decided to use mongohq which is a hosted mongodb. This site lets you send Twitter updates when you push to GitHub. GitHub provides similar functionality but it's pretty lame since you have to hand over your creds. OAuth ftw!
- chrismear 17y agoOAuth is great, but the app doesn't actually say what it's going to do with my Twitter account. Developers especially are wary of handing over access to their accounts (OAuth or not), so it might be good to summarise what your app will post before making the user authenticate.
- isamuel 17y agoStrongly agreed. "First, you'll need to login." Actually, first, I need to be told what this app does.
- jmathai 17y agoHaha, point taken. I always error (literally) on the side of conciseness. I'll add more verbage. I added better messaging and error handling since Twitter seems to be really flakey this morning.
- papachito 17y agoIs there a big difference with just using a hook like this one? http://gitorious.org/tweetthegit http://gitorious.org/tweetthegit
- jmathai 17y agoNot necessarily. Setting up the hook on GitHub's end lets you not worry about having the proper hook set up on your laptop (I guess).
- karanbhangui 17y ago*err, not error
- jmathai 17y agoI did not know that! Seriously. May I recall all the times I've misused "error".
- karanbhangui 17y agoYep, you may :D
- dualogy 17y ago"verbage" ~= verbiage?
- jmathai 17y agoThanks, added some more verbage and error handling.
- deleted 17y ago[deleted]
- MrMatt 17y agoI think I'm missing something here - doesn't GitHub already support Twitter under their service hooks?
- ErrantX 17y agoFrom below: > GitHub provides similar functionality but it's pretty lame since you have to hand over your creds. OAuth ftw!
- defunkt 17y agoGitHub's similar functionality is open source: https://github.com/pjhyett/github-services/blob/master/services/twitter.rb https://github.com/pjhyett/github-services/blob/master/servi...
- jmathai 17y agoFyi, as is this one: http://github.com/jmathai/gittwitit http://github.com/jmathai/gittwitit
- diN0bot 17y agoi really just want our dev email list to receive a post whenever someone pushes...
- kneath 17y agoYou can do that with GitHub already. Just go to the repository -> admin -> service hooks and set up the email one. Here's a pic of the screen: http://share.kyleneath.com/captures/Service_Hooks_for_kneath_s_lighthouse_burndown_-_GitHub-20091021-110101.gif http://share.kyleneath.com/captures/Service_Hooks_for_kneath...
- joshfinnie 17y agoI didn't get past the first page (since I can't sign into Twitter @ work), but I have to agree that some explanation of what the service is first would be a huge help for conversion. Also, as a pet-peeve of mine, if you are going to link to CSS and XHTML validation, make sure your website validates (in this case it doesn't).
- jmathai 17y agoHeh, the design of the site I got from a decent free template site. I didn't bother to remove (or check for that matter) the validation links. I had assumed they validated :).
- joshfinnie 17y agoI have done that before. Not a problem, just something I check when I see it. Like your idea though, definitely will try it out once I get access to Twitter.
- MicahWedemeyer 17y agoI'd never use it, but kudos for playing with a NoSQL database and making something neat. No better way to learn than by playing like this.