{"id":26903577,"url":"https://github.com/6km/splitt","last_synced_at":"2026-04-11T22:03:16.544Z","repository":{"id":285267780,"uuid":"957562615","full_name":"6km/splitt","owner":"6km","description":"Split text in your terminal.","archived":false,"fork":false,"pushed_at":"2025-03-30T17:23:12.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T18:24:13.199Z","etag":null,"topics":["cli","linux","macos","rust","split","text","text-processing","tool","tools"],"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/6km.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":"2025-03-30T17:11:08.000Z","updated_at":"2025-03-30T17:23:15.000Z","dependencies_parsed_at":"2025-03-30T18:24:20.546Z","dependency_job_id":null,"html_url":"https://github.com/6km/splitt","commit_stats":null,"previous_names":["6km/splitt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6km%2Fsplitt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6km%2Fsplitt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6km%2Fsplitt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6km%2Fsplitt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/6km","download_url":"https://codeload.github.com/6km/splitt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246627898,"owners_count":20808104,"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","linux","macos","rust","split","text","text-processing","tool","tools"],"created_at":"2025-04-01T10:36:09.428Z","updated_at":"2026-04-11T22:03:11.525Z","avatar_url":"https://github.com/6km.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# splitt\n\nA command-line tool for splitting text in your terminal.\n\n```\nUsage: splitt [OPTIONS] --separator \u003cSEPARATOR\u003e [TEXT]\n\nArguments:\n  [TEXT]  The text to split. If not provided, the tool reads from standard input (stdin)\n\nOptions:\n  -s, --separator \u003cSEPARATOR\u003e  The separator used to split the text\n      --keep-empty             Keep empty strings\n      --raw                    Output the results as a raw array of strings\n  -c, --chunked                The output is printed in chunks; which means each part is printed separately\n  -h, --help                   Print help\n  -V, --version                Print version\n```\n\n## Examples\n\n```bash\n# Providing the text directly.\nsplitt \"1-23-4\" -s \"-\"\n# 1\n# 23\n# 4\n\n# Pass output of another command and print normal output.\npwd | splitt -s \"/\"\n# home\n# taha\n# projects\n\n# Pass output of another command and print a raw array.\npwd | splitt -s \"/\" --raw\n# [\"home\", \"taha\", \"projects\"]\n```\n\n## Installation\n\nYou can install `splitt` using one of the following methods:\n\n### 1. Building from Source (requires rust)\n\nIf you have Rust and Cargo installed, you can build `splitt` from source.\n\n1.  **Clone the repository:**\n\n    ```bash\n    git clone github.com/6km/splitt.git\n    cd splitt\n    ```\n\n2.  **Build the project:**\n\n    ```bash\n    cargo build --release\n    ```\n\n3.  **Install the executable:**\n\n    ```bash\n    # Linux/macOS\n    cp target/release/splitt /usr/local/bin/\n\n    ## NOTE: it might be different for your operating system\n    ```\n\n### 2. GitHub Releases\n\nPre-built binaries are available on the [GitHub Releases page](https://github.com/6km/splitt/releases).\n\n1.  **Download the binary**\n\n2.  **Make the binary executable (Linux/macOS):**\n\n    ```bash\n    chmod +x splitt\n    ```\n\n3.  **Move the binary to a directory in your PATH:**\n\n    ```bash\n    # Linux/macOS\n    mv splitt /usr/local/bin/\n\n    ## NOTE: it might be different for your operating system\n    ```\n\n### 3. Using Cargo\n\nYou can install directly with cargo.\n\n```bash\ncargo install splitt\n```\n\n### 4. Using `stew`\n\nYou can use `stew` to install the pre-built GitHub releases binaries.\n\n```bash\nstew install 6km/splitt\n```\n\n# License\n\nLicensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6km%2Fsplitt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F6km%2Fsplitt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6km%2Fsplitt/lists"}