{"id":21075280,"url":"https://github.com/maxking/golinks","last_synced_at":"2026-04-30T03:31:18.227Z","repository":{"id":141775363,"uuid":"128591832","full_name":"maxking/golinks","owner":"maxking","description":"URL shortner writtne in Golang.","archived":false,"fork":false,"pushed_at":"2018-05-10T02:46:09.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T22:07:31.004Z","etag":null,"topics":["gin-gonic","golang","gorm-orm","url-shortener"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxking.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":"2018-04-08T03:08:39.000Z","updated_at":"2024-06-07T04:52:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5dcf1292-0627-4d63-a17d-7882a0a0a22f","html_url":"https://github.com/maxking/golinks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxking/golinks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgolinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgolinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgolinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgolinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxking","download_url":"https://codeload.github.com/maxking/golinks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxking%2Fgolinks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32453745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gin-gonic","golang","gorm-orm","url-shortener"],"created_at":"2024-11-19T19:21:10.915Z","updated_at":"2026-04-30T03:31:18.206Z","avatar_url":"https://github.com/maxking.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Golinks\n=======\n\nGolinks is a tiny url shortnet server that uses sqlite database. This is purely\nmeant for my personal use and you are more than welcome to use it too.\n\nBuild\n=====\n\nFirst, you need to setup all your dependencies to compile this program. This project\nuses [dep](https://github.com/golang/dep) for dependency management.\n```bash\n$ go get -u github.com/golang/dep\n```\n\nNow you can clone the repo and download all the dependencies.\n\n```bash\n$ git clone https://github.com/maxking/golinks\n$ cd golinks\n$ dep ensure\n$ go build\n```\n\nRunning\n=======\n\nJust execute the binary to start the running server:\n\n```bash\n$ sudo PORT=80 ./golinks\n```\n\nEnvironment variable `PORT` can be used to customize the port we are listening to.\n\n\nI also add an entry in `/etc/hosts` to point `go` to IP address of the machine\nrunning Golinks, so that you can use `http://go/short` in your browser to re-direct to\nthe URL you want to point to.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fgolinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxking%2Fgolinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxking%2Fgolinks/lists"}