{"id":19938439,"url":"https://github.com/hunyadi/murify","last_synced_at":"2026-06-10T11:31:18.592Z","repository":{"id":229504106,"uuid":"773456899","full_name":"hunyadi/murify","owner":"hunyadi","description":"Efficient in-memory compression for URLs","archived":false,"fork":false,"pushed_at":"2024-10-20T11:19:09.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T12:48:56.351Z","etag":null,"topics":["compression-library","cpp","header-only","url"],"latest_commit_sha":null,"homepage":"","language":"C++","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/hunyadi.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":"2024-03-17T17:58:57.000Z","updated_at":"2024-12-27T09:58:28.000Z","dependencies_parsed_at":"2024-03-24T20:25:42.748Z","dependency_job_id":"f90e18fc-35c3-4f7d-b586-4e404bc2b776","html_url":"https://github.com/hunyadi/murify","commit_stats":null,"previous_names":["hunyadi/murify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hunyadi/murify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunyadi%2Fmurify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunyadi%2Fmurify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunyadi%2Fmurify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunyadi%2Fmurify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hunyadi","download_url":"https://codeload.github.com/hunyadi/murify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hunyadi%2Fmurify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34151271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["compression-library","cpp","header-only","url"],"created_at":"2024-11-12T23:40:09.982Z","updated_at":"2026-06-10T11:31:18.570Z","avatar_url":"https://github.com/hunyadi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# murify: Efficient in-memory compression for URLs\n\nThis header-only C++ library converts URLs into a fully reversible compact representation. While general-purpose compression algorithms (e.g. GZIP or ZSTD) may not operate efficiently on URLs, URL compaction may reduce URL string length by as much as 75%, at low CPU cost. This may save substantial space when millions of URLs have to be kept in memory simultaneously.\n\nCompaction is accomplished with a combination of several techniques:\n\n* Decimal integers are represented as their binary equivalent, packed into minimum width. For example, the character string `123` of length 3 becomes the hexadecimal value `0x7B` and is persisted in a single byte. The character string `4294967295` of length 10 becomes the hexadecimal value `0xFFFFFFFF` and is persisted in 4 bytes.\n* Frequently occurring strings (such as components in a path, or keys in a query string) are interned, and only the index in the lookup table is stored, packed into minimum width. A long but frequent path component such as `management` may become an index stored in a single byte.\n* UUID strings (typically 36 characters) are parsed into a 16-byte array.\n* When Base64-encoded data is encountered (e.g. a JWT or a user identifier), it's decoded and the raw representation is persisted, resulting in savings of 25%.\n* Type is identified with a control byte. Integer width, string length or lookup table index is packed into the control byte whenever possible.\n* Composite types such as URL path or query string are persisted as a combination of length and series of values, separators (e.g. `/`, `\u0026` or `=`) are not stored.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunyadi%2Fmurify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunyadi%2Fmurify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunyadi%2Fmurify/lists"}