{"id":50745332,"url":"https://github.com/sarielhp/my_cal","last_synced_at":"2026-06-10T20:03:34.824Z","repository":{"id":360389800,"uuid":"1249936370","full_name":"sarielhp/my_cal","owner":"sarielhp","description":"A native Ruby command-line client and terminal TUI for Google Calendar, featuring offline caching and concurrent sync.","archived":false,"fork":false,"pushed_at":"2026-05-26T06:59:40.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T08:34:24.006Z","etag":null,"topics":["cli-tool","google-calendar","productivity","ruby","terminal-tui"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sarielhp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-26T06:50:54.000Z","updated_at":"2026-05-26T06:59:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sarielhp/my_cal","commit_stats":null,"previous_names":["sarielhp/my_cal"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sarielhp/my_cal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarielhp%2Fmy_cal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarielhp%2Fmy_cal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarielhp%2Fmy_cal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarielhp%2Fmy_cal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarielhp","download_url":"https://codeload.github.com/sarielhp/my_cal/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarielhp%2Fmy_cal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34168094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-tool","google-calendar","productivity","ruby","terminal-tui"],"created_at":"2026-06-10T20:03:33.813Z","updated_at":"2026-06-10T20:03:34.811Z","avatar_url":"https://github.com/sarielhp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# my_cal\n\nA native Ruby command-line client for Google Calendar. It operates independently of external Python scripts, using its own locally managed credentials and local caching strategies to achieve fast, responsive interaction.\n\n## Features\n\n- **Offline Caching Layer**: Caches calendars and events locally, using parallel threaded reloading and background validation to reduce load times to under 150 milliseconds.\n- **Interactive Side-by-Side TUI**: Provides a terminal month grid and schedule explorer with responsive arrow-key navigation and automatic terminal resizing support.\n- **Natural Language Quick-Add**: Support for adding events using natural text descriptions, automatically matching a persistently configured default calendar.\n- **Full Custom Additions**: Supports creating custom timed or all-day events with options for summary, description, and location.\n- **Chronological Friendly IDs**: Sequential event numbering (`[1]`, `[2]`, `[3]`) mapped chronologically for concise identification in console printouts.\n- **Event Merging**: Safe combining of duplicate events occurring at identical times with matching recurrence rules.\n- **Recurrence Support**: Visual tracking of parent recurrence frequencies (Daily, Weekly, Monthly, Yearly).\n- **Suppressed Email Updates**: Prevents unwanted guest notification emails when making mutations on the API.\n- **Aliasing \u0026 Customization**: Persistently configure short custom aliases for complex calendar IDs.\n- **Sequential Search**: Comprehensive multi-scoped calendar keyword searching (Week, Month, Year).\n- **High-Visibility Console Styling**: Clean layout formatted to an 80-character boundary using high-contrast terminal styling.\n\n## Installation\n\n### Prerequisites\n- Ruby 2.7 or higher\n- The `rainbow` gem (`gem install rainbow`)\n- Existing `gcalcli` OAuth credentials (only required on the first execution to automatically initialize credentials)\n\n### Setup\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/yourusername/my_cal.git\n   cd my_cal\n   ```\n2. Make `my_cal` executable:\n   ```bash\n   chmod +x my_cal\n   ```\n3. Run the list command to initialize credentials from `gcalcli` and verify the setup:\n   ```bash\n   ./my_cal list\n   ```\n\n## Usage\n\n```\nUsage:\n  ./my_cal [interactive] [-i] [-r] - Show interactive side-by-side month/schedule TUI (default)\n  ./my_cal list                    - Show all calendars and status\n  ./my_cal today [-i] [-r]         - Show schedule for today and tomorrow\n  ./my_cal next [-i]               - Show the next upcoming/active event with countdown\n  ./my_cal week [cal-name] [-i][-r]- Show this week's events\n  ./my_cal month [cal-name] [-i][-r]- Show next month's events\n  ./my_cal year [cal-name] [-i][-r]- Show all events in calendar for a year in compact single-line layout\n  ./my_cal alias \u003cname\u003e \u003calias\u003e    - Set an alias/shortcut for a calendar\n  ./my_cal alias \u003cname\u003e \"\"         - Remove an alias/shortcut for a calendar\n  ./my_cal default \u003ccal-name\u003e      - Set the default calendar persistently\n  ./my_cal add \"\u003ctext\u003e\"             - Quick-add an event to the default calendar\n  ./my_cal add-full \u003ccal\u003e \u003csum\u003e \u003cstart\u003e \u003cend\u003e [desc] [loc] - Create a full event in a calendar\n  ./my_cal del_event \u003cid\u003e          - Delete an event by friendly ID\n  ./my_cal web \u003cid\u003e                - Open event in web browser\n  ./my_cal merge \u003cid1\u003e \u003cid2\u003e       - Merge two events with identical times and rules\n  ./my_cal search \u003cword\u003e [-i] [-r] - Search all calendars sequentially\n  ./my_cal reload                  - Explicitly reload local calendar cache\n```\n\n*Note: Append `?` to any command (e.g. `./my_cal add \"?\"`) to show detailed argument and usage help.*\n\n## Running Tests\nRun the built-in unit test suite offline:\n```bash\n./my_cal test\n```\n\n## License\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarielhp%2Fmy_cal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarielhp%2Fmy_cal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarielhp%2Fmy_cal/lists"}