{"id":13741528,"url":"https://github.com/ziglibs/lscolors","last_synced_at":"2026-07-05T00:01:26.187Z","repository":{"id":49311701,"uuid":"219324737","full_name":"ziglibs/lscolors","owner":"ziglibs","description":"A zig library for colorizing paths according to LS_COLORS","archived":false,"fork":false,"pushed_at":"2026-04-10T14:54:41.000Z","size":107,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-25T01:40:08.797Z","etag":null,"topics":["ls-colors","zig","zig-package","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/ziglibs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-03T15:47:57.000Z","updated_at":"2026-04-10T14:52:37.000Z","dependencies_parsed_at":"2023-11-24T22:20:26.594Z","dependency_job_id":"1e94fb45-b988-4b96-a646-48b4ec8122e6","html_url":"https://github.com/ziglibs/lscolors","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ziglibs/lscolors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Flscolors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Flscolors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Flscolors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Flscolors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ziglibs","download_url":"https://codeload.github.com/ziglibs/lscolors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ziglibs%2Flscolors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35139194,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"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":["ls-colors","zig","zig-package","ziglang"],"created_at":"2024-08-03T04:00:59.977Z","updated_at":"2026-07-05T00:01:26.181Z","avatar_url":"https://github.com/ziglibs.png","language":"Zig","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# lscolors\n\n![CI](https://github.com/ziglibs/zig-lscolors/workflows/CI/badge.svg)\n\nA zig library for colorizing paths according to the `LS_COLORS`\nenvironment variable. Designed to work with Zig 0.16.0.\n\n## Quick Example\n\n```zig\nconst std = @import(\"std\");\n\nconst LsColors = @import(\"lscolors\").LsColors;\n\npub fn main(init: std.process.Init) !void {\n    const allocator = init.arena.allocator();\n    const io = init.io;\n\n    var lsc = try LsColors.fromEnv(allocator, init.environ_map);\n    defer lsc.deinit();\n\n    var dir = try std.Io.Dir.cwd().openDir(io, \".\", .{ .iterate = true });\n    defer dir.close(io);\n\n    var iterator = dir.iterate();\n    while (try iterator.next(io)) |itm| {\n        std.log.info(\"{f}\", .{try lsc.styled(io, itm.name)});\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Flscolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fziglibs%2Flscolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fziglibs%2Flscolors/lists"}