{"id":18588403,"url":"https://github.com/abschill/pstyle","last_synced_at":"2025-04-10T14:30:43.179Z","repository":{"id":104207859,"uuid":"492115501","full_name":"abschill/pstyle","owner":"abschill","description":"header-only c library for styling print statements :tada:","archived":false,"fork":false,"pushed_at":"2022-05-17T21:43:53.000Z","size":25,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T17:59:53.260Z","etag":null,"topics":["c","colors","macros","printf","stdout"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abschill.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":"authors","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-14T04:53:09.000Z","updated_at":"2023-07-05T23:25:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"64ddc1f5-8a4a-48dc-80e8-dce0ebe3c79b","html_url":"https://github.com/abschill/pstyle","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/abschill%2Fpstyle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abschill%2Fpstyle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abschill%2Fpstyle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abschill%2Fpstyle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abschill","download_url":"https://codeload.github.com/abschill/pstyle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233946,"owners_count":21069493,"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":["c","colors","macros","printf","stdout"],"created_at":"2024-11-07T00:45:50.696Z","updated_at":"2025-04-10T14:30:43.174Z","avatar_url":"https://github.com/abschill.png","language":"C","readme":"# pstyle\n\nsimple c library for formatting print statements\n\n```cmd\ngit submodule add git@github.com:abschill/pstyle.git pstyle\n```\n\n```c\n#include \"pstyle/color.h\"\n\nint main() {\n    printf(\"%s%s\", red.text, \"Hello in Red\")\n}\n\n```\n\n## Colors Available\n\n- `red`\n- `green`\n- `yellow`\n- `blue`\n- `purple`\n- `cyan`\n- `black`\n\n## Color Constants\n\n- `\u003ccolor\u003e.text` - apply color to text\n- `\u003ccolor\u003e.bg` - apply color to bg\n- `\u003ccolor\u003e.bold` - bolden the text with the given color\n- `\u003ccolor\u003e.underline` - underline the text with the given color\n- `\u003ccolor\u003e.hi` - text with high intensity\n- `\u003ccolor\u003e.bhi` - bold text with high intensity\n\n## Helper Macros\n\n- `COLOR_RESET` - resets the terminal styles inline","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabschill%2Fpstyle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabschill%2Fpstyle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabschill%2Fpstyle/lists"}