{"id":15679832,"url":"https://github.com/soyuka/caligo","last_synced_at":"2025-05-07T10:44:11.835Z","repository":{"id":45081315,"uuid":"260230893","full_name":"soyuka/caligo","owner":"soyuka","description":"Scalable URL obfuscator service","archived":false,"fork":false,"pushed_at":"2023-02-14T22:56:48.000Z","size":64,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-04T16:37:01.478Z","etag":null,"topics":["boltdb","golang","k8s","redis","url-shortener"],"latest_commit_sha":null,"homepage":"https://caligo.space","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/soyuka.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":"2020-04-30T14:15:50.000Z","updated_at":"2024-05-05T23:40:21.000Z","dependencies_parsed_at":"2024-06-19T05:27:22.248Z","dependency_job_id":"7510e293-e3b8-4ef9-a8b1-9e754a45b98b","html_url":"https://github.com/soyuka/caligo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soyuka%2Fcaligo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soyuka%2Fcaligo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soyuka%2Fcaligo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soyuka%2Fcaligo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soyuka","download_url":"https://codeload.github.com/soyuka/caligo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252862477,"owners_count":21815864,"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":["boltdb","golang","k8s","redis","url-shortener"],"created_at":"2024-10-03T16:37:36.274Z","updated_at":"2025-05-07T10:44:11.812Z","avatar_url":"https://github.com/soyuka.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Caligo 🧿\n\n🧿 [Caligo meaning](https://fr.wiktionary.org/wiki/caligo#la).\n\n## Stack\n\n- Go http api\n- [boltdb](https://github.com/etcd-io/bbolt) database\n- [nanoid](https://github.com/matoous/go-nanoid) for id generation\n\nGo HTTP and boltdb should scale well if you have money.\n\n## How\n\n- /?google.com\n\n## Configuration\n\n- `CALIGO_DB` (default=bolt://data.bolt) db path\n- `CALIGO_HOSTNAME` (default=localhost:5376) hostname\n- `CALIGO_ID_LENGTH` (default=12) nanoid length (see [collision calculator](https://zelark.github.io/nano-id-cc/))\n- `CALIGO_ID_ALPHABET` (default=0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ) nanoid alphabet)\n- `CALIGO_PORT` (default=5376)\n\n## Docker\n\n```\ndocker pull soyuka/caligo\ndocker run -d --name caligo -p 5376:5376 -e CALIGO_DB=bolt:///bolt/caligo.bolt -e CALIGO_HOSTNAME=https://caligo.space -v \"/home/soyuka/caligodb:/bolt\" soyuka/caligo\n```\n\n## Kubernetes\n\nGet redis password and create a config map.\n\n```\nkubectl get secret --namespace default caligo-redis -o jsonpath=\"{.data.redis-password}\" | base64 --decode\nkubectl create configmap caligo-config --from-literal caligo-db=redis://:Y3Jv8HO2Yc@localhost:6379/1 \n```\n\n## TODO\n\n- allow custom url\n- statistics click\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoyuka%2Fcaligo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoyuka%2Fcaligo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoyuka%2Fcaligo/lists"}