{"id":22049339,"url":"https://github.com/krish-r/morse-rs","last_synced_at":"2026-04-28T15:38:29.379Z","repository":{"id":153775690,"uuid":"630650641","full_name":"krish-r/morse-rs","owner":"krish-r","description":"A simple program to encode to/decode from morse code.","archived":false,"fork":false,"pushed_at":"2023-10-21T07:40:26.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-01T08:22:28.497Z","etag":null,"topics":["cli","rust"],"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/krish-r.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}},"created_at":"2023-04-20T21:01:46.000Z","updated_at":"2023-06-01T20:32:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"588c04bd-3a05-4706-8c91-fa3863cb7b86","html_url":"https://github.com/krish-r/morse-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/krish-r/morse-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fmorse-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fmorse-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fmorse-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fmorse-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krish-r","download_url":"https://codeload.github.com/krish-r/morse-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fmorse-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","rust"],"created_at":"2024-11-30T14:14:56.731Z","updated_at":"2026-04-28T15:38:29.339Z","avatar_url":"https://github.com/krish-r.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# morse-rs\n\n![morse_rs][morse_rs_png]\n\nA simple program to encode to/decode from morse code.\n\n## Note\n\n-   I'm exploring the Rust Book \u0026 rustlings, so wanted to build something while learning.\n-   Supports A-Z, 0-9 (Chart/Mapping referred from on [Wikipedia][wikipedia]).\n-   `|` is used for representing spaces in the encoded string\n-   Consecutive spaces are treated as a single space\n\n## TOC\n\n-   [Install Instructions](#install-instructions)\n-   [Uninstall Instructions](#uninstall-instructions)\n-   [Usage](#usage)\n-   [Examples](#examples)\n\n## Install Instructions\n\n-   Option 1 - using Cargo\n\n    ```sh\n    # Clone the repository\n    git clone https://github.com/krish-r/morse-rs.git\n\n    # Switch to the cloned directory\n    cd morse-rs\n\n    # Try it without installing\n    cargo run -- [OPTIONS] [Word/Sentence]\n\n    # or\n\n    # To install (the cargo bin directory `~/.cargo/bin` should be in your `$PATH`)\n    cargo install --path .\n\n    ```\n\n-   Option 2 - using the binary from the release page\n\n    ```sh\n    # Download the binary from release\n    curl -LO https://github.com/krish-r/morse-rs/releases/download/0.1.2/morse-rs_0.1.2.tar.gz\n\n    # Extract the archive\n    tar xvzf ./morse-rs_0.1.2.tar.gz \u0026\u0026 rm -ir ./morse-rs_0.1.2.tar.gz\n\n    # add executable permission to user\n    chmod u+x ./morse-rs\n\n    # Move the file somewhere in your `$PATH` (for ex. `~/.local/bin`)\n    mv ./morse-rs ~/.local/bin/morse-rs\n    ```\n\n## Uninstall instructions\n\n```sh\nrm -i $(which morse-rs)\n```\n\n## Usage\n\n```sh\nmorse-rs --help\n```\n\n```txt\nUsage: morse-rs [OPTIONS] [Word/Sentence]\n\nArguments:\n  [Word/Sentence]\n\n\nOptions:\n  -m, --mode \u003cMODE\u003e\n          mode\n\n          [default: encode]\n\n          Possible values:\n          - encode: Encode to Dots and Dash\n          - decode: Decode to String\n          - print:  Print morse code mappings\n\n  -h, --help\n          Print help (see a summary with '-h')\n\n  -V, --version\n          Print version\n```\n\n## Examples\n\n-   Encoding\n\n    ```sh\n    morse-rs \"Hello World\"\n\n    # or\n\n    morse-rs -m encode \"Hello World\"\n    ```\n\n-   Decoding\n\n    ```sh\n    # '|' should be used as delimiter instead of space (' ')\n    # Note the '--' between decode and input string\n    morse-rs -m decode -- \".... . .-.. .-.. --- | .-- --- .-. .-.. -..\"\n    ```\n\n[wikipedia]: https://en.wikipedia.org/wiki/Morse_code\n[morse_rs_png]: https://user-images.githubusercontent.com/54745129/233487314-a9f4e2d4-5bd8-4d0c-9e29-07f141cbec9d.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrish-r%2Fmorse-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrish-r%2Fmorse-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrish-r%2Fmorse-rs/lists"}