There is probably not a single web developer out there who haven’t used Firebug over the years to debug their own code. And now here’s the next step in the evolution!
Firebug on GitHub
As outlined by Firebug developer Jan Odvarko, who truly knows the ins and outs of Firebug, Firebug is now available on GitHub which offers you the possibility to learn from and tinker with the code. But not only that, you can create your own version of Firebug, do pull requests, fork it, learn how to develop Firebug extensions and much more (having developed a couple of Firebug extensions myself, this is great news and a good learning ground).
Working with the Firebug repository
In Hacking on Firebug, Jan outlines the most common things you can do, like:
- Run Firebug From Source
- Build Firebug XPI
- Push to the Firebug repository
Especially the last one there is really interesting and a very simple way for you to contribute to improving Firebug!
This is, in Jan’s words, how the process looks for pushing to the Firebug repository:
- First, you need a GitHub account. It’s simple and all the cool kids are already there. :-)
- Fork Firebug repository (see how to fork a repo).
- Clone your fork onto your local machine (your URL will be different):
$ git clone email@example.com:janodvarko/firebug.git
- After you made your changes, you can stage/add modified files (e.g.
firebug.js) and commit:
$ cd firebug/extension $ git add content/firebug/firebug.js $ git commit -m "New API for my extension"
- Push to your public fork:
$ git push -u origin master
- Send a pull request. We’ll review your changes and accept if all is OK!
Go learn and contribute!
Now, what are you waiting for? :-)
Go play around with, learn from and start contributing to Firebug!