{"id":20481509,"url":"https://github.com/newtoallofthis123/short_cli","last_synced_at":"2025-09-03T02:41:33.803Z","repository":{"id":188744168,"uuid":"679370002","full_name":"newtoallofthis123/short_cli","owner":"newtoallofthis123","description":"A Simple CLI Implementation of NoobShort","archived":false,"fork":false,"pushed_at":"2023-12-11T17:24:10.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-14T19:01:24.027Z","etag":null,"topics":["hacktoberfest","rust","rust-cli","url-shortener"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/nshrt","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/newtoallofthis123.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-08-16T17:25:50.000Z","updated_at":"2023-09-24T13:35:47.000Z","dependencies_parsed_at":"2023-12-11T18:35:09.076Z","dependency_job_id":null,"html_url":"https://github.com/newtoallofthis123/short_cli","commit_stats":null,"previous_names":["newtoallofthis123/short_cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/newtoallofthis123/short_cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtoallofthis123%2Fshort_cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtoallofthis123%2Fshort_cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtoallofthis123%2Fshort_cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtoallofthis123%2Fshort_cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newtoallofthis123","download_url":"https://codeload.github.com/newtoallofthis123/short_cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newtoallofthis123%2Fshort_cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273381916,"owners_count":25095327,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["hacktoberfest","rust","rust-cli","url-shortener"],"created_at":"2024-11-15T16:08:40.500Z","updated_at":"2025-09-03T02:41:33.765Z","avatar_url":"https://github.com/newtoallofthis123.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NoobShort CLI (nshrt)\n\n\u003e version 0.2\n\nNoobShort is a simple to use URL shortener. It is just a small part of\nmy site [noobscience.rocks](https://noobscience.rocks).\nI made a very pretty web interface for it, but I also wanted to make a CLI\nversion of it. So here it is.\n\nYou can check out the web interface at [noobscience/go](https://noobscience.rocks/go).\n\n## Screen shot\n\n![Screenshot](/assets/screenshot.png)\n\n## Installation\n\n~~You need to manually compile it~~\n\nCargo binary is now available. You can install it with cargo by running\n\n```bash\ncargo install nshrt\n```\n\n### Local compilation\n\nYou are free to compile it yourself. You need to have Rust \u003e= 1.4.0 and Cargo \u003e= 0.6.0.\nThen, just clone the repo and run `cargo build --release`. The binary will\nbe in `target/release/nshrt`.\n\n```bash\ngit clone https://github.com/newtoallofthis123/short_cli/\ncd short_cli\ncargo build --release\nsudo cp target/release/nshrt /usr/local/bin/nshrt\n```\n\nHowever, if you are not a rustecean, you can download the binary from\nthe [releases](https://github.com/newtoallofthis123/short_cli/releases)\npage. Just download the binary for your OS and architecture and put it\nsomewhere in your PATH.\n\n\u003e I need your help. I don't have a Mac, so I can't compile the binary for\nMac. If you have a Mac, please compile the binary and send it to me.\nThanks!\n\n## Usage\n\nNoobShort CLI is very easy to use. Just type `nshrt \u003curl\u003e` and it will\nreturn the shortened URL. If you want to use a custom URL, type\n`nshrt \u003curl\u003e --custom \u003ccustom\u003e`. If the custom URL is already taken, it will\nreturn an error.\n\nIt is very simple and easy to use. I hope you enjoy it.\n\nJust a small thing though, I am sorry if the interface has too much\nbranding. I am not trying to advertise, I just want to make sure that\npeople know where the URL is coming from. I hope you understand.\n\n## Dev Stuff\n\nNoobShort CLI is written primarily in Rust 1.7.0. It uses multiple\ndependencies, which are listed in the Cargo.toml file.\n\nIt posts a request to the publicly available API at\n`https://noobscience.rocks/api/go`. The API is written in TypeScript and\nuses MongoDB as a database.\nIt is publicly available and you are free to integrate it into your own\nprojects. Just make sure to give me credit and keep in mind the [Terms of Service](https://noobscience.rocks/tos).\n\nIf you want to contribute, feel free to fork the repo and make a pull\nrequest. I will review it and merge it if it is good.\n\nTo develop, open it in your favorite editor and start coding. To run it,\njust run `cargo run` and it will compile and run it for you.\n\n## License\n\nNoobShort CLI is licensed under the MIT license. You can find it in the\n[LICENSE](LICENSE) file.\n\n## Contact\n\nIf you have any questions, feel free to contact me at\n[noobscience/contact](https://noobscience.rocks/contact).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewtoallofthis123%2Fshort_cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewtoallofthis123%2Fshort_cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewtoallofthis123%2Fshort_cli/lists"}