Ruby WebKit 2

The Ruby-WebKitGtk bindings are usable. Clone them:

git clone git://github.com/danlucraft/rbwebkitgtk.git

or download them. I’m using the WebKit nightly r31823, YMMV. Build instructions for WebKitGtk are here.

rbwebkitgtk.png

To do:

Ruby WebKit

Update: These bindings are now pretty usable. See here.

This morning I started working on some Ruby bindings for WebKit on GTK. I’ve only been working on them for an hour or so but they can already do this:


require 'src/lib/webkit'

win = Gtk::Window.new
wv = Gtk::WebKit::WebView.new
win.add(wv)
win.show_all
wv.open(’http://www.google.com’)
Gtk.main

to get this:

screenshot-testrb-1.png

The Ruby-Gnome2 team have done a fantastic job of making it easy to write Ruby to GTK bindings. I hope to make good progress on these tomorrow.

Github

Github has some serious awesome. I moved Redcar over there yesterday, and in a pleasant suprise, someone called Russ is already ‘watching‘ it.

And Russ himself is working on a cool idea called gitnub-gtk, which is a port of gitnub to Ruby-Gnome. I know this is a cool idea because I had it myself when I first saw gitnub :-).

So thankyou Github, for introducing me to a project that I would never have discovered otherwise, and for helping make my project more widely known. If I had to say one thing: why is there no way to send messages to each other through Github? Seems like an obvious feature.

github.png

Shell history

Since everyone seems to be doing it:

$ history|awk '{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
189 ./bin/redcar
51 cd
41 gst
29 git
28 irb
23 less
21 ruby
20 gca
19 ls
13 sudo

I guess it’s pretty obvious what I’m spending my time on :).

  • About

    Daniel Lucraft, London, UK. Interested in Ruby, Prolog and software.