{"id":25949851,"url":"https://github.com/firmanmimang/shorten-url","last_synced_at":"2026-04-07T16:31:21.583Z","repository":{"id":279733763,"uuid":"939767526","full_name":"firmanmimang/shorten-url","owner":"firmanmimang","description":"URL shorten project API","archived":false,"fork":false,"pushed_at":"2025-02-27T05:16:21.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T22:11:14.874Z","etag":null,"topics":["docker","docker-compose","golang","redis"],"latest_commit_sha":null,"homepage":"https://shorten-url-production.up.railway.app","language":"Go","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/firmanmimang.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":"2025-02-27T04:32:22.000Z","updated_at":"2025-02-27T05:16:24.000Z","dependencies_parsed_at":"2025-02-27T05:39:06.628Z","dependency_job_id":"aa13a508-5910-44b2-92aa-4c961ed00cea","html_url":"https://github.com/firmanmimang/shorten-url","commit_stats":null,"previous_names":["firmanmimang/shorten-url"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/firmanmimang/shorten-url","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanmimang%2Fshorten-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanmimang%2Fshorten-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanmimang%2Fshorten-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanmimang%2Fshorten-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firmanmimang","download_url":"https://codeload.github.com/firmanmimang/shorten-url/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firmanmimang%2Fshorten-url/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31520410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-compose","golang","redis"],"created_at":"2025-03-04T12:29:38.489Z","updated_at":"2026-04-07T16:31:21.551Z","avatar_url":"https://github.com/firmanmimang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shorten URL API\n\n## Overview\nThis API provides a URL shortening service. You can send a POST request with a long URL, and the API will return a shortened version of the URL.\n\n## Endpoint\n**Base URL:** `https://shorten-url-production.up.railway.app`\n\n### **Shorten a URL**\n- **Endpoint:** `/api/v1`\n- **Method:** `POST`\n- **Content-Type:** `application/json`\n\n## Request Body\nSend a JSON object containing the URL you want to shorten.\n\n```json\n{\n  \"url\": \"https://sjpl.co.id\"\n}\n```\n\n## Response\nIf successful, the API will return a shortened URL.\n\n### **Success Response (200 OK)**\n```json\n{\n  \"short_url\": \"https://shorten-url-production.up.railway.app/abc123\"\n}\n```\n\n## Usage\nYou can test the API using `curl` or any API testing tool like Postman.\n\n### **Using `curl` in Terminal**\n```sh\ncurl -X POST \"https://shorten-url-production.up.railway.app/api/v1\" \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"url\": \"https://sjpl.co.id\"}'\n```\n\n### **Using an HTTP File**\nIf you're using VS Code with the REST Client extension, save the following as `shorten.http` and run it:\n\n```http\nPOST https://shorten-url-production.up.railway.app/api/v1\nContent-Type: application/json\n\n{\n  \"url\": \"https://sjpl.co.id\" | \"sjpl.co.id\"\n}\n```\n\n## Notes\n- Ensure the provided URL is valid and properly formatted.\n- The shortened URL will be returned in the response if successful.\n- The API have rate limits.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirmanmimang%2Fshorten-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirmanmimang%2Fshorten-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirmanmimang%2Fshorten-url/lists"}