{"id":15382160,"url":"https://github.com/stefnotch/url-catpressor","last_synced_at":"2026-02-12T04:42:43.944Z","repository":{"id":88551538,"uuid":"483709720","full_name":"stefnotch/url-catpressor","owner":"stefnotch","description":"Makes your URLs 300 purr-cent better","archived":false,"fork":false,"pushed_at":"2023-01-24T19:29:11.000Z","size":5089,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T15:17:13.053Z","etag":null,"topics":["url-shortener"],"latest_commit_sha":null,"homepage":"https://stefnotch.github.io/url-catpressor/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefnotch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-04-20T15:25:57.000Z","updated_at":"2024-05-07T12:09:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f7aa31d-097a-48d9-9914-7e9bb6efb089","html_url":"https://github.com/stefnotch/url-catpressor","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.38095238095238093","last_synced_commit":"69de88142595b71221e0ad06165572208fd4dede"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefnotch/url-catpressor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefnotch%2Furl-catpressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefnotch%2Furl-catpressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefnotch%2Furl-catpressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefnotch%2Furl-catpressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefnotch","download_url":"https://codeload.github.com/stefnotch/url-catpressor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefnotch%2Furl-catpressor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745702,"owners_count":24813518,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":["url-shortener"],"created_at":"2024-10-01T14:30:04.139Z","updated_at":"2026-02-12T04:42:38.884Z","avatar_url":"https://github.com/stefnotch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Catpressor\n\n[**View it in action here**](https://stefnotch.github.io/url-catpressor/)\n\nGetting this to work involved the code being like  \n\n![No](https://c.tenor.com/LAHdIKYb2U8AAAAd/cat-glitch.gif)\n\nuntil I bonked it hard enough.\n\n## Wait how does this work?\n\nIt takes a URL and then\n1. Strips off the HTTP/HTTPS (= 1 bit, though the current implementation wastes an entire byte)\n2. Brotli-compresses your URL (= n bytes)\n3. Encodes some bytes by picking cat-words\n    - 256 different words, so one word encodes one byte\n4. Encodes the remaining bytes by picking different letters for the cat-words\n    - Like for the letter `l`, there are a few [look-alikes](https://en.wikipedia.org/wiki/Homoglyph) such as `1`, `I`, `|`\n    - This part is very fun, because I ended up picking a fun encoding scheme...remember how binary uses 0 and 1 as its symbols? And how hexadecimal has 16 different symbols? Well, the letter-look-alikes approach has the fun property that some letters have a lot of look-alikes and others have very few. Thus, a word ends up being a cursed mixture of base 2, base 16, base 23, base 11, base 5, and more depending on the letters...\n\n\n*But hey, at least I don't have to pay for a server to host a sensible backend!*\n\n  \n## Licensing Information\n\nCC0 applies to my code. Sadly there are a few dependencies that I couldn't elegantly include with a package manager, where instead I copied the relevant source code and license.\nThus, those parts of the code are governed under a different license, as specified in their respective files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefnotch%2Furl-catpressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefnotch%2Furl-catpressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefnotch%2Furl-catpressor/lists"}