go (to project) do (stuffs) godo provides a smart way of opening a project folder in multiple terminal tabs and, in each tab, invoking a commands appropriate to that project. For example if the folder contains a Rails project the actions might include: starting mongrel, tailing one or more logs, starting consoles or IRB sessions, tailing production logs, opening an editor, running autospec, or gitk. godo works by searching your project paths for a given search string and trying to match it against paths found in one or more configured project roots. It will make some straightforward efforts to disambiguate among multiple matches to find the one you want. godo then uses configurable heuristics to figure out what type of project it is, for example "a RoR project using RSpec and Subversion". From that it will invokes a series of action appropriate to the type of project detected with each action being run, from the project folder, in its own terminal session. godo is entirely configured by a YAML file (~/.godo) that contains project types, heuristics, actions, project paths, and a session controller. A sample configuration file is provided that can be installed using godo --install. godo comes with an iTerm session controller for MacOSX that uses the rb-appscript gem to control iTerm (see lib/session.rb and lib/sessions/iterm_session.rb). It should be relatively straightforward to add new controller (e.g. for Leopard, or a controller that works in a different way (e.g. by creating new windows instead of new tabs). There is nothing MacOSX specific about the rest of godo so creating controllers for other unixen should be straightforward if they can be controlled from ruby. godo is a rewrite of my original 'gp' script ( which fixes a number of the deficiencies of that script, turns it into a gem, has a better name, and steals the idea of using heuristics to detect project types from Solomon White's gp variant ( godo now includes contributions from Lee Marlow <> including support for project level .godo files to override the global configuration, support for, and maximum depth support to speed up the finder. godo lives at the excellent GitHub: and accepts patches and forks.

installgem install godo

Matt Mower

12,180 total downloads 1,642 for this version


gem 'godo', '~> 1.0.8'
  1. 1.0.8 May 29, 2008 (15.5 KB)
  2. 1.0.7 May 20, 2008 (15.5 KB)
  3. 1.0.5 March 11, 2008 (15 KB)
  4. 1.0.4 March 11, 2008 (15 KB)
  5. 1.0.3 March 9, 2008 (14 KB)
Show all versions (8 total)