Tuesday, August 25, 2009

TweetMonkey for Google Chrome

TweetMonkey allows you to tweet from any page on the web. I've created a Google Chrome version of it. It looks different due to Chrome's specific issues. An input box is always displayed at the bottom of the window and you can tweet from it anytime you like!



References
I used Google Chrome's "extension" functionality. It is yet mature and development seems to be going on vigorously. It looks like an alpha version. Documents are also not sufficient yet. I'd like to pay respect to a few pioneers who don't hesitate to explore this wild and unmanned field.

Extensions
Official document. Still coarse.

Building a Twitter Extension for Google Chrome
There's sample code.

How to install
It seems that extension functionality is not available in stables version of Chrome. "Dev" version or latest Chromium snapshot is recommended to install. Chromium is a flavor of Chrome for developers. Personally I suggest you use Chromium because it does not affect Windows registry. You can just unzip and use it. My Chromium is version 4.0.203.0 (24088).

To install TweetMonkey for Google Chrome:

1. First, you need to install Chromium.

2. Download TweetMonkey for Chrome.

3. Unzip it into C:\twmk directory. (This is just an example. In fact, any directory is OK)

4. Edit C:\twmk\tweetmonkey.html.
Put your Twitter information on the lines of username/password at the beginning of the source code.

var username = '(your twitter account)';
var password = '(your password)';


5. Run Chromium with --load-extension="C:\twmk" option. It can be convenient if you register it to a shortcut.

6. It's done. You should see a Twitter input box at the bottom of the Chromium window. (It might take a few seconds to show up)

How to use
An input box is always displayed at the bottom of the window. You can tweet from it anytime. If you click on the chain icon, you can enter the short URL of the current site. You can click on Update button to post your message on Twitter.

Personal notes
Nowadays, we spend most of time using web browsers. So customizing them with Javascript can be the most productive programming now. The age of cloud computing is coming soon. Once it comes, the server side will be taken care of by big corporations like Google and Amazon. We small individuals won't have to pay attention to trivial server side stuff like scaling. Maybe, client programming using Javascript will be more interesting and useful in the future for ordinary programmers.

1 comment:

Anonymous said...

hey 我叫严载镕从韩国过来的。我和Jawon突然想起你来了,巡边过来了你的博客。Jawon在跟我商量他爱情的事情。好像他终于变到一个真正的男人。在越南过的怎么样?还好吗? 我有信心你那里会过的精彩多美。我偶尔过来留言吧。过的开心吧。健康第一~!!