{"id":19295732,"url":"https://github.com/xditya/webshortener","last_synced_at":"2025-04-22T08:30:51.817Z","repository":{"id":185375639,"uuid":"673008674","full_name":"xditya/WebShortener","owner":"xditya","description":"Lightweight Link Shortener.","archived":false,"fork":false,"pushed_at":"2023-12-14T14:26:17.000Z","size":120,"stargazers_count":24,"open_issues_count":1,"forks_count":20,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T21:12:52.573Z","etag":null,"topics":["link-shortener","link-shortener-api"],"latest_commit_sha":null,"homepage":"https://short.xditya.me/","language":"CSS","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/xditya.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-07-31T16:54:47.000Z","updated_at":"2025-03-22T15:49:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb7437c3-520c-4295-acc1-046601ef298e","html_url":"https://github.com/xditya/WebShortener","commit_stats":null,"previous_names":["xditya/webshortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FWebShortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FWebShortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FWebShortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xditya%2FWebShortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xditya","download_url":"https://codeload.github.com/xditya/WebShortener/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250206040,"owners_count":21392171,"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":["link-shortener","link-shortener-api"],"created_at":"2024-11-09T22:44:18.445Z","updated_at":"2025-04-22T08:30:51.812Z","avatar_url":"https://github.com/xditya.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebShortener\nA simple web shortener made with [oak](https://deno.land/x/oak) and [mongo](https://mongodb.com).\n\n\u003ca href=\"https://www.producthunt.com/posts/webshortener?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-webshortener\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=429959\u0026theme=dark\" alt=\"WebShortener - A\u0026#0032;simple\u0026#0032;lightweight\u0026#0032;link\u0026#0032;shortener\u0026#0032;using\u0026#0032;MongoDB\u0026#0046; | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\n# Live Version\nYou can find a live version of this project [here](https://short.xditya.me).\n\n# API\nThe API endpoint is `/shorten`, it takes `url` as a query parameter and returns the shortened URL.\nExample usage can be found [here](./public/script.js).\n\n# Deploying\nYou can easily deploy this project to [deno deploy](https://deno.com/deploy).\n1. Fork the repository (and give it a star too!)\n2. Head on to [deno deploy](https://deno.com/deploy) and login with your GitHub account.\n3. Select \"WebShortener\" from the list of repositories.\n4. Choose \"main\" as the branch, and \"api/main.ts\" as the entrypoint.\n5. Head on to the settings of your app and add your `MONGO_URL`\n6. Vist the deployed app and enjoy!\n\n# License\nThis project is licensed under the [MIT License](./LICENSE).\n\n# Credits\nMade with ❤️ by [Aditya](https://xditya.me).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxditya%2Fwebshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxditya%2Fwebshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxditya%2Fwebshortener/lists"}