{"id":16217305,"url":"https://github.com/synodriver/lua-density","last_synced_at":"2025-04-07T23:14:47.368Z","repository":{"id":100676306,"uuid":"529812146","full_name":"synodriver/lua-density","owner":"synodriver","description":"lua binding to density","archived":false,"fork":false,"pushed_at":"2022-08-28T09:07:18.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T00:23:58.904Z","etag":null,"topics":["compression"],"latest_commit_sha":null,"homepage":"","language":"C","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/synodriver.png","metadata":{"files":{"readme":"README.markdown","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-28T09:06:10.000Z","updated_at":"2022-08-30T07:29:29.000Z","dependencies_parsed_at":"2023-05-16T18:30:49.553Z","dependency_job_id":null,"html_url":"https://github.com/synodriver/lua-density","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Flua-density","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Flua-density/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Flua-density/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synodriver%2Flua-density/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synodriver","download_url":"https://codeload.github.com/synodriver/lua-density/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744333,"owners_count":20988783,"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"],"created_at":"2024-10-10T11:26:34.801Z","updated_at":"2025-04-07T23:14:47.341Z","avatar_url":"https://github.com/synodriver.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua-density\n```lua\nlocal density = require(\"density\")\n\nlocal origin = \"12345\"\n\nfor i=1,8 do\n    origin = origin..origin\nend\nprint(\"origin len\".. #origin)\n\nlocal compressed = density.compress(origin, density.DENSITY_ALGORITHM_LION)\nprint(\"compressed len\"..#compressed)\n\nif (density.decompress(compressed, 100000) == origin) then\n    print(\"pass\")\nelse\n    print(\"fail\")\nend\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynodriver%2Flua-density","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynodriver%2Flua-density","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynodriver%2Flua-density/lists"}