Hacker News new | past | comments | ask | show | jobs | submit login
StarWars + Git logs = StarLogs (starlogs.net)
365 points by artemave on April 12, 2013 | hide | past | favorite | 73 comments




I was wondering how long it would take for someone to do this and look it's been done already!


This is very cool. I also just noticed a neat quirk - if you switch tabs (I'm on chrome) the animations pause but the timer to show the text keeps ticking. So all the text bunches up at the bottom until you switch back at which point the text blob starts to fade out all together.

The page visibility api: http://www.w3.org/TR/2011/WD-page-visibility-20110602/ might be able to help with that.


Not a bad idea to respond to visibility, but to solve the blob problem it would be better to explicitly synchronize text creation and text position. This is basic in game/simulation programming: you don't want the rules of the game to change depending on the performance of the computer — it may be slower, but it should be internally consistent.

For example, have a single, explicit 'scroll position' or 'time' variable (they're equivalent in this case), increment it on a timer, and insert new text when (time mod N) rolls over.


Nice one. Thanks!



Haha, it's like "How not to write commit logs, THE MOVIE"


What terrible commit log messages: "le sigh" ?


Neat, but shouldn't it show the commits first to last?


It is a git log viewer. So it follows `git log` behaviour.


I'd still like a way to see it first-to-last, if only to get the combined nostalgia from seeing those first commits and from the music.


A lot of people requested it. Hence `reverse` option is on my todo list.


Awesome. But, shouldn't it be going from first commit to latest commit? Like telling the story of the project.

Edit: Found the repo[0] in the page source.

[0] https://github.com/artemave/StarLogs


even if not, it'd be pretty sweet if there was an option to do so.


It is an existing issue, in the repo, that could use some love.

https://github.com/artemave/StarLogs/issues/2


From now, every time I create a new repo, the first commit message is going to be "A long time ago in a galaxy far, far away".


Unfortunately it seem to scroll from newest to oldest


Continually rebasing a shared repos to keep the 'A long time ago ...' message at the top would probably be a bad idea


I wonder which open-source project has the funniest commit messages for this.

The ones from commit logs from last night seem to work quite well: http://starlogs.net/#astanway/Commit-Logs-From-Last-Night (NSFW)


I was hoping I could bung in any url and see the text scrolling, like a BBC.co.uk news item, or something. Was looking forward to reading the news in that format. Especially with the music. It kinda seemed appropriate for a certain huge UK story...


Great!!! Now I can convince my boss to change from svn to git! :D


except that it does not work on private repos =(


Sadly it sort of bugs out when the commit messages are really long: http://starlogs.net/#torvalds/linux


They don't seem to actually get any smaller (faux perspective) as they scroll up, they just scroll up and fade out... :/


It uses css 3d transforms. Maybe your browser doesn't support that?


I definitely see the letters getting smaller. Chrome Stable here.


Chrome Version 27.0.1453.12 dev Ubuntu 12.04 also not seeing the effect, though I did on my windows machine (running latest stable)


Performs as expected in Firefox release channel (20.0.1).


I don't either (Chromium 25)


This is the whole reason why I went into computer science. I watched all of my repos twice today, then I started picking repos at random. Even my non-techie "I can't work an Apple Magic Pad" big-boobed wife thinks it's super cool. Well done!!


There's small problem on how browsers respond, when we change the hash#parameter in the URL and hit ENTER in the sites where DOM is manipulated using AJAX depending on hash-value, like in this site. It doesn't get updated until we hit ENTER for second time in Chrome, reload in Firefox.

I also have a similar site that manipulates DOM depending on hash value. If you are on instamovi.com/#bourne with bourne movies listed...and you change it to instamovi.com/#bond and hit ENTER, there's no change in the DOM. You have to hit ENTER again, then the movie listing changes to Bond movies.

Similar thing happens here on starlogs.net/#repo1 to starlogs.net/#repo2

Any idea how to fix this?


Why not use the HTML5 history API? Why do people still use onhashchange? Better browser support?


This is awesome! Is the entry box for the repo supposed to go away once it finds it? It stayed there, covering the text in Chrome 27 dev on Arch... It would be cool if it disappeared.


I had that problem on Chrome 26.0.1410.63 as well. If you refresh the page (or just go directly to the URL that gets produced after you specify a repo), it won't be there.


It does on Chrome 26.0.1410.65 (osx) or Firefox or Safari

Perhaps it is because of switch to blink? Anyway, forewarned - forearmed. Thanks!


My coworker instantly after me showing him this -> him: quick lets turn our private repos public to use with this -> me: LOL -> boss: frown


Great idea and what a fun way to read through commit messages

http://starlogs.net/#discourse/discourse

Also fun :)


3-2-1 Disney take down notice.


I love the idea, but I'd have preferred a more subtle approach, e.g. using only music with a free license or explicit permission by the author. Although I don't consider George Lucas to be a troll, I'm afraid that in general, this attitude (just use the music and see what happens) is an invitation for copyright trolls.


Surprisingly funny. :) I wish the url changed so one could link someone. Solved now, but it should be added.


Just changed it so you can specify user/repo in hashtag: http://starlogs.net/#rails/rails


Nice, but please consider switching to HTML5 history (pushState). It's just as easy and a lot cleaner. Especially that you can use popstate to let people switch the URL.

It's amazing anyway.


If he were to use pushState for this, wouldn't he need a .htaccess (or other means) to point all requests to index.html? Meaning it's not just as easy?


Yes, it is a bit more config on the server. The site can still be a FD at JS client though, you just need to make sure all paths link to it.


It's also easy to get broken behaviour (on one site I use the url is updated without a new history entry, and even on GitHub the page sometimes gets desynced).


Didn't realize my sound was off. Way cooler with the sound on :)


I don't like how it joins the summary line and the explanatory text with just a space. I'd recommend preserving blank lines in the commit message as line breaks.


Tried giving it both my Github user name as well as the URL to my Github profile. It "couldn't find the repo" in both cases. :/


It wants it in the format username/repo, not just username. So for example, rkuykendall/Simplici7y or moneypenny/GithubFacebook


I took that to mean "username or repo".


Yeah, that happened to me on the first couple of tries. I parsed the '/' as meaning 'or', but of course it means a slash, here.


This is hilarious, and would probably get hugely popular if you let people put custom text in there and then link to it.


This would be a great way to read headings from an RSS feed!

Wonder if the feedly guys would consider it as a hidden view?


AWESOME. I am surprised that I found this funny, though it doesn't seem to work with user url, does it?


it does you have to kill the spaces between name / repo to name/repo


... makes coding that much more epic.


Hahaha, awesome! Made me laugh out loud, alone, in my home office! :)


It would be great if this worked on private repos.


Well then it wouldn't be very private, would it? I mean if you're trusting this website with your commit logs, presumably they would also have access to all of your source code...

I guess it depends on your needs for privacy.


Setup your own instance: https://github.com/artemave/StarLogs


You'd have to grant starlog read-access to your repos for that.


One of the best GitHub-related apps, honestly


I was so excited when the music began!!!


Most awesomest thing of the day.


This is my new favorite website.


I want to read HN this way :-|


You made my year. :D


I literally fell from the chair due to laughter. Brilliant.


support for private repos would be nice.


A.W.E.S.O.M.E!


please do this for basecamp!!!!!!!


Love it. :)


awesome




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: