{"id":20497581,"url":"https://github.com/simrat39/yaus","last_synced_at":"2025-06-30T01:35:09.281Z","repository":{"id":107728310,"uuid":"526803714","full_name":"simrat39/yaus","owner":"simrat39","description":"A simple in-memory url shortener (poc)","archived":false,"fork":false,"pushed_at":"2022-08-20T02:36:10.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T17:47:01.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/simrat39.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":"2022-08-20T02:18:44.000Z","updated_at":"2022-08-20T02:20:53.000Z","dependencies_parsed_at":"2023-03-13T14:33:36.445Z","dependency_job_id":null,"html_url":"https://github.com/simrat39/yaus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simrat39/yaus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Fyaus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Fyaus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Fyaus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Fyaus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simrat39","download_url":"https://codeload.github.com/simrat39/yaus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simrat39%2Fyaus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262693802,"owners_count":23349780,"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":[],"created_at":"2024-11-15T18:11:30.252Z","updated_at":"2025-06-30T01:35:09.210Z","avatar_url":"https://github.com/simrat39.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAUS \n### *Yet another URL Shortener*\nA simple in-memory URL shortener, made for fun.\n\n### Development\n```sh\nnpm ci\nnpm run dev\n```\n\n### Usage\n![Demo](https://user-images.githubusercontent.com/37233846/185725646-2d3d0e14-6082-44a0-8e30-9aabfc7d96ec.gif)\n\n### API Overview\n\n```\nPOST /shorten\n\nRequest: \n- headers: {\n    Accept: \"application/json\",\n    \"Content-Type\": \"application/json\",\n  },\n- body: { url: string },\n\nResponse:\n  - 400\n  - 200\n    - Content-Type: application/json; charset=utf-8,\n    - body: { shortened: string }\n```\n\n```\nGET /:id\n\nResponse:\n  - 302\n    - Redirects to saved url\n  - 400\n    - URL not found\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimrat39%2Fyaus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimrat39%2Fyaus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimrat39%2Fyaus/lists"}