Skip to content

tablr

+-------+-------+-----------+
| tablr | is    | a         |
+-------+-------+-----------+
| 23    | line  | Sinatra   |
| app   | that  | generates |
| rad   | ASCII | tables    |
+-------+-------+-----------+

tablr is a lightweight, quick ‘n dirty interface to the main capabilities of TJ Holowaychuk’s Terminal Table gem. I built it because I like pasting snippets of relevant SQL tables, CSV files, or URL parameters (from Fiddler’s WebForms view) into bug reports (Bugzilla comments are plain-text, and in a fixed-width font), for example:

Parameters sent to http://api.twitter.com/1/statuses/home_timeline.json:

+----------------------------+--------------------+
| name                       | value              |
+----------------------------+--------------------+
| max_id                     | 113545308612464640 |
| count                      | 21                 |
| include_entities           | 1                  |
| include_available_features | 1                  |
| contributor_details        | true               |
| pc                         | true               |
+----------------------------+--------------------+

If you’re a Bugzilla user in particular, maybe you’ll find it useful, too!

Source code available on GitHub.

Categories: Development, Testing.

Tags: , , ,

No responses (yet)