{"id":17920018,"url":"https://github.com/gbaraldi/unishox.jl","last_synced_at":"2025-08-23T22:05:49.372Z","repository":{"id":44042778,"uuid":"424369369","full_name":"gbaraldi/Unishox.jl","owner":"gbaraldi","description":"Julia package for the unishox string compression library","archived":false,"fork":false,"pushed_at":"2022-02-12T19:55:57.000Z","size":14,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T12:41:33.165Z","etag":null,"topics":["compression","julia","strings-manipulation"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/gbaraldi.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}},"created_at":"2021-11-03T20:23:25.000Z","updated_at":"2021-11-10T18:19:53.000Z","dependencies_parsed_at":"2022-09-15T21:53:29.449Z","dependency_job_id":null,"html_url":"https://github.com/gbaraldi/Unishox.jl","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gbaraldi/Unishox.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbaraldi%2FUnishox.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbaraldi%2FUnishox.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbaraldi%2FUnishox.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbaraldi%2FUnishox.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbaraldi","download_url":"https://codeload.github.com/gbaraldi/Unishox.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbaraldi%2FUnishox.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271770384,"owners_count":24817645,"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":["compression","julia","strings-manipulation"],"created_at":"2024-10-28T20:20:35.186Z","updated_at":"2025-08-23T22:05:49.256Z","avatar_url":"https://github.com/gbaraldi.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unishox\n\n[![Build Status](https://github.com/gbaraldi/Unishox.jl/workflows/CI/badge.svg)](https://github.com/gbaraldi/Unishox.jl/actions?query=workflow%3ACI+branch%3Amaster)\n[![codecov.io](http://codecov.io/github/gbaraldi/Unishox.jl/coverage.svg?branch=main)](http://codecov.io/github/gbaraldi/Unishox.jl?branch=main)\n\n**Unishox.j;** is a Julia package that provides access to the compression and decompression functions in the [**Unishox**](https://github.com/siara-cc/Unishox2) C library.\nIt's algorithms are optimized for short Unicode strings. Compression is performed using an hybrid encoder that uses entropy, dictionary and delta encoding. For more details check the [**article**](https://github.com/siara-cc/Unishox2/blob/master/Unishox_Article_2.pdf?raw=true)\n\nTwo functions are exported by this package: `compress` and `decompress`.\nBoth accept a single `AbstractString` argument and return a `String`.\n\nHere's an example using the functions at the REPL.\n\n```julia\njulia\u003e using Unishox\n\njulia\u003e s = \"😆I can do emojis\"\n\"😆I can do emojis\"\n\njulia\u003e sizeof(s)\n19\n\njulia\u003e compressed = compress(s)\n\"\\x9f\\xc0R\\xe3\\x05\\xaeg\\x17T\\x9f\\x9a\\xfd\\xbd\\x17\"\n\njulia\u003e sizeof(compressed)\n14\n\njulia\u003e decompress(compressed)\n\"😆I can do emojis\"\n```\n\nThis package is based on the [**Shoco.jl**](https://github.com/ararslan/Shoco.jl) package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbaraldi%2Funishox.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbaraldi%2Funishox.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbaraldi%2Funishox.jl/lists"}