Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Command-Line Apps
  3. Timetrap

Timetrap

NOASSERTIONRuby

A simple command-line time tracker written in Ruby for tracking work hours across multiple timesheets.

Visit WebsiteGitHubGitHub
1.5k stars115 forks0 contributors

What is Timetrap?

Timetrap is a command-line time tracker written in Ruby that allows users to log work hours across multiple timesheets with notes. It solves the problem of manual time tracking by providing a fast, scriptable interface for developers and professionals who prefer terminal-based tools.

Target Audience

Developers, sysadmins, and technical professionals who work primarily in the command line and need a lightweight, customizable way to track time without GUI applications.

Value Proposition

It offers a simple, extensible, and automation-friendly alternative to graphical time trackers, with features like natural language parsing, multiple export formats, and a plugin system for custom workflows.

Overview

Simple command line timetracker

Use Cases

Best For

  • Tracking time spent on different coding projects or clients
  • Automating time log exports to CSV for spreadsheet analysis
  • Integrating time tracking with calendar apps via iCal output
  • Scripting time entry updates or migrations between timesheets
  • Using natural language for quick time corrections (e.g., "started 5 minutes ago")
  • Extending functionality with custom formatters for specialized reporting

Not Ideal For

  • Teams requiring graphical user interfaces for non-technical stakeholders
  • Environments where Ruby is not installed or maintained
  • Projects needing real-time, collaborative timesheet editing
  • Users who prefer automatic time tracking via desktop activity monitoring

Pros & Cons

Pros

Natural Language Entry

Integrates the Chronic gem to parse phrases like '5 minutes ago' or 'tomorrow at noon,' making time corrections intuitive and fast, as demonstrated in the README examples.

Flexible Export Formats

Supports text, CSV, iCal, JSON, and numeric IDs out of the box, enabling easy data migration to spreadsheets, calendars, or APIs without extra tools.

Extensible via Custom Code

Allows creation of custom formatters and auto sheets with Ruby classes, backed by community repositories for plugins like Harvest and Toggl integration.

Command-Line Efficiency

Features abbreviated commands (e.g., 't s' for 't sheet') and script-friendly output like numeric IDs, ideal for automation and quick terminal workflows.

Cons

Ruby Dependency Headaches

Requires Ruby gem installation, which can lead to setup issues like rdoc parsing errors, forcing workarounds such as '--no-document' flags or pre-installing rdoc.

Limited Native Integrations

Core support for services like Harvest and Toggl relies on external, community-maintained plugins, not built-in features, adding fragmentation and maintenance burden.

Manual Configuration Overhead

Setting up custom formatters or auto sheets involves placing Ruby files in specific directories (e.g., ~/.timetrap/formatters/), requiring technical knowledge and manual management.

No Cloud or Sync Features

Stores data locally in a SQLite database with no built-in backup, synchronization, or multi-device support, risking data loss and complicating team usage.

Frequently Asked Questions

Quick Stats

Stars1,507
Forks115
Contributors0
Open Issues32
Last commit1 year ago
CreatedSince 2009

Tags

#productivity#command-line-tool#ruby-gem#cli#time-tracking#automation

Built With

S
SQLite
R
Ruby

Links & Resources

Website

Included in

Command-Line Apps19.2k
Auto-fetched 1 day ago

Related Projects

TimewarriorTimewarrior

Timewarrior - Commandline Time Tracking and Reporting

Stars1,597
Forks114
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub