{"id":23785358,"url":"https://github.com/foxfirecodes/printy","last_synced_at":"2026-01-12T00:39:21.901Z","repository":{"id":91319678,"uuid":"88172387","full_name":"foxfirecodes/Printy","owner":"foxfirecodes","description":"An improvement on 'echo' that parses color codes and converts them to ANSI codes","archived":false,"fork":false,"pushed_at":"2023-12-22T00:16:08.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T13:44:02.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/foxfirecodes.png","metadata":{"files":{"readme":"README.md","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":"2017-04-13T14:15:38.000Z","updated_at":"2023-12-22T00:16:12.000Z","dependencies_parsed_at":"2023-12-22T02:52:50.561Z","dependency_job_id":"bb9541c7-0e25-482c-b410-b0f0d0562d39","html_url":"https://github.com/foxfirecodes/Printy","commit_stats":null,"previous_names":["foxfirecodes/printy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FPrinty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FPrinty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FPrinty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2FPrinty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxfirecodes","download_url":"https://codeload.github.com/foxfirecodes/Printy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002103,"owners_count":19732164,"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":"2025-01-01T13:44:03.766Z","updated_at":"2026-01-12T00:39:21.873Z","avatar_url":"https://github.com/foxfirecodes.png","language":"Go","readme":"![Example](res/example.png)\n\n# Printy\n\nPrinty is an improvement on 'echo' that parses color codes and converts them to ANSI codes. Color codes are (currently) in the format of `#[0-9, b or r]#`. The numeric color codes set the foreground color, `b` enables bold text, and `r` resets.\n\n## Installation\n\nFor **\\*nix** users, there's a nice little script in `scripts/build.sh` which not only compiles `main.go` for you, but also links it to `/usr/local/bin`. I've only tested this on macOS so far, but it should work on all platforms.\n\n## Codes\n\n| Printy | ANSI       | Description                              |\n| ------ | ---------- | ---------------------------------------- |\n| `#r#`  | `\\033[0m`  | Resets all formatting                    |\n| `#b#`  | `\\033[1m`  | Enables bold text                        |\n| `#0#`  | `\\033[30m` | Sets the foreground color to black       |\n| `#1#`  | `\\033[31m` | Sets the foreground color to red         |\n| `#2#`  | `\\033[32m` | Sets the foreground color to green       |\n| `#3#`  | `\\033[33m` | Sets the foreground color to yellow      |\n| `#4#`  | `\\033[34m` | Sets the foreground color to blue        |\n| `#5#`  | `\\033[35m` | Sets the foreground color to magenta     |\n| `#6#`  | `\\033[36m` | Sets the foreground color to cyan        |\n| `#7#`  | `\\033[37m` | Sets the foreground color to white       |\n| `#9#`  | `\\033[39m` | Sets the foreground color to the default |\n\n## Notes\n\nThis is a heavy WIP project, and almost everything about this is subject to change. As of writing this README, this is only my second day using the Go programming language.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfirecodes%2Fprinty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxfirecodes%2Fprinty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfirecodes%2Fprinty/lists"}