{"id":26847768,"url":"https://github.com/nerixyz/c2-logs","last_synced_at":"2025-08-21T15:13:04.068Z","repository":{"id":65973587,"uuid":"603113888","full_name":"Nerixyz/c2-logs","owner":"Nerixyz","description":"Capture, filter and analyze logs from Chatterino without restarting the application on Windows.","archived":false,"fork":false,"pushed_at":"2025-08-05T05:35:23.000Z","size":178,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-05T07:21:50.232Z","etag":null,"topics":["chatterino","rust","twitch","windows"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nerixyz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2023-02-17T16:39:46.000Z","updated_at":"2025-08-05T05:35:21.000Z","dependencies_parsed_at":"2024-01-16T00:01:01.709Z","dependency_job_id":"cc198d06-16a2-4c1e-88ea-62f18f84adff","html_url":"https://github.com/Nerixyz/c2-logs","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":0.4444444444444444,"last_synced_commit":"5edbc09a27f7214c7b21da788c96b711ee6f4b11"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Nerixyz/c2-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerixyz%2Fc2-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerixyz%2Fc2-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerixyz%2Fc2-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerixyz%2Fc2-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nerixyz","download_url":"https://codeload.github.com/Nerixyz/c2-logs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nerixyz%2Fc2-logs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271500316,"owners_count":24770372,"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-08-21T02:00:08.990Z","response_time":74,"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":["chatterino","rust","twitch","windows"],"created_at":"2025-03-30T20:30:48.764Z","updated_at":"2025-08-21T15:13:04.043Z","avatar_url":"https://github.com/Nerixyz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c2-logs\n\nCapture, filter and analyze logs from [Chatterino](https://chatterino.com) without restarting the application on Windows. You can download a prebuilt application from the [releases tab](https://github.com/Nerixyz/c2-logs/releases). This program uses [Windows' Debugger API](https://learn.microsoft.com/en-us/windows/win32/api/debugapi/) to capture logs from Chatterino and calls [`QLoggingCategory::setFilterRules`](https://doc.qt.io/qt-6/qloggingcategory.html#setFilterRules).\n\n## Usage\n\n1. Open Chatterino regularly\n2. Run `c2-logs chatterino.*.debug=true` (if you don't have it in your `PATH`, run it using `.\\c2-logs.exe`)\n\nYou can specify multiple rules.\nTo enable debug logging from Chatterino while excluding the `chatterino.http` category, run `c2-logs chatterino.*.debug=true chatterino.http.debug=false`.\nCheck [Qt's documentation](https://doc.qt.io/qt-6/qloggingcategory.html#configuring-categories) on the logging rules.\n\nIn addition to the rules, the logging pattern can be customized through `--pattern` as well (`[%{time}] %{category}: %{message}` will include the time for example). Check [Qt's documentation](https://doc.qt.io/qt-6/qtlogging.html#qSetMessagePattern) for all variables.\n\n```text\nUsage: c2-logs.exe [OPTIONS] [RULES]...\n\nArguments:\n  [RULES]...  Qt filter rules (e.g. *.debug=true or foo.bar.debug=false) multiple rules will be joined by a newline\n\nOptions:\n      --exe \u003cEXECUTABLE\u003e   Use this to specify the name of the chatterino executable. [default: chatterino.exe]\n      --pid \u003cPID\u003e          Use this to specify a specific process-id to attach to.\n  -o \u003cOUTPUT_FILE\u003e         Output to a file instead\n      --pattern \u003cPATTERN\u003e  Changes the output of Qt's message handler\n  -h, --help               Print help\n  -V, --version            Print version\n```\n\n## Building\n\nTo build the program, you need to have [Rust](https://www.rust-lang.org/) installed.\n\n```powershell\ncargo build -r\n```\n\n### Installing\n\nTo install the program with `cargo`, run\n\n```powershell\ncargo install c2-logs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerixyz%2Fc2-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerixyz%2Fc2-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerixyz%2Fc2-logs/lists"}