{"id":26993165,"url":"https://github.com/jakejarvis/shortty","last_synced_at":"2026-04-13T17:31:54.043Z","repository":{"id":286003507,"uuid":"960042313","full_name":"jakejarvis/shortty","owner":"jakejarvis","description":"🩳  A very, very simple link shortener. Maybe too simple, quite frankly.","archived":false,"fork":false,"pushed_at":"2026-01-27T19:09:32.000Z","size":37,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-29T15:56:41.708Z","etag":null,"topics":["bitly","cloudflare","cloudflare-kv","cloudflare-workers","hono","link-shortener","serverless","starter-template","typescript","url-shortener"],"latest_commit_sha":null,"homepage":"https://jrvs.io/shortty","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/jakejarvis.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-04-03T19:06:19.000Z","updated_at":"2025-12-29T17:46:35.000Z","dependencies_parsed_at":"2025-04-03T20:25:10.869Z","dependency_job_id":"fbf8d0b1-ab2e-46a6-ade4-ac0b836f2db3","html_url":"https://github.com/jakejarvis/shortty","commit_stats":null,"previous_names":["jakejarvis/shortty"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/jakejarvis/shortty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fshortty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fshortty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fshortty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fshortty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakejarvis","download_url":"https://codeload.github.com/jakejarvis/shortty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fshortty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31762486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["bitly","cloudflare","cloudflare-kv","cloudflare-workers","hono","link-shortener","serverless","starter-template","typescript","url-shortener"],"created_at":"2025-04-03T23:16:41.090Z","updated_at":"2026-04-13T17:31:54.027Z","avatar_url":"https://github.com/jakejarvis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🩳 shortty\n\nA very, _very_ simple (less than 100 LoC, for whatever that's worth) link shortener powered by [Cloudflare Workers](https://workers.cloudflare.com/) and [Hono](https://hono.dev/).\n\n## Setup\n\n[The docs are pretty much already written...](https://developers.cloudflare.com/workers/wrangler/) But essentially:\n\n1. Create a Cloudflare KV store: `npx wrangler kv namespace create my-links`\n1. Update [wrangler.jsonc](wrangler.jsonc) with that namespace's ID, your worker's name, and your own domain.\n1. Set a random authentication token: `npx wrangler secret put BEARER_TOKEN`\n1. Deploy: `npx wrangler deploy`\n\n## Usage\n\nThere is **no GUI**. Quite literally everything is done via `curl` requests in your terminal (hence the name).\n\n### Add a link with a _**random**_ shortcode\n\n```sh\ncurl -X POST \\\n  -H \"Authorization: Bearer \u003cBEARER_TOKEN\u003e\" \\\n  -H \"URL: https://ubuntu.com/download/server/thank-you?version=24.04.2\u0026architecture=amd64\u0026lts=true\" \\\n  https://jrvs.io\n```\n\n### Add a link with a _**specific**_ shortcode\n\n```sh\ncurl -X PUT \\\n  -H \"Authorization: Bearer \u003cBEARER_TOKEN\u003e\" \\\n  -H \"URL: https://github.com/jakejarvis/shortty/blob/main/README.md\" \\\n  https://jrvs.io/readme\n```\n\n### Delete a link\n\n```sh\ncurl -X DELETE \\\n  -H \"Authorization: Bearer \u003cBEARER_TOKEN\u003e\" \\\n  https://jrvs.io/readme\n```\n\n### List all links\n\nSoon, maybe. 🤷‍♂️\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarvis%2Fshortty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakejarvis%2Fshortty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarvis%2Fshortty/lists"}