63 comments

[ 5.5 ms ] story [ 135 ms ] thread
Looks nice but seems to crash upon clicking the "Do Magic" button. I'm guessing it might be getting stressed by the traffic from HN.
Took me about 4 tries before anything went through.
Same here, though now the site is not loading anymore at all.
Server is getting a lot of hits unfortunately. And generations take a lot of resources. Sorry :(
Makes sense, you should keep some high resolution pictures on the front page as examples (ones you could zoom in on to see what they really look like). That way people can get an idea of what these look like without unduly stressing the servers.

Other than that, looks great. Well done.

get a static landing page on S3 or CloudFiles , could have at least seen the landing page .
So I thought I'd try this again today, what format images do you take? it doesn't say anything obvious and the png I tried appeared not to work.
If anyone wants the linux kernel on their wall : https://commits.io/builds/88548595a3c (or at least a chunk of it)

I find this service a bit expensive for something that can be made in 10 minutes with illustrator - maybe if I get fantastic glossy paper, but it doesn't seem to mention much about the paper specs.

I'm curious about the paper quality as well- it seems like it would be way cheaper for me to do this myself and get it printed locally.
> 10 minutes

Basically what it does is grab some files from the repository, removes newlines and prints it.

    cat $(find -type f | shuf -n 1) | tr -d '\n' | print
That didn't take me 10 minutes to come up with, let alone run.
Since this is for git repositories you'd probably want to sub that `find -type f' for `git ls-files'.
They should really be caching the poster after each render. I've been staring at a loading screen for a while now.
My time estimate included opening illustrator, layout out the code and printing it :)
As somebody that rarely uses illustrator or other graphical software, spending $30 or $50 for something neat like turning my code into a poster that I can hang on the wall is easily worth it — despite how little time it might take someone else to fire up illustrator or bang out some script.
Costco will print arbitrary images up to 36x24 (their largest size here) for under $10.

$40 for running a shell script and sending the file to the printer seems a bit excessive.

Is "do magic" supposed to do anything? Site seems broken.
Yeah.. Site is jacked. Was going to buy a 36" x 24" but by time they fix it I'll have moved on and forgotten all about it. ADD and insufficient scale just saved me $50!
This is awesome!

I need this printed on t-shirts!

Server is being hugged to death. Can't seem to do anything at the moment. The idea is very cool though I would definitely use this, I'd perhaps even pay for it. Most Devs are fond of their code because they put work in to it. It's a cool idea for a bedroom or living room talking piece.
Yeah, went to Product Hunt front page and HN front page in the same hour. I don't think I can do much.
It looks nice, without a doubt. But I'd be more inclined to buy a poster that I can look at and remember that particular piece of code that was a pain to write/debug[#].

The poster can be a good thing to get after shipping a milestone!

[#] maybe displayed as a big "snake" with all the code put together

Good insight. Will be working on some of the features people have suggested. First milestone was the original use case I had. I shy away from changing the code too much.
No full resolution examples that I can look at?
We will be adding private repo support soon, it's just the mechanics are very clunky (ssh keys and such). You could however generate a temporary token (until you have purchased the poster, at which time you can delete it). You can enter the repo address on the home page as such: https://<auth-code>:x-oauth-basic@github.com/user/repo.git
Just to hijack my own thread. The servers should be back up and snappy.
Doesn't doing it this way mean that there will be a publicly accessible URL containing your code? This would be a good caveat to mention.
Pretty cool! Was wondering how it would transform a whitespace sensitive language like Python. The service seems to be slow. But it looks like it would strip out all the indentation leaving it rather meaningless.
This is great.

I recently shut down two small firms that I've run for years and years - the opportunity cost of not doing contract work or something else that paid decently was too much to keep at it.

...but I loved the code base, as clunky as it was. It had warts, scars, and stretch marks that documented its path through the years. I don't miss running the firms, but I do miss the code.

I'll be buying posters to hang on the wall and remind me of the good times.

Thanks! It was a fun and rewarding moment when it generated a poster from its own code this morning.
Nice idea but not sure about the execution, the generated poster looks just like minified code. Something is missing...
Really like the idea and just had this thought: why not just present the code in color, normally indented (so not like minified) and in your favorite theme (such as Solarized Dark) in a long portrait format poster, then put some glossy finish on it and I'd buy instantly.
My initial reaction was "oh is that all". I mean don't get me wrong, the way the site works is nice, but I was really expecting it to move the code around such that the whitespace formed a picture, or have all the lines of code in random text sizes, or allow you to prioritise different sections so that some were highlighted or something like that.

As it stands it's not really something I want on my wall.

This reminds me of Litographs, a company that puts full text of books in poster form. While the concept works fine for prose it doesn't translate well for code.
Same. I was expecting something more like Perl's good old "Acme::EyeDrops", which obfuscates your code, then pours it into an arbitrary ASCII art shape. That's a lot more work than just removing whitespace and using characters as pixels, but this guy is charging money after all.
Would be nice if it would exclude comments. My poster seems to be mostly made out of GPL ramble.
It looks like you can exclude certain files, did you try excluding the licenses?
She/He probably has a GPL "comment header" in every source file, that might be a little bit more tricky to remove :)
I applaud you not only for this idea, but for keeping the site up because I imagine everyone will be pounding it just as much as me :)
You don't know the half of it. Hopefully people are understanding and try again at a later time. Runs flawlessly when the user load is under a thousand :D.
Sweet! Make sure to allow typing in repository address without the http(s):// protocol
Is there some type of estimate of how many character you need to fill up one of these posters? I wouldn't mind getting one of a particularly tricky module I wrote as a POC for my presentation at the SAM conference last year but it's probably only 300 LOC total.
It would be nice if you could add Support for IPad. I cannot copy/paste the url. As soon as I tap on the url field, I toggle the info text box.
Make the code conform to the form of an image that the user uploads, and I'll buy a dozen.
How many passwords will soon be hanging on the walls of various cubes and conference rooms?
How do you indicate you want the shape overlays, like the Rails logo and such?
I think you should let people know you plan on cloning the entire repo. You are currently cloning chromium.git, sorry :)
for me it just adds all the code in all the files and displays it in a small font.. something wrong in my repo?
you need to click "customize" and add a logo or other graphic