{"id":20879216,"url":"https://github.com/7c/minilzo","last_synced_at":"2025-07-11T13:07:16.342Z","repository":{"id":259126914,"uuid":"876382587","full_name":"7c/minilzo","owner":"7c","description":"minilzo deno bindings","archived":false,"fork":false,"pushed_at":"2024-10-23T09:57:20.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T16:45:36.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/7c.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-10-21T21:56:00.000Z","updated_at":"2024-10-23T09:57:24.000Z","dependencies_parsed_at":"2025-01-19T09:42:37.590Z","dependency_job_id":"f82915b7-eacd-47e0-951a-39a7a7c50f56","html_url":"https://github.com/7c/minilzo","commit_stats":null,"previous_names":["7c/minilzo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/7c/minilzo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fminilzo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fminilzo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fminilzo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fminilzo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7c","download_url":"https://codeload.github.com/7c/minilzo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7c%2Fminilzo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264816018,"owners_count":23668098,"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":[],"created_at":"2024-11-18T07:15:35.942Z","updated_at":"2025-07-11T13:07:16.319Z","avatar_url":"https://github.com/7c.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## minilzo for deno ffi\n- compatible with deno2\n- uses minilzo 2.10 from http://www.oberhumer.com/opensource/lzo/\n\n## Usage\nsee the [demo](./demo.ts) file\n\n## Building\nsince minilzo is a C library, we need to build it for each architecture. Most of end-consumers do not want to build it, thats why this library has pre-built binaries for Linux, MacOS (arm64). I suggest you to compile it on your own anyways, not to trust pre-built binaries generally.\n\n### Linux arm64, armv7l, x86_64\nthis will build the minilzo library for each architecture and copy it to the bin/ folder. You will need docker installed.\n```\ndocker build -t minilzo-builder .\ndocker run --rm -v $(pwd)/bin:/output minilzo-builder\n```\n### MacOS(arm64, x86_64), Windows(x86_64)\nNative Makefile detects the architecture and available compiler and builds the library. Makefile supports gcc and clang compilers. Make sure you have the necessary compilers installed.\n```\nmake\n```\n\n### Precompiled binaries\nyou can download precompiled binaries from [./bin folder](https://github.com/7c/minilzo/tree/main/bin). Create a new folder and wget/curl the binaries into the folder. and use libName() function to get the correct library name. Use with caution. I am putting them here for myself as cheatsheet, you should be compiling them yourself.\n```\ntest -e ./bin || mkdir ./bin\n## MacOS Arm64\nwget https://github.com/7c/minilzo/raw/refs/heads/main/bin/minilzo-arm64.dylib -O ./bin/minilzo-arm64.dylib\n## MacOS x86_64\n...coming soon....\n## Linux Arm64\nwget https://github.com/7c/minilzo/raw/refs/heads/main/bin/minilzo-arm64.so -O ./bin/minilzo-arm64.so\n## Linux Armv7l\nwget https://github.com/7c/minilzo/raw/refs/heads/main/bin/minilzo-armv7l.so -O ./bin/minilzo-armv7l.so\n## Linux x86_64\nwget https://github.com/7c/minilzo/raw/refs/heads/main/bin/minilzo-x86_64.so -O ./bin/minilzo-x86_64.so\n## Windows x86_64\n...coming soon....\n## Windows Arm64\n...coming soon....\n```\n\n## Install\n### JSR\n```\nimport { Minilzo, libName } from \"jsr:@7c/minilzo\"\n```\n\n\n## Copyright\n```\n ============================================================================\n miniLZO -- mini subset of the LZO real-time data compression library\n ============================================================================\n\n Author  : Markus Franz Xaver Johannes Oberhumer\n           \u003cmarkus@oberhumer.com\u003e\n           http://www.oberhumer.com/opensource/lzo/\n Version : 2.10\n Date    : 01 Mar 2017\n\n \n LZO and miniLZO are Copyright (C) 1996-2017 Markus Franz Xaver Oberhumer\n All Rights Reserved.\n\n LZO and miniLZO are distributed under the terms of the GNU General\n Public License (GPL).  See the file COPYING.\n\n Special licenses for commercial and other applications which\n are not willing to accept the GNU General Public License\n are available by contacting the author.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fminilzo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7c%2Fminilzo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7c%2Fminilzo/lists"}