{"id":35118523,"url":"https://github.com/michelphp/tpeek","last_synced_at":"2026-01-13T22:54:54.933Z","repository":{"id":330735920,"uuid":"1123772552","full_name":"michelphp/tpeek","owner":"michelphp","description":"A lightweight, zero-dependency TCP transparent proxy designed for deep traffic inspection and debugging. Built with Go for high performance and low resource footprint.","archived":false,"fork":false,"pushed_at":"2025-12-27T16:05:34.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-29T12:48:50.059Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michelphp.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-27T15:35:31.000Z","updated_at":"2025-12-27T16:05:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/michelphp/tpeek","commit_stats":null,"previous_names":["michelphp/tpeek"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/michelphp/tpeek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelphp%2Ftpeek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelphp%2Ftpeek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelphp%2Ftpeek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelphp%2Ftpeek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michelphp","download_url":"https://codeload.github.com/michelphp/tpeek/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelphp%2Ftpeek/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-12-27T22:50:52.605Z","updated_at":"2026-01-13T22:54:54.920Z","avatar_url":"https://github.com/michelphp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TPeek 🚀\r\n\r\nA lightweight, zero-dependency TCP transparent proxy designed for deep traffic inspection and debugging. Built with Go for high performance and low resource footprint.\r\n\r\n## Features\r\n\r\n* **Bidirectional Inspection**: Real-time visualization of Client and Server data streams.\r\n* **Visual Contrast**: Distinctive color-coded frames (🔵 Client / 🟢 Server) for instant source identification.\r\n* **Safe for Production**: Forwards untouched binary data while sanitizing terminal output (prevents terminal crashes from binary noise).\r\n* **Hex \u0026 Plain Text**: Toggle between raw hex dumps and readable text modes.\r\n* **Zero Dependencies**: Single binary, no runtime required (unlike Python or Node.js tools).\r\n\r\n## Installation\r\n\r\n### From Source\r\n\r\n```bash\r\nsudo wget https://github.com/michelphp/tpeek/releases/download/1.0.0/tpeek-linux -O /usr/local/bin/tpeek\r\nsudo chmod +x /usr/local/bin/tpeek\r\n```\r\n\r\n\r\n## Usage\r\n\r\n### Basic Debugging (e.g., MySQL)\r\n\r\n```bash\r\ntpeek -l 0.0.0.0:8000 -t 127.0.0.1:3306\r\n\r\n```\r\n\r\nPoint your application to `localhost:8000` to inspect the traffic flowing to your database.\r\n\r\n### Hexadecimal Mode (Binary Protocols)\r\n\r\n```bash\r\ntpeek -l 0.0.0.0:8000 -t 127.0.0.1:6379 -hex\r\n\r\n```\r\n\r\n## Command Line Flags\r\n\r\n| Flag | Description | Default |\r\n| --- | --- | --- |\r\n| `-l` | Local address and port to listen on |  |\r\n| `-t` | Target service address and port |  |\r\n| `-hex` | Enables full hexadecimal dump mode | `false` |\r\n\r\n\r\n## Why TPeek?\r\n\r\nTPeek is designed to observe the dialogue between two applications without the complexity of a network sniffer.\r\n\r\n* **Flow Identification**: Each data block is prefixed by its source (Client or Server). This allows you to follow the \"request-response\" logic directly in the console.\r\n* **Fragmentation Awareness**: TPeek displays data block by block, exactly as received by the `Read()` syscall. This shows how the application segments its messages instead of displaying a continuous, unstructured text stream.\r\n* **Millisecond Timestamps**: Every read operation is marked with a precise timestamp. This makes it possible to measure the processing delay between an outgoing request and the incoming response.\r\n* **Application-Level View**: The program displays the final data as reassembled by the operating system. You see exactly what the software receives in its buffer, without the overhead of lower-level network layers.\r\n\r\n\r\n## License\r\n\r\nGNU Affero General Public License v3.0 (AGPL-3.0)\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelphp%2Ftpeek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichelphp%2Ftpeek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelphp%2Ftpeek/lists"}