{"id":13813640,"url":"https://github.com/t1anz0ng/iftree","last_synced_at":"2025-05-15T00:33:49.256Z","repository":{"id":50085140,"uuid":"518487652","full_name":"t1anz0ng/iftree","owner":"t1anz0ng","description":"iftree help understand container networks by visualizing network interfaces( veth bridge lo ) relation , output in text, table, images and dot language.","archived":false,"fork":false,"pushed_at":"2023-03-06T22:37:35.000Z","size":1415,"stargazers_count":113,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-04T04:04:24.947Z","etag":null,"topics":["bridge","cli","cni","go","graphviz-dot","netlink","netns","veth"],"latest_commit_sha":null,"homepage":"","language":"Go","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/t1anz0ng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-07-27T14:17:26.000Z","updated_at":"2024-06-25T07:11:20.000Z","dependencies_parsed_at":"2024-06-19T01:31:51.703Z","dependency_job_id":"97d462e3-bc41-4c9f-b425-73a6613eedbf","html_url":"https://github.com/t1anz0ng/iftree","commit_stats":null,"previous_names":["tianzong48/iftree"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1anz0ng%2Fiftree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1anz0ng%2Fiftree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1anz0ng%2Fiftree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t1anz0ng%2Fiftree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t1anz0ng","download_url":"https://codeload.github.com/t1anz0ng/iftree/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225319287,"owners_count":17455741,"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":["bridge","cli","cni","go","graphviz-dot","netlink","netns","veth"],"created_at":"2024-08-04T04:01:24.081Z","updated_at":"2024-11-19T08:30:50.809Z","avatar_url":"https://github.com/t1anz0ng.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\n\n\u003cdiv align=\"center\"\u003e\n\n# ☘️ iftree\n\n`iftree` command visulize local network interfaces.\n\nintent for better understanding container networks :D\n\n[![golangci-lint](https://github.com/t1anz0ng/iftree/actions/workflows/golangci-lint.yml/badge.svg?branch=main)](https://github.com/t1anz0ng/iftree/actions/workflows/golangci-lint.yml)\n[![CodeQL](https://github.com/t1anz0ng/iftree/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/t1anz0ng/iftree/actions/workflows/codeql-analysis.yml)\n[![Go Report](https://goreportcard.com/badge/github.com/t1anz0ng/iftree)](https://goreportcard.com/badge/github.com/t1anz0ng/iftree)\n[![Github All Releases](https://img.shields.io/github/downloads/t1anz0ng/iftree/total.svg)](https://img.shields.io/github/downloads/t1anz0ng/iftree/total.svg)\n\u003c/div\u003e\n\n---\n\n\u003cimg\n  src=\"./asset/sample.jpg\"\n  alt=\"iftree --graph\"\n  width=\"60%\"\n  align=\"right\"\n/\u003e\n\n\u003cimg\n  src=\"./asset/sample-term.png\"\n  alt=\"iftree\"\n  width=\"60%\"\n  align=\"right\"\n/\u003e\n\n**Features**\n\n- [x] **visualize** Veth/bridge connections\n- [x] **table** output\n- [x] **rich** text\n- [x] rendering **image**\n- [x] output **graphviz DOT** language\n\n\n## usage\n\n```\niftree [options]\n\nExample:\n  generate tree output\n    # sudo iftree \n  generate png graph with name \"output.png\"\n    # sudo iftree --graph -Tpng -Ooutput.png\n  generate image with dot\n    # sudo iftree --graph -Tdot | dot -Tpng  \u003e output.png\n  generate table output\n    # sudo iftree --table\n```\n\n### text\n\n```shell\nsudo iftree\n```\n\n### graph\n\nsupport `jpg`, `svg`, `png`\n\n```shell\nsudo iftree --graph -Tpng\n```\n\nOr create an ouput image with any [graphviz](https://www.graphviz.org/) compatible renderer.\ne.g: online editor: https://dreampuf.github.io/GraphvizOnline\n\n```shell\nsudo iftree --graph -Tdot\n```\n\ngenerate image using `dot`(http://www.graphviz.org/download/#executable-packages)\n\n```shell\nsudo iftree --graph -Tdot | dot -Tpng  \u003e output.png\n```\n\n### table\n\n```shell\nsudo iftree --table\n```\n\n![table](./asset/sample-table.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1anz0ng%2Fiftree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft1anz0ng%2Fiftree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1anz0ng%2Fiftree/lists"}