{"id":17648988,"url":"https://github.com/serverwentdown/short","last_synced_at":"2025-06-24T10:11:22.200Z","repository":{"id":149258199,"uuid":"105530277","full_name":"serverwentdown/short","owner":"serverwentdown","description":"A tiny, two-dependency, unauthenticated URL shortener service","archived":false,"fork":false,"pushed_at":"2019-01-09T06:40:06.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T07:42:49.602Z","etag":null,"topics":["golang","golang-application","url-shortener"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/serverwentdown/short","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/serverwentdown.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":"2017-10-02T12:12:43.000Z","updated_at":"2019-01-11T05:09:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"1fbd6cd0-f0e6-4250-9bf5-6a52fec1ee3c","html_url":"https://github.com/serverwentdown/short","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/serverwentdown/short","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverwentdown%2Fshort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverwentdown%2Fshort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverwentdown%2Fshort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverwentdown%2Fshort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serverwentdown","download_url":"https://codeload.github.com/serverwentdown/short/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serverwentdown%2Fshort/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261649858,"owners_count":23189756,"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":["golang","golang-application","url-shortener"],"created_at":"2024-10-23T11:22:56.906Z","updated_at":"2025-06-24T10:11:22.176Z","avatar_url":"https://github.com/serverwentdown.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# short\n\nA tiny, two-dependency, unauthenticated URL shortener service. \n\n# Getting started\n\nStart a cockroachdb server:\n\n```\ncockroach start --insecure\necho \"CREATE DATABASE IF NOT EXISTS short;\" | cockroach sql --insecure\n```\n\nBuild and run short:\n\n```\ngo build\n./short -postgres postgresql://root@localhost:26257/short?sslmode=disable\n```\n\n# Usage\n\n```\n$ short -h\nUsage of ./short:\n  -baseurl string\n    \tbaseurl URL of short links (default \"localhost:port\")\n  -num int\n    \tnumber of characters in shortened url (default 4)\n  -port int\n    \tlisten on port (default 8080)\n  -postgres string\n    \tpostgres string (default \"postgresql://root@localhost:26257/short?sslmode=disable\")\n```\n\nSee [pq docs](https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters) for more information on the postgres string. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverwentdown%2Fshort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserverwentdown%2Fshort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserverwentdown%2Fshort/lists"}