{"id":15619229,"url":"https://github.com/yykamei/thwack","last_synced_at":"2025-12-29T14:26:24.325Z","repository":{"id":36968760,"uuid":"366176260","full_name":"yykamei/thwack","owner":"yykamei","description":"Command-line version of Go to file utility, similar to the one on GitHub","archived":false,"fork":false,"pushed_at":"2025-04-14T09:39:55.000Z","size":2400,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T10:37:43.701Z","etag":null,"topics":["cli","command-line","command-line-tool","hacktoberfest","rust","terminal"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yykamei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2021-05-10T21:09:12.000Z","updated_at":"2025-04-14T09:39:58.000Z","dependencies_parsed_at":"2024-04-15T04:54:53.404Z","dependency_job_id":"7fa91164-c056-4467-8983-57ab08e76f3b","html_url":"https://github.com/yykamei/thwack","commit_stats":{"total_commits":600,"total_committers":4,"mean_commits":150.0,"dds":0.6416666666666666,"last_synced_commit":"2b79f5279d3a7f5f3b10ed421c02eddc8b68dd18"},"previous_names":[],"tags_count":52,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yykamei%2Fthwack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yykamei%2Fthwack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yykamei%2Fthwack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yykamei%2Fthwack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yykamei","download_url":"https://codeload.github.com/yykamei/thwack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868141,"owners_count":21174750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","command-line","command-line-tool","hacktoberfest","rust","terminal"],"created_at":"2024-10-03T08:03:48.662Z","updated_at":"2025-12-29T14:26:24.281Z","avatar_url":"https://github.com/yykamei.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# thwack\n\n\u003ca href=\"https://github.com/yykamei/thwack/actions/workflows/ci.yml\"\u003e\u003cimg alt=\"GitHub Actions workflow status\" src=\"https://github.com/yykamei/thwack/actions/workflows/ci.yml/badge.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://crates.io/crates/thwack\"\u003e\u003cimg alt=\"Crates.io\" src=\"https://img.shields.io/crates/v/thwack\"\u003e\u003c/a\u003e\n\nthwack is a Command-line utility similar to [\"Go to file\" on GitHub](https://docs.github.com/en/github/searching-for-information-on-github/searching-on-github/finding-files-on-github).\nYou can search for a file in a directory and invoke an arbitrary command on it.\n\n\u003cimg width=\"480\" src=\"https://user-images.githubusercontent.com/13130705/160029304-f376fcd2-ad9e-4c1b-90b7-f7436d7bce0b.gif\" alt=\"thwack on iTerm2\"\u003e\n\n## Why is this useful?\n\nIn many cases, we know the name of a file when we want to open it, but we may not be sure where it's located.\nIn this case, we can search it with our file explorer.\nHowever, if we're in a terminal console, it's cumbersome to switch to another application.\nThere might be few command-line tools to support this functionality,\nbut they require us to combine some commands with pipes to get things done.\n\nthwack is the solution! You can find and open a file quickly with it 🚀\n\n## Installation\n\nIf you have a Rust environment set up, you can use the `cargo install` command:\n\n```console\ncargo install thwack\n```\n\nNote we consider providing easier ways to install thwack. This should be used without the knowledge of Rust.\n\n## Getting Started\n\nJust run this command and type the name of the file you'd like to find.\nBy hitting the Enter key on the file you wanted in the list of the results, you can execute an arbitrary command on it.\n\n```console\nthwack\n```\n\nRun `thwack --help` for more options.\n\n## Shortcuts\n\n| Action                          | Shortcuts         |\n| ------------------------------- | ----------------- |\n| Move selection up               | `Ctrl+p` or `⬆️`  |\n| Move selection down             | `Ctrl+n` or `⬇️`  |\n| Execute command with selection  | `Enter`           |\n| Copy relative path of selection | `Ctrl+d`          |\n| Copy absolute path of selection | `Ctrl+y`          |\n| Exit                            | `Esc` or `Ctrl+c` |\n\n## Contributing\n\nThank you for considering contributing!\n\nThis project is so immature that you may wonder how to contribute.\nCurrently, all actions are welcome!\nOpen issues if you want to comment or ask something.\nOpen pull requests directly if you have any ideas.\nThere are many chances to improve this project, so don't hesitate to do something here 😄\n\nTake a look at the [CONTRIBUTING.md](https://github.com/yykamei/thwack/blob/main/CONTRIBUTING.md), too.\n\n## License\n\nCopyright © 2021, Yutaka Kamei.\n\nthwack is available under the terms of either the Apache License 2.0 or the MIT License, at your option.\n\nSee [LICENSE-APACHE](https://github.com/yykamei/thwack/blob/main/LICENSE-APACHE), [LICENSE-MIT](https://github.com/yykamei/thwack/blob/main/LICENSE-MIT) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyykamei%2Fthwack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyykamei%2Fthwack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyykamei%2Fthwack/lists"}