{"id":16679011,"url":"https://github.com/dcoles/golink","last_synced_at":"2025-03-13T07:40:18.323Z","repository":{"id":68738184,"uuid":"136043860","full_name":"dcoles/golink","owner":"dcoles","description":"A server for creating customized HTTP redirects.","archived":false,"fork":false,"pushed_at":"2020-03-17T03:12:18.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T01:47:56.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dcoles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-06-04T15:15:03.000Z","updated_at":"2021-02-01T22:17:38.000Z","dependencies_parsed_at":"2023-04-27T14:27:18.266Z","dependency_job_id":null,"html_url":"https://github.com/dcoles/golink","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/dcoles%2Fgolink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fgolink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fgolink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcoles%2Fgolink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcoles","download_url":"https://codeload.github.com/dcoles/golink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243364681,"owners_count":20279211,"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-10-12T13:32:37.857Z","updated_at":"2025-03-13T07:40:18.317Z","avatar_url":"https://github.com/dcoles.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golink\n\n[go/link](https://go.dcoles.net/link)\n\nA server for creating custom HTTP redirects.\n\nGolinks allow assigning a short name for a URL prefix:\n\n- [go/example](https://go.dcoles.net/example) → http://example.com/foo/\n\nOnce created, anything placed after the name will be appended to the resulting URL used for the redirect:\n\n- [go/example/bar](https://go.dcoles.net/example/bar) → http://example.com/foo/bar (`http://example.com/foo/` + `bar`)\n- [go/example#test](https://go.dcoles.net/example#test) → http://example.com/foo/#test (`http://example.com/foo/` + `#test`)\n\nIf you configure your local DNS server to include the Golink server as `go`, then you can use\n[http://go/example](http://go/example) directly in your browser without needing to provide the fully qualified domain\n name (FQDN) of the server.\n\n## Usage\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate\npip3 install -r requirements.txt\npython3 -m golink.webapp --auth anonymous --database golinks.sqlite\n```\n\n## Demo\n\nAn instance of the server is running at [go.dcoles.net](https://go.dcoles.net).\n\nHere are some links you can try:\n\n- [go/link](https://go.dcoles.net/link) This project\n- [go/link/blob/master/doc/sample_database.sql](https://go.dcoles.net/link/blob/master/doc/sample_database.sql) Specific sub-path of this project\n- [go/github](https://go.dcoles.net/github) GitHub\n- [go/github/dcoles/golink](https://go.dcoles.net/github/dcoles/golink) Specific GitHub project\n- [go/pylib/json](https://go.dcoles.net/pylib/json#basic-usage) Python JSON module docs\n- [go/pylib/json#basic-usage](https://go.dcoles.net/pylib/json#basic-usage) Link to \"Basic Usage\" of Python JSON module docs \n- [go/search](https://go.dcoles.net/search) Google Search\n- [go/search/Hello+World](https://go.dcoles.net/search/Hello+World) Google Search for `Hello World`\n\n\n## History\n\nGolinks are something I encountered while working as a Google SRE and found terribly useful. Clearly many ex-Googlers have also\nagreed, with the same basic idea having been [re-implemented for use in many large tech companies](https://twitter.com/isaach/status/668645946717147136).\n\nHere's a list of some known public implementations:\n\n- https://github.com/kellegous/go (go-lang, MIT License)\n- https://goatcodes.com (Golinks as-a-service)\n\n\n## License\n\n[MIT License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcoles%2Fgolink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcoles%2Fgolink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcoles%2Fgolink/lists"}