{"id":20716863,"url":"https://github.com/blacktop/lzss","last_synced_at":"2025-04-23T13:30:53.700Z","repository":{"id":57488199,"uuid":"152991513","full_name":"blacktop/lzss","owner":"blacktop","description":"LZSS compression package for Go.","archived":false,"fork":false,"pushed_at":"2020-04-12T17:04:29.000Z","size":52,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T00:05:34.060Z","etag":null,"topics":["compression","golang","golang-package","lzss"],"latest_commit_sha":null,"homepage":null,"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/blacktop.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":"2018-10-14T15:54:37.000Z","updated_at":"2022-07-23T13:18:20.000Z","dependencies_parsed_at":"2022-08-29T15:01:17.233Z","dependency_job_id":null,"html_url":"https://github.com/blacktop/lzss","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Flzss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Flzss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Flzss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacktop%2Flzss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacktop","download_url":"https://codeload.github.com/blacktop/lzss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250440086,"owners_count":21430949,"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":["compression","golang","golang-package","lzss"],"created_at":"2024-11-17T03:07:00.467Z","updated_at":"2025-04-23T13:30:53.619Z","avatar_url":"https://github.com/blacktop.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lzss\n\n[![GoDoc](https://godoc.org/github.com/blacktop/lzss?status.svg)](https://pkg.go.dev/github.com/blacktop/lzss) [![License](http://img.shields.io/:license-mit-blue.svg)](http://doge.mit-license.org)\n\n\u003e LZSS compression package for Go.\n\n---\n\n## Install\n\n```bash\ngo get github.com/blacktop/lzss\n```\n\n## Examples\n\n```golang\nimport (\n    \"io/ioutil\"\n    \"log\"\n\n    \"github.com/blacktop/lzss\"\n    \"github.com/pkg/errors\"\n)\n\nfunc main() {\n    dat, err := ioutil.ReadFile(\"compressed.bin\")\n    if err != nil {\n        log.Fatal(errors.Wrap(err, \"failed to read compressed file\"))\n    }\n\n    decompressed := lzss.Decompress(dat)\n    err = ioutil.WriteFile(\"compressed.bin.decompressed\", decompressed, 0644)\n    if err != nil {\n        log.Fatal(errors.Wrap(err, \"failed to decompress file\"))\n    }\n}\n```\n\n\u003e **NOTE:** I believe lzss expects the data to be word aligned.\n\n## Credit\n\nConverted to Golang from `BootX-81//bootx.tproj/sl.subproj/lzss.c`\n\n## TODO\n\n- [ ] add Compress func\n\n## License\n\nMIT Copyright (c) 2018 blacktop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktop%2Flzss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacktop%2Flzss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacktop%2Flzss/lists"}