{"id":51440521,"url":"https://github.com/pronzzz/time-machine","last_synced_at":"2026-07-05T11:01:27.704Z","repository":{"id":367291212,"uuid":"1133782076","full_name":"pronzzz/time-machine","owner":"pronzzz","description":"A robust Terminal User Interface (TUI) for navigating and reverting Git states using the reflog. Built with Rust and Ratatui, it features visual timelines, live diff previews, and a \"Safe Revert\" mechanism that automatically stashes uncommitted changes before resetting.","archived":false,"fork":false,"pushed_at":"2026-01-13T20:22:39.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-25T12:03:48.195Z","etag":null,"topics":["cli","developer-tools","git-reflog","git-tools","productivity","ratatui","rust","terminal","tui","version-control"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/pronzzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-01-13T20:11:47.000Z","updated_at":"2026-01-14T08:26:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pronzzz/time-machine","commit_stats":null,"previous_names":["pronzzz/time-machine"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/pronzzz/time-machine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronzzz%2Ftime-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronzzz%2Ftime-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronzzz%2Ftime-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronzzz%2Ftime-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pronzzz","download_url":"https://codeload.github.com/pronzzz/time-machine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pronzzz%2Ftime-machine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35151638,"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-07-05T02:00:06.290Z","response_time":100,"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","developer-tools","git-reflog","git-tools","productivity","ratatui","rust","terminal","tui","version-control"],"created_at":"2026-07-05T11:01:27.043Z","updated_at":"2026-07-05T11:01:27.696Z","avatar_url":"https://github.com/pronzzz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# time-machine ⏳\n\n![Rust](https://img.shields.io/badge/rust-%23000000.svg?style=for-the-badge\u0026logo=rust\u0026logoColor=white)\n![Ratatui](https://img.shields.io/badge/Ratatui-%23000000.svg?style=for-the-badge\u0026logo=rust\u0026logoColor=white)\n[![Crates.io](https://img.shields.io/crates/v/git-time-machine-tui?style=for-the-badge)](https://crates.io/crates/git-time-machine-tui)\n![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)\n\n**time-machine** is a robust, fail-safe Terminal User Interface (TUI) for navigating and reverting Git states via the reflog. It turns the intimidating wall of text that is `git reflog` into an interactive, visual timeline associated with a \"Safe Revert\" mechanism.\n\n## 🚀 Features\n\n### 1. Visual Reflog Timeline\n- **Semantic Parsing**: Reflog messages are parsed into readable types (Commit, Checkout, Merge, etc.).\n- **Relative Time**: Timestamps are shown as humans read them (e.g., \"2h 30m ago\").\n- **Navigation**: intuitive Up/Down arrow navigation through your history.\n\n### 2. Live Preview Engine\n- **Diff Summary**: Instantly see a diff summary of the selected state relative to your *current* working directory.\n- **Stats**: View \"Files changed\", \"Insertions\", and \"Deletions\" at a glance.\n- **File List**: A concise list of modified files.\n\n### 3. Safe Revert (\"Time Travel\")\n- **Safety Stash**: The tool **automatically stashes** uncommitted changes before any revert action.\n- **Fail-Safe**: Uses `git reset --hard` only *after* securing your current work.\n- **Feedback**: Provides immediate confirmation of the revert and the location of your stashed changes.\n\n## 🛠️ Installation \u0026 Usage\n\n### Install via Cargo (Recommended)\n```bash\ncargo install git-time-machine-tui\n```\n\n### Build from Source\n```bash\ngit clone https://github.com/pronzzz/time-machine\ncd time-machine\ncargo run\n```\n\n### Controls\n| Key | Action |\n| :--- | :--- |\n| `↑` / `↓` | Navigate history |\n| `Enter` | **Safe Revert** to selected state |\n| `q` | Quit |\n\n## 🏗️ Architecture\n\n- **Language**: Rust 🦀\n- **UI Framework**: [Ratatui](https://github.com/ratatui-org/ratatui)\n- **Git Backend**: [git2-rs](https://github.com/rust-lang/git2-rs) (libgit2 bindings) for high-performance operations.\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronzzz%2Ftime-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpronzzz%2Ftime-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpronzzz%2Ftime-machine/lists"}