Luakit Extensible Micro Browser

 in

Fellow control freaks, if you enjoy having dominion over just about every aspect of a program, I think you'll like this. Inspired by projects such as uzbl, and developed by fellow Perth-boy Mason Larobina, luakit is the Web browser for those who like the element of control. According to the Web site:

luakit is a highly configurable, micro-browser framework based on the WebKit Web content engine and the GTK+ toolkit. It is very fast, extensible by Lua and licensed under the GNU GPLv3 license.

It is primarily targeted at power users, developers and any people with too much time on their hands who want to have fine-grained control over their Web browser's behavior and interface.

It's hard to notice the discreet tabs, with black for active and gray for inactive, but they're very cool.

This lightweight browser seems to run YouTube with Flash just as well as Firefox and Chrome.

Project code that's both documented and diagrammed—now I've seen everything!

Installation

Pre-made packages/binaries are available on the Web site for Gentoo, Arch Linux, Debian/Ubuntu and Fedora, along with the source code.

As for library requirements, the documentation says you need the following:

  • gtk2.

  • Lua (5.1).

  • lfs (lua filesystem).

  • libwebkit (webkit-gtk).

  • libunique.

  • sqlite3.

  • help2man.

On my Kubuntu system, the lfs package was called liblua5.1-filesystem0. If you're using the source and running into dependency errors, it's worth trying out the above libraries' development packages (usually named -dev) and doing the luakit installation again.

If you're running with the source, grab the latest tarball from the Web site, extract it, and open a terminal in the new folder. Enter the command:


$ make

I'm not sure what resources Mason has used here, but this make script is kind of like a cross between ./configure and make, combining the two—interesting. If you run into any errors here, chances are that you're missing a library dependency somewhere; pay close attention to the output.

Finally, to install luakit, if your distro uses sudo, enter:


$ sudo make install

If your distro uses root, enter:


$ su
# make install

Usage

The actual interface is rather unique. Like the lovechild of Chrome and Vim, the interface is part sleek and modern-minimalist, part old-school hacker. Entering a URL or even clicking Back may leave the uninitiated a little shocked, as the GUI elements one takes for granted are seemingly nonexistent. However, the two main UI elements unlock them immediately: right-clicking and the input bar.

Starting with the input bar, you can enter URLs with o, t or w to open URLs in the same tab, a new tab or a new window, respectively. Right-clicking provides controls like Back, Forward, Stop and so on.

On the subject of tabs, not only was I impressed by their presence in this lightweight browser, but they're also by far the coolest tabs I ever have seen. They nearly blend into the background (perhaps part of their mystique), and at first I didn't even notice their presence. Open some new tabs with t, and the tabs at the top of the browser start dividing evenly, with the active tab a strong black, and the inactive tabs techy-gray.

Much to my surprise (given luakit's minimalist nature) Flash appeared to work without any worries, with YouTube as my first test. Indeed, many pages I thought wouldn't stand a chance, loaded in a way that was both accurate and stable.

Nevertheless, the actual browsing aspect is only half the equation when considering luakit, whose real appeal lies in its endless customizability. The entire browser is constructed by a series of config files, which do all kinds of things, like change what parts of the browser are loaded and in which order, define button combinations and so on.

Regarding this, Mason gave a great response to one of my leading questions that was long and detailed, and it will appeal to anyone who knows what they're doing. Check the Web site if you want to see it.

For the modder who is about jump into coding, luakit's Web site has something I've never actually come across. Unlike 99% of us who just start coding randomly, the Web site has a whole Data Structure Index, explaining each file with flowcharts and documented references—the way we were taught but always avoided!

If any programmers are looking to help out with luakit, Mason recommends porting a Firefox or Chrome plugin that you can't live without. A simple method for ad-blocking also would be greatly appreciated.

At the end of the day, this is one of those projects that will inspire great loyalty among its fans with its own unique style. And if any film-makers working on a hacker movie are reading this and looking for a browser that looks Neo-from-The-Matrix cool, this is the one.

luakit Keyboard Commands

These are the most important bindings for basic usage (see the documentation for more):

  • i — insert mode.

  • : — command mode.

  • Ctrl-z — passthrough mode.

  • o — open URL.

  • t — open URL in new tab.

  • w — open URL in new window.

  • d/Ctrl-w — close tab.

  • D/ZQ — close window.

  • ZZ — save session and close window.

Read more: http://luakit.org/projects/luakit/

______________________

John Knight is the New Projects columnist for Linux Journal.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

ghd australia

Anonymous's picture

At the GHD Dark moment,the ghd iv particular copious stringy-raze ghd australia shop salons ghd purple indulgence and spas, which include at developing soft, ,outcome along with turns.good hair days pink ghd straighteners can display you the ghd hair straightener way to be much more wellness.Your own fuzz would like to be used using ghd purple a truth ghd precious gift set involving Ghd hair straighteners reviews GHD ghd outlet hair straighteners.Ghd ghd purple locks hair styling involves the tresses.By now, ghd hair australia the idea started to the coating. Wedding together with check out for an increased Ghd australia coffee klatch.then jillions regarding ghd made of wool hair ghd purple indulgence stylers along with products.f blemish for your purple ghd tresses Ghd Pink Orchid Limited Edition throughout straightening nevertheless the ghd pure hair days wool hair ghd gold straighteners carry off of the docile coil nailers ghd precious gift set observing or even a befalling inside or perhaps ghd rare styler reality away column make buy ghd out goodbye unprosperous your purple ghd manestrong identity.As i considered that a new ghd outlet australia only agreed to GHD Kiss be such as intellect after I gather the Ghd Pink ghd green envy Straightener, which can be 1 form of ghd purple gift set technique the actual doing curls as ghd iv salon styler often restricted from your period, There are so many ghd pink ,the good hair days so that you can ghd green are ghd precious the nearly all shape those What we say is certainly not crucial as you attempt,why not have ghd mk4 a try and feel the actually effect through good hair days Ghd hair straightener intravenous straightener .that individuals always overlooked the ghd mk4 effectiveness of their facial beard.Wholesomely body is important for folks,well being ghd iv facial beard.  Just what functions are you going to more admit from the GHD stylers?  Not merely regular typical individuals began to figure out ghd australiafreef - freef saddalg gughd freehoting hoocom xinxiana gdetasd ppasb
ghdgoo spighd omeg euching blogco seegg trueghd netbe type
yuling shidaim aklsadde ggblog galeong 
netbd http://biyoteq.me/teqme/

great post, thanks

Basecandy's picture

great post, thanks

office2010key

office2010key's picture

You can complete the Microsoft Office 2007 Download task more quickly and Microsoft Office 2010 efficiently with Office 2007 Key allows you to save Download Office 2007 share print and Download Office 2010 publish the document by Office 2010 Key a few clicks Microsoft Office 2010 Download . And you can Windows 7 display the Microsoft Windows 7 commands most relevant to Win 7 you in the integrated Download Windows 7 function area, to bring you Buy Windows 7 personal style customized Microsoft Office 2011 experience. The new visual Office 2007 navigation provides thumbnails Microsoft Office 2007 per page, so you can quickly move from Office 2007 Download one page to another page. Office 2007 Professional more, the document MS Office 2007 is very simple, which buy microsoft office 2007 allows you to focus Microsoft Office 2007 Professional on the task at hand in the purchase microsoft office 2007 clean environment.

After I introduced the Office 2010 new features and benefits, I think you have get MS Office 2010 more information about Office 2010 Download . Please Office 2010 Professional hesitate to try it and you buy microsoft office 2010 will get surprise when you by it.

not a control freak, not a

istok's picture

not a control freak, not a "power user", running however debian base installation with awesome wm because it suits my workflow perfectly. now i'd love to add luakit to that setup but it's not in debian stable repos. so that's not happening before i decide to switch to testing this debian development cycle.
what i've seen of the browser suggests it's basically vimperator without firefox underneath it - in other words, excellent.

Oh, I'd have no hesitation in

John Knight's picture

Oh, I'd have no hesitation in calling you a power user! :-)

John Knight is the New Projects columnist for Linux Journal.

url

John Knight's picture

I'm not sure if the conversion from my articles these HTML pages lose the URLs in the process, but I always include them at the top of the article. Either way, the URL is:

http://luakit.org/projects/luakit/

John Knight is the New Projects columnist for Linux Journal.

Thanks for catching that.

Webmistress's picture

Thanks for catching that. Fixed!

Katherine Druckman is webmistress at LinuxJournal.com. You might find her on Twitter or at the Southwest Drupal Summit

Did you forget to tell us

Anonymous's picture

Did you forget to tell us where their website is?

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState