{"id":18672132,"url":"https://github.com/dfirebaugh/url_shortener","last_synced_at":"2025-11-06T21:30:40.060Z","repository":{"id":101931415,"uuid":"77156087","full_name":"dfirebaugh/url_shortener","owner":"dfirebaugh","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-28T03:11:20.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T19:29:55.218Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dfirebaugh.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-12-22T15:39:30.000Z","updated_at":"2016-12-27T20:04:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"65dd1a79-8f3d-4ac9-ae6a-aa6b3221b0b7","html_url":"https://github.com/dfirebaugh/url_shortener","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Furl_shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Furl_shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Furl_shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Furl_shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfirebaugh","download_url":"https://codeload.github.com/dfirebaugh/url_shortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239513345,"owners_count":19651321,"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-07T09:09:34.094Z","updated_at":"2025-11-06T21:30:40.029Z","avatar_url":"https://github.com/dfirebaugh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### This is a URL shortening api.  \n\nCreate a file named .env in the root directory and save the mongodb URI in a variable called URI\ne.g. `URI=mongodb://\u003cdbuser\u003e:\u003cdbpassword\u003e@ds8888.mlab.com:21896/url-shortener`\n\n`https://dfire-url-shortener.glitch.me/\u003curl-to-shorten\u003e` will create a new shorter url\ne.g. `https://dfire-url-shortener.glitch.me/new/2`\nWhich you can use to redirect to the orirginal url.\n\n\n\n\n### Example Usage\n\n`https://dfire-url-shortener.glitch.me/www.google.com`\nwill create:\n`https://dfire-url-shortener.glitch.me/new/1`\nwhich will redirect to:\n`https://google.com`\n\n\nIf a URL already exists in the database, it will return an error stating that the URL already exists and show you the stored value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfirebaugh%2Furl_shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfirebaugh%2Furl_shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfirebaugh%2Furl_shortener/lists"}