{"id":15056423,"url":"https://github.com/silviucpp/ezstd","last_synced_at":"2025-04-12T15:36:08.014Z","repository":{"id":36272305,"uuid":"222933348","full_name":"silviucpp/ezstd","owner":"silviucpp","description":"Zstd binding for Erlang","archived":false,"fork":false,"pushed_at":"2025-03-04T15:10:05.000Z","size":62,"stargazers_count":59,"open_issues_count":2,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T16:12:33.048Z","etag":null,"topics":["erlang","zstd"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/silviucpp.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":"2019-11-20T12:33:22.000Z","updated_at":"2025-03-27T13:24:28.000Z","dependencies_parsed_at":"2024-05-06T20:35:45.625Z","dependency_job_id":"9b867631-e66e-4247-bd11-7db5e321672d","html_url":"https://github.com/silviucpp/ezstd","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silviucpp%2Fezstd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silviucpp%2Fezstd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silviucpp%2Fezstd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silviucpp%2Fezstd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silviucpp","download_url":"https://codeload.github.com/silviucpp/ezstd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590277,"owners_count":21129773,"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":["erlang","zstd"],"created_at":"2024-09-24T21:51:14.296Z","updated_at":"2025-04-12T15:36:07.984Z","avatar_url":"https://github.com/silviucpp.png","language":"Erlang","readme":"# ezstd\n\n[![Build Status](https://app.travis-ci.com/silviucpp/ezstd.svg?branch=master)](https://travis-ci.com/github/silviucpp/ezstd)\n[![GitHub](https://img.shields.io/github/license/silviucpp/ezstd)](https://github.com/silviucpp/ezstd/blob/master/LICENSE)\n[![Hex.pm](https://img.shields.io/hexpm/v/ezstd)](https://hex.pm/packages/ezstd)\n\n## [Zstd][1] binding for Erlang\n\nThis binding is based on zstd v1.5.6. In case you want to modify the `zstd` version you can change `ZSTD_TAG` from `build_deps.sh`\n\n## API\n\n### Compress and decompress\n\n```erl\nPlaintext = \u003c\u003c\"contentcontentcontentcontent\"\u003e\u003e,\nCompressed = ezstd:compress(Plaintext, 1),\nPlaintext = ezstd:decompress(Compressed).\n```\n\n### Compress and decompress using dictionary\n\n```erl\nDict = \u003c\u003c\"content-dict\"\u003e\u003e,\nCDict = ezstd:create_cdict(Dict, 1),\nDDict = ezstd:create_ddict(Dict),\nPlaintext = \u003c\u003c\"contentcontentcontentcontent\"\u003e\u003e,\nContentCompressed = ezstd:compress_using_cdict(Plaintext, CDict),\nPlaintext = ezstd:decompress_using_ddict(ContentCompressed, DDict).\n```\n\n## Running tests\n\n```sh\nrebar3 ct\n```\n\n[1]:http://facebook.github.io/zstd/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilviucpp%2Fezstd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilviucpp%2Fezstd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilviucpp%2Fezstd/lists"}