{"id":13477885,"url":"https://github.com/urbanogilson/lineselect","last_synced_at":"2025-03-27T06:31:02.468Z","repository":{"id":185867249,"uuid":"665284126","full_name":"urbanogilson/lineselect","owner":"urbanogilson","description":"Interactive Line Selector","archived":false,"fork":false,"pushed_at":"2025-01-25T21:54:11.000Z","size":686,"stargazers_count":73,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T14:50:27.143Z","etag":null,"topics":["cli","command-line","rust","tool"],"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/urbanogilson.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}},"created_at":"2023-07-11T21:30:45.000Z","updated_at":"2025-01-25T21:42:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a0e9e27-136f-429e-a767-98b8902ad390","html_url":"https://github.com/urbanogilson/lineselect","commit_stats":null,"previous_names":["urbanogilson/lineselect"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanogilson%2Flineselect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanogilson%2Flineselect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanogilson%2Flineselect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbanogilson%2Flineselect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbanogilson","download_url":"https://codeload.github.com/urbanogilson/lineselect/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245797341,"owners_count":20673835,"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","rust","tool"],"created_at":"2024-07-31T16:01:49.048Z","updated_at":"2025-03-27T06:31:02.463Z","avatar_url":"https://github.com/urbanogilson.png","language":"Rust","funding_links":[],"categories":["Rust","\u003ca name=\"text-processing\"\u003e\u003c/a\u003eText processing"],"sub_categories":[],"readme":"# Line Select\n\n[![CI](https://github.com/urbanogilson/lineselect/actions/workflows/rust.yml/badge.svg?branch=main)](https://github.com/urbanogilson/lineselect/actions/workflows/rust.yml)\n[![Crates.io](https://img.shields.io/crates/v/lineselect.svg)](https://crates.io/crates/lineselect)\n[![CI](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/urbanogilson/lineselect/blob/main/LICENSE)\n\nElevate your command-line pipelines using the Interactive Line Selector – a potent utility enabling interactive line selection from stdin. Seamlessly integrate, pause, select, and refine your pipeline, enhancing data processing precision.\n\n# Features\n- Interactive Selection: Pause the pipeline's execution to manually select specific lines from the input stream.\n- Seamless Integration: Easily integrate the Interactive Line Selector into your existing command-line pipelines.\n- Optimized Workflow: Curate data on-the-fly for more accurate and meaningful results.\n\n# Usage\n\nIncorporate the Interactive Line Selector into your pipeline:\n\n\u003cpre\u003e\n\u0026lt;command producing input\u0026gt; | \u003cb\u003elineselect\u003c/b\u003e | \u0026lt;subsequent command\u0026gt;\n\u003c/pre\u003e\n\nUse arrow keys to navigate, press `Space` to select/deselect lines, and press `Enter` to proceed with the selected lines.\n\n# Example\n\nImagine you have a list of files in a directory and you want to selectively remove them using `rm`. Instead of using a complex find command, you can utilize the Interactive Line Selector to streamline the process:\n\n\u003cpre\u003e\nls | \u003cb\u003elineselect\u003c/b\u003e | xargs rm\n\u003c/pre\u003e\n\n![Example](https://github.com/urbanogilson/lineselect/blob/main/.github/example.gif)\n\n# Installation\n\n## Cargo\n\n```bash\ncargo install lineselect\n```\n\n## Debian\n\n```bash\nwget https://github.com/urbanogilson/lineselect/releases/download/v0.1.1/lineselect_0.1.1_amd64.deb\napt install ./lineselect_0.1.1_amd64.deb\n```\n\n# Contributions\n\nContributions are welcome! If you have ideas for improvements or new features, please feel free to submit a pull request.\n\n# Acknowledgments\n\nThis project builds upon the fantastic work of the following projects:\n\n- [Clap](https://github.com/clap-rs/clap) - A full featured, fast Command Line Argument Parser for Rust.\n- [Dialoguer](https://github.com/console-rs/dialoguer) - Rust utility library for nice command line prompts and similar things.\n- [Colored](https://github.com/colored-rs/colored) - Coloring terminal so simple you already know how to do it!\n\n## Previous Implementation\n\nThis idea has been implemented before by [chfritz/lineselect](https://github.com/chfritz/lineselect) using JavaScript. Our project aims to provide an option in Rust with a single binary.\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%2Furbanogilson%2Flineselect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbanogilson%2Flineselect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbanogilson%2Flineselect/lists"}