{"id":50298025,"url":"https://github.com/morellodev/try-rs","last_synced_at":"2026-05-28T10:30:32.010Z","repository":{"id":358664583,"uuid":"1242404707","full_name":"morellodev/try-rs","owner":"morellodev","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-18T12:47:36.000Z","size":129,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T14:24:00.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/morellodev.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-18T11:54:15.000Z","updated_at":"2026-05-18T12:47:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/morellodev/try-rs","commit_stats":null,"previous_names":["morellodev/try-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/morellodev/try-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morellodev%2Ftry-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morellodev%2Ftry-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morellodev%2Ftry-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morellodev%2Ftry-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morellodev","download_url":"https://codeload.github.com/morellodev/try-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morellodev%2Ftry-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33605377,"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-05-28T02:00:06.440Z","response_time":99,"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":[],"created_at":"2026-05-28T10:30:31.386Z","updated_at":"2026-05-28T10:30:32.005Z","avatar_url":"https://github.com/morellodev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# try-rs\n\nRust port of [`tobi/try`](https://github.com/tobi/try) — an ephemeral workspace manager. Quickly create, fuzzy-search, and `cd` into date-prefixed experiment directories from your shell.\n\n```\n🏠 Try Directory Selection\n────────────────────────────────────────────────\nSearch: redis\n────────────────────────────────────────────────\n→ 📁 2026-05-16-redis-pool                     just now, 5.2\n  📁 2025-08-03-thread-pool                    9m ago, 4.1\n  📁 2025-07-22-db-pooling                    2w ago, 0.6\n  📂 Create new: 2026-05-16-redis\n────────────────────────────────────────────────\n↑/↓ Navigate  Enter Select  ^R Rename  ^G Graduate  ^D Delete  Esc Cancel\n```\n\n## Install\n\n**Homebrew (macOS / Linux):**\n\n```sh\nbrew install morellodev/tap/try\n```\n\n**From source:**\n\n```sh\ncargo install --git https://github.com/morellodev/try-rs\n```\n\nThen add the shell wrapper to your rc file:\n\n```sh\n# bash / zsh — .bashrc or .zshrc\neval \"$(try init)\"\n\n# fish — config.fish\ntry init | source\n```\n\nThe wrapper is what lets `try` change your shell's `cwd` (a process can't change its parent's directory, so `try` emits a shell script that the wrapper `eval`s).\n\n## Usage\n\n```sh\ntry                              # open the interactive selector\ntry redis                        # selector pre-filtered by \"redis\"\ntry clone https://github.com/x/y # clone into 2026-05-16-x-y\ntry https://github.com/x/y       # bare URL also clones\ntry worktree feature-branch      # detached git worktree from current repo\ntry . my-experiment              # worktree from current dir\n```\n\nInside the TUI:\n\n| Key | Action |\n|---|---|\n| `↑` / `↓` or `Ctrl-P` / `Ctrl-N` | Navigate |\n| `Enter` | Select highlighted entry, or create from \"Create new\" row |\n| `Ctrl-T` | Create immediately from current query |\n| `Ctrl-R` | Rename selected workspace |\n| `Ctrl-G` | \"Graduate\" — move to a permanent location and leave a symlink |\n| `Ctrl-D` | Mark for deletion (multiple); press `Enter` then type `YES` to confirm |\n| `Ctrl-A` / `Ctrl-E` / `Ctrl-B` / `Ctrl-F` / `Ctrl-K` / `Ctrl-W` | Line editing |\n| `Esc` / `Ctrl-C` | Cancel (in delete mode: clear marks instead) |\n\n## Configuration\n\n| Variable | Default | Effect |\n|---|---|---|\n| `TRY_PATH` | `~/src/tries` | Where workspaces live |\n| `TRY_PROJECTS` | parent of `TRY_PATH` | Default destination when graduating |\n| `NO_COLOR` | unset | Disable ANSI color output (any non-empty value) |\n\nYou can also pass `--path DIR` on any command and `--no-colors` to disable color.\n\n## What's different from the Ruby upstream\n\nBehaviorally identical — the project tracks the upstream [spec test suite](spec/) and **passes all 387 cases**. Implementation differences:\n\n- Native binary; no Ruby runtime needed.\n- Color palette redesigned for accessibility — no row backgrounds, emphasis from bold + arrow + icon. Works on light and dark terminal themes.\n- `Ctrl-K` is *kill-to-end-of-line* (matches the upstream code; the upstream docs occasionally list it as a navigation alias, but the runtime behavior is the editing one).\n\n## Building\n\n```sh\ncargo build --release                                # binary at target/release/try\ncargo test                                           # 117 unit + doc tests\n./spec/tests/runner.sh ./target/release/try          # full upstream spec runner\n```\n\nRequires Rust 1.91+ (edition 2024; uses `str::floor_char_boundary`).\n\n## License\n\nMIT, same as the upstream project.\n\n## Credits\n\nAll credit for the original concept, UX, and reference implementation goes to [@tobi](https://github.com/tobi). This port preserves the upstream's behavior contract via the vendored `spec/` test suite.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorellodev%2Ftry-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorellodev%2Ftry-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorellodev%2Ftry-rs/lists"}