Release open, release awesome.

In December last year, I built my own personal site to advertise my new-found employability – www.elliottkember.com. Then, looking at my twitter background, I figured it’d be cool to have a similar image on my own site – a bit of continuity. Then, I was talking to Greg Annandale when a thought occurred to me:

17th December, 6pm. Not dinnertime yet.

Why not turn that sexy curl into an adjustable feature?

Coooooool.

Well, about 20 minutes later I had it working, pending a few tricky bits:

Success soon thereafter!

But nonetheless, I had a working curl. You can check it out on my site.

Woo!

Even Ryan was impressed:

Impressed Ryan is impressed.

The code wasn’t very elegant, or configurable, and I hadn’t made it very easy to implement, but the thing worked. I went ahead and linked it to everyone I could find to get them to check it out, and I got a little bit of traffic:

Analytics exhibit a)

At the time, the wonders of relative scale told me that this was a good thing. But as it turns out, it was nothing to write home about. Yet.

My good friend Rey Bango had an idea:

Rey Bango, Captain jQuery

Why not make my fold into a plugin? I sat on the idea for a while, but decided that I didn’t want anyone else having my cool effect. I wanted it all to myself. On one hand, I use many open-source products day-to-day. My job wouldn’t be nearly as fun or as easy as it would if everything were closed-source. The shared contributions of many contribute directly to my own personal gain. On the other hand, I reasoned, why should I let everybody else profit from my hard work, and share my effect?

I agreed with open-source, I decided, but only when other people were releasing things – in other words, I only agreed with open source when I was the one profiting from it.

A bit later, I was cruising around the internets when I found, in a list of javascript effects, a link to this: a page curl jQuery plugin! After checking the source, and discovering that it wasn’t a copy of mine at all, I pondered how he’d made it onto this list. After all, lists are the backbone of the internet. Get on a list, and you’re set for life. #naiveté.

The answer was simple: This dude release the script as a plugin.

I was wrong - he made his before I made mine.

Yes, that says 2AM. That’s the last timestamp I’m going to show. Incidentally, I was wrong when I said “copycat” – that URL clearly shows a date of the 15th of December – two days before I made my page curl. Great minds, etc. I reconsidered my stance on a jQuery plugin.

Should I do it, I asked myself? Should I release this into the wild, destined to be my glory or my shame? Am I releasing the next useless gimmicky, showy, tacky Javascript effect for people to complain about?

Hell yes. Let’s do it. First off, though, I had to refactor my code. I wasn’t having my sloppy mess of javascript sitting around cluttering up the web. So I cleaned up my code, and with the help of a few articles, I turned it into a plugin. This is not a difficult task: I can’t remember which I used, but there are 527 Google results for “your first jQuery plugin“. Pick one – it doesn’t matter which. If it sucks, pick another one. Welcome to Google. If you’re actually reading this article, leave a comment with the code words: “rock you like a hurricane“. That way I’ll know.

Now for the important bit: what should I call it? Adam Cooke and I pondered the issue:

First attempts at naming

Clearly, this name wasn’t awesome enough.

Much more awesome.

And with a GitHub repository, the Sexy Curls jQuery Plugin was born.

Rey says tweet tweet!

I spewed some of my trademark absurdity into HTML form:

As yet, no recorded instances of my code being used as a hat.

And I passed it on:

Tweet!

Now, Rey tweeted it from @jquery – and here’s that tweet preserved for posterity:

as tweeted by jQuery!

Instantly, some 3,000 hard core jQuery nerds heard the word about my plugin. RT after RT, FWD >> FWD, and so on. Quietly, my plugin propagated around the internets like W32.Blaster. You can watch the tweet stream – it’s still going. I graced the front pages of Ajaxian, YCombinator News, hit #9 on Del.icio.us, and countless other aggregators. Help even came from other GitHub users – Cheeaun was nice enough to give me a hand.

I also surreptitiously included a link to my Twitter page in the first line of the page. As usual, the internet is just my big race for followers.

Twitter history over 3 months.

What did that do to my analytics?

Zone of massive exposure!

That’s insane. My pageviews were up by about 2,000%. That’s not all Sexy Curls traffic, either – although it pretty much mostly is.

Content pageview summary

That’s wa-hay above normal – which means people are clicking through. My name is getting out there.

My statistics for sexy_curls.html

That’s the content for sexy_curls.html – loads of pageviews, a strangely high time-on-page, and somehow I have made 8 cents. I look forward to receiving it.

Browser stats

As usual, a high Firefox/Safari split. I’m proud of my visitors! Somebody also tried to use their PlayStation:

Hi, PS3 user

But I haven’t heard back on whether the curl worked. Even the Googlebot is rendering Javascript these days:

Hello, Googlebot!

So I guess it’s been checking out my curl, too. Hope it liked it.

What did I learn? Open Source isn’t just kernel-hackers in their parents’ basements. Open Source is everywhere. Anything you do can be open-source. So, if you aren’t already, release stuff. Release good code, release bad code, it doesn’t matter. It’ll end up being better than you could ever have intended. Use other people’s code – FIX other peoples’s code.

So far, there haven’t been many reports of sites using the Sexy Curls plugin. But that’s okay – it did what I intended it to do. It sparked ideas, made a few gaze in wonder, touched the corners of the internet far and wide, and maybe – just maybe – it inspired someone to start writing code.

Code is like a magic penny – write it once and you don’t get any. Lend it, send it, give it away, and it comes right back to you.

Comments (17)

No feed for blog.elliottkember.com?

P.S. “rock you like a hurricane“

Kahara_n Joni Kähärä (@kahara)
over 2 years ago

Agreed, a feed would rock like a hurricane.

Mrappleton_n Andy Appleton (@mrappleton)
over 2 years ago

Rock that feed like a hurricane!

Rapaul_n Richard Paul (@rapaul)
over 2 years ago

@kahara I've added an RSS feed :)

Elliottkember_n Elliott Kember (@elliottkember)
over 2 years ago

hurricanes rock… wait, i did that wrong…

and thanks for the feed!

Gblakeman_n Grant Blakeman (@gblakeman)
over 2 years ago

I said it then & I'll say it again dude - this rocks like a hurricane!
Loving the blog design btw

Dougaitken_n doug aitken (@dougaitken)
over 2 years ago

Nice post... It rocks.. (yes like a hurricane)

Tim_collins_n Tim Collins (@tim_collins)
over 2 years ago

That rocks like a hurricane, I've gone over that curl code and I love it. Great idea, great execution. Lovin the pink too.

Elmak_n elmak (@elmak)
over 2 years ago

Thanks! Subscribed in Reader already.

Kahara_n Joni Kähärä (@kahara)
over 2 years ago

Ahh, just discovered the blog. Looks yummy. Any chance you could add a favicon so that I can recognize your posts more easily in my Fever?

Jfredson_n John Fredrickson (@jfredson)
over 2 years ago

Just added one John - hope that helps :)

Elliottkember_n Elliott Kember (@elliottkember)
over 2 years ago

Some day I hope to have mad coding skillz like you do. When that happens, I'll Rock You Like A Hurricane!

Tjlist_n TJ List (@TJList)
over 2 years ago

@greg_a was behind it all along. I f*ckin' knew it, haha.

Good to meet you briefly at FOWA (London), if only briefly while sorting something for Mike. TBH I don't think I quite know enough code to start up an interesting convo just yet :P (I'm workin' on it).

Ldexterldesign_n Lewis Litanzios (@ldexterldesign)
over 2 years ago

VERY interesting sir!! Gratz!
jostle thou undifferentiated from a cyclical whorl of atmospheric matter

Makefate_n Danielle Bartlett (@makefate)
over 2 years ago

Great post Elliott. I think that feeling of accomplishment often blinds us from our belief in open source software. Great encouragement to contribute whatever you make. It helps everyone out, and it pays back dividends.

And btw, here I am, rock you like a hurricane.

Dreadfullyposh_n jeremy gimbel (@dreadfullyposh)
over 2 years ago

I am impressed but I am not a code person. Just like the results.

Belleboydspy_n Belle Boyd (@belleboydspy)
over 2 years ago

I found your site from a link to "You'll never get what you want", Google-Reader-shared it and "I forgot to eat lunch", and now I'm going to rock you like a hurricane.

I'm going to have to do that to a blogpost someday.

Edbrannin_n Ed Brannin (@edbrannin)
over 2 years ago