{"id":16411150,"url":"https://github.com/phoe/cl-lzma","last_synced_at":"2026-02-14T00:08:21.610Z","repository":{"id":45085874,"uuid":"90875995","full_name":"phoe/cl-lzma","owner":"phoe","description":"Common Lisp CFFI wrapper around a LZMA foreign library","archived":false,"fork":false,"pushed_at":"2019-10-26T23:25:29.000Z","size":400,"stargazers_count":8,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-30T08:35:44.308Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phoe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-10T14:50:30.000Z","updated_at":"2022-07-12T23:51:08.000Z","dependencies_parsed_at":"2022-07-13T08:21:22.146Z","dependency_job_id":null,"html_url":"https://github.com/phoe/cl-lzma","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phoe/cl-lzma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fcl-lzma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fcl-lzma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fcl-lzma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fcl-lzma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phoe","download_url":"https://codeload.github.com/phoe/cl-lzma/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phoe%2Fcl-lzma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275857033,"owners_count":25541031,"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-09-18T02:00:09.552Z","response_time":77,"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":[],"created_at":"2024-10-11T06:44:41.362Z","updated_at":"2025-09-19T00:11:24.144Z","avatar_url":"https://github.com/phoe.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CL-LZMA\n\nThis is a CFFI wrapper around a LZMA foreign library, compiled straight out of the official LZMA SDK C binary.\n\nThere is no portable Lisp LZMA (de)compressor because:\n  * the algorithm is complicated\n  * the LZMA SDK is very obfuscated code\n  * there is hardly any documentation for LZMA algorithm\n  * there is no known workforce that can rewrite this in Lisp.\n\n## TODO\n  * write a proper README, since the code seems to be working `on my machine`\n\n## Compiling\nRight now, Windows, Linux and macOS x32/x64 binaries are provided. (32bit macOS binaries were not tested yet - if they work for you, please let me know.)\n\nTo compile your own:\n  1. Install the official LZMA SDK from Igor Pavlov.\n  1. Modify /C/Util/Lzma/makefile.gcc, add -fPIC to CFLAGS.\n  1. Remove `makefile` and move `makefile.gcc` to `makefile`.\n  1. Issue make, which will build all object files.\n  1. Build the shared library file. On Linux, this is `$ gcc -shared -O2 -Wall -D_7ZIP_ST -fPIC -o lzma.so *.o` - on other platforms, I bet you can figure it out.\n  1. Put the file anywhere you want and load it with CFFI.\n\n## Credits and inspirations\nThis is based on https://gist.github.com/phoe/8cfdcb4f34e0584c703f1751072a7813 - a CFFI wrapper that I quickly hacked up.\n\nThis is based on https://gist.github.com/Treeki/f431a2ff44aff984590a97a5c09f6f28 which is a C interface to the LZMA SDK.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fcl-lzma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphoe%2Fcl-lzma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphoe%2Fcl-lzma/lists"}