{"id":24684958,"url":"https://github.com/xfgusta/strace-with-colors","last_synced_at":"2025-10-08T14:30:45.268Z","repository":{"id":45696992,"uuid":"399941831","full_name":"xfgusta/strace-with-colors","owner":"xfgusta","description":"A patch to add colors to the strace output","archived":false,"fork":false,"pushed_at":"2023-05-11T04:59:50.000Z","size":426,"stargazers_count":31,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-05-11T05:25:36.515Z","etag":null,"topics":["cli","colors","linux","patch","strace","syscall","system-calls","trace"],"latest_commit_sha":null,"homepage":"","language":null,"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/xfgusta.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}},"created_at":"2021-08-25T19:57:12.000Z","updated_at":"2023-03-31T11:09:32.000Z","dependencies_parsed_at":"2023-01-31T10:15:28.911Z","dependency_job_id":null,"html_url":"https://github.com/xfgusta/strace-with-colors","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2Fstrace-with-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2Fstrace-with-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2Fstrace-with-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2Fstrace-with-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfgusta","download_url":"https://codeload.github.com/xfgusta/strace-with-colors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235718832,"owners_count":19034670,"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":["cli","colors","linux","patch","strace","syscall","system-calls","trace"],"created_at":"2025-01-26T15:17:07.386Z","updated_at":"2025-10-08T14:30:45.262Z","avatar_url":"https://github.com/xfgusta.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# strace, but with colors\n\nThis patch adds colored output to the [strace](https://strace.io/) program.\n\n## The `--color` option\n\nFrom `strace --help`\n\n```text\n  --color[=WHEN]\n                 colorize the output; WHEN can be 'always', 'auto' (default), or 'never'\n```\n\n+ `always` will always colorize the output\n+ `never` will never colorize the output\n+ `auto` will only colorize the output when standard output is connected to a terminal\n\nUsing `--output` or setting the `NO_COLOR` environment variable will disable the colored output.\n\n## Installation\n\n### Arch Linux\n\n[**strace-with-colors**](https://aur.archlinux.org/packages/strace-with-colors) package from AUR\n\n```text\ngit clone https://aur.archlinux.org/strace-with-colors.git\ncd strace-with-colors\nmakepkg -si\n```\n\n### Fedora Linux\n\n[**strace-with-colors**](https://copr.fedorainfracloud.org/coprs/xfgusta/strace-with-colors/) package from Copr\n\n```text\ndnf copr enable xfgusta/strace-with-colors\ndnf install strace-with-colors\n```\n\n### From source\n\nClone the [strace git repository](https://github.com/strace/strace) and go to the directory\n\n```text\ngit clone https://github.com/strace/strace\ncd strace\n```\n\nCheckout the tag `v6.16` (latest version)\n\n```text\ngit checkout tags/v6.16\n```\n\nGet the patch source [here](https://github.com/xfgusta/strace-with-colors) and apply it\n\n```text\ncurl -O https://raw.githubusercontent.com/xfgusta/strace-with-colors/main/strace-with-colors.patch\ngit apply strace-with-colors.patch\n```\n\nNow you are ready to build and install strace with colors!\n\n```text\n./bootstrap\n./configure --enable-mpers=no\nmake install\n```\n\nYou may need to install some dependencies before, like:\n\n+ `make`\n+ `autoconf`\n+ `automake`\n+ `gcc`\n+ ...\n\nYou can actually check all the strace installation instructions [here](https://github.com/strace/strace/blob/master/README-configure).\n\nThe program will be in the `/usr/local/bin` directory. You can uninstall it running `make uninstall`.\n\n## Screenshot\n\n![](screenshot.png)\n\n### Color scheme\n\nHere is the color scheme used in the screenshot above:\n\n| FG | Name    | Color     |\n| -- | ------- | --------- |\n| 0  | Black   | `#2d3139` |\n| 1  | Red     | `#e06c75` |\n| 2  | Green   | `#98c379` |\n| 3  | Yellow  | `#e5c07b` |\n| 4  | Blue    | `#528bff` |\n| 5  | Magenta | `#c678dd` |\n| 6  | Cyan    | `#56b6c2` |\n| 7  | White   | `#d7dae0` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfgusta%2Fstrace-with-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxfgusta%2Fstrace-with-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfgusta%2Fstrace-with-colors/lists"}