{"id":24272444,"url":"https://github.com/andresilvase/cutlink-api","last_synced_at":"2026-04-12T07:36:26.067Z","repository":{"id":272442395,"uuid":"916604679","full_name":"andresilvase/cutlink-api","owner":"andresilvase","description":"CutLink is a lightweight and efficient URL shortener API built using Go, Redis, and Docker.","archived":false,"fork":false,"pushed_at":"2025-02-07T08:56:21.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T10:20:32.928Z","etag":null,"topics":["aws-s3","chi-router","docker","docker-compose","docker-hub","ec2","ec2-instance","golang","load-balancer","route53"],"latest_commit_sha":null,"homepage":"https://short.cutli.ink/","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/andresilvase.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-01-14T12:29:46.000Z","updated_at":"2025-02-07T08:56:24.000Z","dependencies_parsed_at":"2025-01-14T13:46:02.852Z","dependency_job_id":"2f1745de-1980-42d7-93db-4dfbbe5fa3de","html_url":"https://github.com/andresilvase/cutlink-api","commit_stats":null,"previous_names":["andresilvase/cutlink-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andresilvase/cutlink-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilvase%2Fcutlink-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilvase%2Fcutlink-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilvase%2Fcutlink-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilvase%2Fcutlink-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andresilvase","download_url":"https://codeload.github.com/andresilvase/cutlink-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andresilvase%2Fcutlink-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31707953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"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":["aws-s3","chi-router","docker","docker-compose","docker-hub","ec2","ec2-instance","golang","load-balancer","route53"],"created_at":"2025-01-15T18:26:30.397Z","updated_at":"2026-04-12T07:36:26.033Z","avatar_url":"https://github.com/andresilvase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShortCut Link API Server ✂🔗\n\nCutLink is a lightweight and efficient URL shortener application built using Go, Redis, and Docker. This project aims to provide a simple and scalable solution for creating and managing shortened URLs.\n\n## Features\n- **Fast and Scalable**: Powered by Go and Redis for optimal performance\n- **Containerized Setup**: Easily deployable using Docker and Docker Compose\n- **Custom Slugs**: Generate and use custom or random slugs for shortened URLs\n- **RESTful API**: Clear and consistent APIs for URL shortening, retrieval, and analytics\n- **Cloud-Ready**: Designed for deployment on AWS or other cloud platforms\n\n## Technologies\n\n- **Backend**: Go\n- **Database**: Redis (key-value store)\n- **Containerization**: Docker \u0026 Docker Compose\n\n## Getting Started\n\n### Prerequisites\n\nEnsure the following tools are installed:\n\n- [Go](https://golang.org/doc/install)\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/andresilvase/cutlink.git\ncd cutlink\n```\n\n### Build and Run the Application\n\n1. Build and start the services:\n\n```bash\nmake up\n```\n\n2. Access the application at `http://localhost:8080`.\n\n## API Endpoints\n\n- **POST /cut**  \n  Creates a shortened URL  \n  Request Body:  \n  ```json\n  {\n    \"url\": \"https://example.com/something-here?maybe=here-too\"\n  }\n  ```\n  Response:  \n  ```json\n  {\n    \"data\": {\n      \"shortened_url\": \"https://example.com/{slug}\"\n    }\n  }\n  ```\n\n- **GET /{slug}**  \n  Redirects to the original URL\n\n## Deployment\n\nThe production deployment was made in AWS **EC2**.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresilvase%2Fcutlink-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandresilvase%2Fcutlink-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandresilvase%2Fcutlink-api/lists"}