{"id":22899770,"url":"https://github.com/follgad/short","last_synced_at":"2025-04-01T04:38:48.367Z","repository":{"id":86173360,"uuid":"121444434","full_name":"FOLLGAD/short","owner":"FOLLGAD","description":"simple link shortener","archived":false,"fork":false,"pushed_at":"2024-07-17T15:57:45.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T03:15:19.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/FOLLGAD.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":"2018-02-13T22:31:05.000Z","updated_at":"2024-07-17T15:57:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"e96d1523-eea3-46e6-84f1-45a7dcc9c8df","html_url":"https://github.com/FOLLGAD/short","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/FOLLGAD%2Fshort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fshort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fshort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FOLLGAD%2Fshort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FOLLGAD","download_url":"https://codeload.github.com/FOLLGAD/short/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246586108,"owners_count":20801026,"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-12-14T01:16:27.820Z","updated_at":"2025-04-01T04:38:48.346Z","avatar_url":"https://github.com/FOLLGAD.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Short\n\nShortens links.\n\n# Run\n\n1. Create a .env, alternatively remove \".example\" from `.env.example`\n\n2. `npm install`\n\n3. `npm start`\n\n# API\n\n## Get\n\n```\nGET /\n```\n\nReturns all shortened links\n\n```\nGET /:id\n```\n\nRedirects you to the real url of the shortened link\n\n## Post\n\n```\nPOST /\npassword: pw123\nContent-Type: application/json\n\n{\n\t\"url\": \"https://github.com/follgad\"\n}\n```\n\n```\n201 Created\nContent-Type: application/json\n\n{\n    \"url\": \"https://github.com/follgad\",\n    \"createdAt\": \"2018-02-13T22:08:52.158Z\",\n    \"visits\": 0,\n    \"_id\": \"3d0gFbw8\"\n}\n```\n\n## Delete\n\n```\nDELETE /:id\npassword: pw123\n```\n\n```\n204 No Content\n```\n\nDeletes the link at the specific ID\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollgad%2Fshort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffollgad%2Fshort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffollgad%2Fshort/lists"}