{"id":22489146,"url":"https://github.com/formkit/shorten","last_synced_at":"2025-06-19T20:41:39.357Z","repository":{"id":205392620,"uuid":"714007945","full_name":"formkit/shorten","owner":"formkit","description":"A public url shortener ❤️ 🌎 🗜️.","archived":false,"fork":false,"pushed_at":"2023-11-06T14:47:33.000Z","size":42,"stargazers_count":36,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-05T19:08:44.482Z","etag":null,"topics":["nitro","public","url-shortener"],"latest_commit_sha":null,"homepage":"https://formk.it","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/formkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-11-03T17:56:58.000Z","updated_at":"2024-10-29T06:46:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0547d31-145b-4b27-bc26-3947c28c165c","html_url":"https://github.com/formkit/shorten","commit_stats":null,"previous_names":["formkit/shorten"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/formkit/shorten","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formkit%2Fshorten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formkit%2Fshorten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formkit%2Fshorten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formkit%2Fshorten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formkit","download_url":"https://codeload.github.com/formkit/shorten/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formkit%2Fshorten/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260827633,"owners_count":23069002,"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":["nitro","public","url-shortener"],"created_at":"2024-12-06T17:19:18.174Z","updated_at":"2025-06-19T20:41:34.327Z","avatar_url":"https://github.com/formkit.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# FormKit Url Shortener 🗜️\n\nThis is a public url shortener built with [UnJS’s excellent Nitro server](https://nitro.unjs.io/) server. Anyone is welcome to use it free of charge ❤️. You can use it to shorten any url, and in general we (the FormKit team) will try to keep these short url’s alive.\n\n## Usage\n\nTo shorten a URL perform a post request to `https://formk.it` with the url you’d like to shorten in the body (this can be plain text or a JSON object with a \"url\" property):\n\n```sh\ncurl -X POST -d \"https://www.youtube.com/watch?v=10q09MMqU9E\" https://www.formk.it\n# https://formk.it/b4fa31ffi2xzf3fmv02czq0\n```\n\n## Your own shortener\n\nYou can of course run your own shortener, and we encourage you to do so.\n\n```sh\nnpx giget@latest gh:formkit/shorten my-shortener-app\n```\n\nYou’ll need to provide your own Nitro storage adapter credentials (we use Vercel’s KV store)\n\n```ts\n// nitro.config.ts\nexport default defineNitroConfig({\n  storage: {\n    kv: {\n      driver: \"vercelKV\", // 👀 your storage adapter\n    },\n  },\n});\n```\n\nFinally use a `.env` file with the appropriate [environment variables for your adapter](https://unstorage.unjs.io/usage).\n\n\n## Notice\n\nIf you chose to use the `formk.it` public shortener, please be aware that we cannot guarantee the longevity of the short urls. We will try to keep them alive, but we may need to remove them at any time. If you need a short url that will never change, please run your own shortener.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformkit%2Fshorten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformkit%2Fshorten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformkit%2Fshorten/lists"}