{"id":31628184,"url":"https://github.com/dayvster/tintz","last_synced_at":"2026-04-15T20:03:14.747Z","repository":{"id":317586445,"uuid":"1068045577","full_name":"dayvster/tintz","owner":"dayvster","description":"Minimal Zig library for coloring and styling terminal output with ANSI escape codes.","archived":false,"fork":false,"pushed_at":"2025-10-01T19:36:28.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T21:24:31.579Z","etag":null,"topics":["terminal","zig","zig-library","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/dayvster.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":"2025-10-01T19:15:19.000Z","updated_at":"2025-10-01T19:36:31.000Z","dependencies_parsed_at":"2025-10-01T21:24:34.609Z","dependency_job_id":"611d68bf-dc63-4c62-b674-2a7ae140f944","html_url":"https://github.com/dayvster/tintz","commit_stats":null,"previous_names":["dayvster/tintz"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dayvster/tintz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayvster%2Ftintz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayvster%2Ftintz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayvster%2Ftintz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayvster%2Ftintz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dayvster","download_url":"https://codeload.github.com/dayvster/tintz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayvster%2Ftintz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278672186,"owners_count":26025858,"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-10-06T02:00:05.630Z","response_time":65,"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":["terminal","zig","zig-library","zig-package","ziglang"],"created_at":"2025-10-06T20:19:30.078Z","updated_at":"2025-10-06T20:19:32.983Z","avatar_url":"https://github.com/dayvster.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tintz\n\nMinimal Zig library for coloring and styling terminal output with ANSI escape codes.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)\n[![Zig Version](https://img.shields.io/badge/Zig-0.15%2B-orange)](https://ziglang.org/)\n[![Build](https://img.shields.io/badge/build-passing-brightgreen)]()\n\n## Install\n\nInstallation\n\nFetch the package with Zig:\n\n```sh\nzig fetch --save git+https://github.com/dayvster/tintz\n```\n\nThen add it as a module in your build.zig:\n\n```zig\nconst tintz_mod = b.addModule(\"tintz\", .{\n    .root_source_file = b.path(\"src/root.zig\"),\n    .target = target,\n});\n```\n\nThen import the module in your Zig code:\n\n```zig\nconst tintz = @import(\"tintz\");\n```\n\n\n## Features\n- Foreground and background colors (8-bit and truecolor/hex)\n- Bold and italic text\n- Combine multiple styles\n- Simple API for generating styled output\n- No dependencies\n\n## Usage\nAdd `src/tintz.zig` to your Zig project and import via your build system or module path.\n\n```zig\nconst tintz = @import(\"tintz\");\n\nvar buf: [128]u8 = undefined;\nconst styled = try tintz.tintz(\n    tintz.Style{ .fg = tintz.Color.red, .bold = true },\n    \"Hello, world!\",\n    \u0026buf,\n);\ntry std.fs.File.stdout().writeAll(styled);\n```\n\nSee `examples/basic.zig` for more usage patterns and style combinations.\n\n## Why tintz?\n- Works with Zig 0.15+\n- Handles buffer safety and error reporting\n- Designed for robust output in modern terminals\n- Easy to extend for more styles\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayvster%2Ftintz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdayvster%2Ftintz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayvster%2Ftintz/lists"}