{"id":15146991,"url":"https://github.com/techchrism/valorant-xmpp-logger","last_synced_at":"2025-09-14T15:11:12.808Z","repository":{"id":107484201,"uuid":"592467039","full_name":"techchrism/valorant-xmpp-logger","owner":"techchrism","description":"A simple tool to log XMPP traffic between the Riot client and the Riot XMPP server","archived":false,"fork":false,"pushed_at":"2024-04-20T16:03:35.000Z","size":17,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-01-30T22:32:04.699Z","etag":null,"topics":["riot","valorant","xmpp"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/techchrism.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}},"created_at":"2023-01-23T19:45:24.000Z","updated_at":"2024-07-26T15:00:22.000Z","dependencies_parsed_at":"2024-09-26T12:21:22.650Z","dependency_job_id":null,"html_url":"https://github.com/techchrism/valorant-xmpp-logger","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"616eb1e80223760167475b5e7235f69a5a4accca"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techchrism%2Fvalorant-xmpp-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techchrism%2Fvalorant-xmpp-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techchrism%2Fvalorant-xmpp-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techchrism%2Fvalorant-xmpp-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techchrism","download_url":"https://codeload.github.com/techchrism/valorant-xmpp-logger/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237901379,"owners_count":19384384,"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":["riot","valorant","xmpp"],"created_at":"2024-09-26T12:21:19.748Z","updated_at":"2025-02-09T03:32:14.229Z","avatar_url":"https://github.com/techchrism.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Valorant XMPP Logger\nA simple tool to log XMPP traffic between the Riot client and the Riot XMPP server. Includes information such as presences and chat.\n\n*Heavily* based on [Burak](https://github.com/BurakDev)'s [riot-xmpp-mitm](https://github.com/ValorantDevelopers/riot-xmpp-mitm) project.\n\n## Usage\nNote: This project makes use of global fetch in Node 18+\n - Clone the repo and run `npm install`\n - Run `npm run build` to build the project\n - Ensure Valorant is not running and run `node .` to start the logger. This will start Valorant automatically.\n\n## Log Format\nThe first line of the file must contain a json-encoded object with required properties\n`type` being set to `valorant-xmpp-logger` and `version` being a semver representing the format version.\n\nFollowing lines are either comments (to be ignored by parsers) starting with `#` or log entries.\nLog entries are json-encoded objects with the following properties:\n - `type`:\n   - `incoming` for incoming data\n   - `outgoing` for outgoing data\n   - `open-valorant` when Valorant initiates an XMPP socket connection to this application\n   - `open-riot` when this application initiates an XMPP socket connection to the Riot XMPP server (in response to `open-valorant`)\n   - `close-valorant` when Valorant closes the XMPP socket connection\n   - `close-riot` when this the Riot XMPP server closes the XMPP socket connection\n - `time`: timestamp of the log entry\n\nIf the type is `incoming` or `outgoing`, the following properties are also present:\n - `data`: the data that was sent or received\n\nIf the type is `open-*` or `close-*`, the following properties are also present:\n - `socketID`: A unique ID for the socket connection. Internally implemented as a counter.\n\nIf the type is `open-valorant`, the following properties are also present:\n - `host`: the hostname of the Riot XMPP server that the connection is intended for\n - `port`: the port of the Riot XMPP server that the connection is intended for\n\n## Motivation\nWhile [an excellent xmpp mitm project](https://github.com/ValorantDevelopers/riot-xmpp-mitm) had already been created,\nI wanted to try my hand at creating a similar project to better understand MITM-ing the Riot client config.\nThis project also writes logs to disk in an easily parsable format, which is useful for creating tools to analyze the logs.\nFinally, this project automatically finds and starts the Riot client which is convenient.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechchrism%2Fvalorant-xmpp-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechchrism%2Fvalorant-xmpp-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechchrism%2Fvalorant-xmpp-logger/lists"}