{"id":15692898,"url":"https://github.com/ultirequiem/shorty","last_synced_at":"2025-05-08T03:17:51.867Z","repository":{"id":37788342,"uuid":"413951741","full_name":"UltiRequiem/shorty","owner":"UltiRequiem","description":"🔗 Command Line Tool and library to shorten URLS","archived":false,"fork":false,"pushed_at":"2024-04-26T00:07:12.000Z","size":54,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-08T03:17:46.096Z","etag":null,"topics":["cli-tool","deno","typescript","urls"],"latest_commit_sha":null,"homepage":"https://deno.land/x/shorty","language":"TypeScript","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/UltiRequiem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2021-10-05T19:23:50.000Z","updated_at":"2022-04-04T21:38:04.000Z","dependencies_parsed_at":"2023-02-18T12:19:37.106Z","dependency_job_id":"ac09391a-ffe9-4fb4-a0cc-97d996ff0d48","html_url":"https://github.com/UltiRequiem/shorty","commit_stats":{"total_commits":69,"total_committers":2,"mean_commits":34.5,"dds":"0.13043478260869568","last_synced_commit":"29f307e9200e715fde3e4d1e8d583dd70fac7505"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fshorty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fshorty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fshorty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UltiRequiem%2Fshorty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UltiRequiem","download_url":"https://codeload.github.com/UltiRequiem/shorty/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252990024,"owners_count":21836669,"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-tool","deno","typescript","urls"],"created_at":"2024-10-03T18:40:35.342Z","updated_at":"2025-05-08T03:17:51.843Z","avatar_url":"https://github.com/UltiRequiem.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shorty\n\n[![GitMoji](https://img.shields.io/badge/Gitmoji-%F0%9F%8E%A8%20-FFDD67.svg)](https://gitmoji.dev)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n![Lines Of Code](https://img.shields.io/tokei/lines/github.com/UltiRequiem/shorty?color=blue\u0026label=Total%20Lines)\n![CodeQL](https://github.com/UltiRequiem/shorty/workflows/CodeQL/badge.svg)\n![Lint](https://github.com/UltiRequiem/shorty/workflows/Lint/badge.svg)\n\nYou can get this package by [nest.land](https://nest.land/package/shorty),\n[deno.land](https://deno.land/x/shorty) or\n[denopkg](https://denopkg.com/UltiRequiem/shorty/mod.ts).\n\n## Usage\n\nThis package exposes just one function,\n[shorty](https://github.com/UltiRequiem/shorty/blob/main/mod.ts#L3).\n\n```typescript\nimport shorty from \"https://deno.land/x/shorty/mod.ts\";\n\nconst shortUrl = await shorty(\"https://github.com/UltiRequiem/shorty\");\n\nconsole.log(shortUrl); // https://cleanuri.com/OjXAO1\n```\n\n## CLI Tool\n\n### Installation\n\n- [deno.land/x](https://deno.land/x/shory/cli.ts):\n\n```bash\ndeno install --allow-net https://deno.land/x/shorty/cli.ts\n```\n\n- [denopkg.com](https://denopkg.com/UltiRequiem/shorty/cli.ts):\n\n```bash\ndeno install --allow-net https://denopkg.com/UltiRequiem/shorty/cli.ts\n```\n\n- [nest.land](https://x.nest.land/shorty/cli.ts):\n\n```bash\ndeno install --allow-net https://x.nest.land/shorty@1.1.1/cli.ts\n```\n\n### Usage\n\n```bash\n$ shorty https://stackoverflow.com/questions/5717093\nOriginal URL: https://stackoverflow.com/questions/5717093\nShort URL: https://cleanuri.com/GeWAQO\n```\n\n\u003e It is printed with colors :)\n\n### License\n\n[This project](https://deno.land/x/template) is licensed under the\n[MIT License](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fshorty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fultirequiem%2Fshorty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fultirequiem%2Fshorty/lists"}