Skip to content
September 2, 2011 / Rohit

Go Pasty!

Yesterday evening I wrote my first ever web app using Go. It’s called Go Pasty! and is essentially a pastebin clone with lesser options. If you haven’t used pastebin, the idea is to to have a shareable URL which contains code/text provided by the user. So for example, if you want to share some code, instead of emailing the other person you can put it on Go Pasty! and share the URL with them.

The implementation is pretty straightforward and involves only validating and saving the user input in persistent storage. When the user requests a URL, the code tries to fetch the corresponding text and displays it with syntax highlighting.

The syntax highlighting is done with SyntaxHighlighter Javascript library. The storage is done using the app engine datastore. The complete source code is present on github.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: