{"id":18673814,"url":"https://github.com/qasimwani/gct","last_synced_at":"2025-04-12T01:32:01.000Z","repository":{"id":101529453,"uuid":"576846669","full_name":"QasimWani/gct","owner":"QasimWani","description":"Graphical Code Tracer (GCT): Visualize code at lightning speed","archived":false,"fork":false,"pushed_at":"2023-02-05T22:39:46.000Z","size":2353,"stargazers_count":46,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-24T01:02:21.209Z","etag":null,"topics":["ast","graphviz","python","static-code-analysis","visualization"],"latest_commit_sha":null,"homepage":"https://www.gctpy.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QasimWani.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":"2022-12-11T07:01:17.000Z","updated_at":"2024-07-10T06:12:44.049Z","dependencies_parsed_at":null,"dependency_job_id":"5d1a89c3-b297-4179-bc2c-2d7afc69cf48","html_url":"https://github.com/QasimWani/gct","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QasimWani%2Fgct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QasimWani%2Fgct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QasimWani%2Fgct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QasimWani%2Fgct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QasimWani","download_url":"https://codeload.github.com/QasimWani/gct/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248504292,"owners_count":21115142,"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":["ast","graphviz","python","static-code-analysis","visualization"],"created_at":"2024-11-07T09:16:38.342Z","updated_at":"2025-04-12T01:32:00.550Z","avatar_url":"https://github.com/QasimWani.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003cdiv align=\"center\"\u003e\n\n# Graphical Code Tracer\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pepy.tech/project/gct-py\"\u003e\n    \u003cimg src=\"https://static.pepy.tech/badge/gct-py\" alt=\"users\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/QasimWani/gct/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-GNU%20GPL-green.svg\" alt=\"license\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/gct-py\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/gct-py?color=blue\" alt=\"license\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/QasimWani/gct/graphs/contributors\" alt=\"Contributors\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/contributors/QasimWani/gct\" /\u003e\n  \u003c/a\u003e\n  \u003ca target=\"_blank\" href=\"https://twitter.com/intent/tweet?text=GCT is a code visualization tool that generates a graphical representation of any python program! Try it out: https://gctpy.com\" class=\"item\"\u003e\n          \u003cimg src=\"https://img.shields.io/twitter/url?label=Tweet\u0026amp;style=social\u0026amp;url=https://gctpy.com\"\u003e\n        \u003c/a\u003e\n\u003c/p\u003e\n\nGraphical Code Tracer (gct) is the world's first visual static code analyzer.\n\nWithin **seconds** it can tell you how your functions and classes are connected to each other!\n\n![](/demo.gif)\n\n\n  \n[Getting started](#getting-started) •\n[Installation](#installation) •\n[Configuration](#configuration)\n\n\u003c/div\u003e\n\n## Getting started\n\n\n### Usecases:\n1. Onboard to new codebases faster.\n2. Debug code faster [Twitter thread](https://twitter.com/qasim31wani/status/1609677492347981825)\n3. Create share-able versions of your code. Using gctpy.com, you can instantly share your UML diagrams across teams.\n\n\nGenerate graph for any python file\n```sh\npython -m gct -i path/to/file.py # run gct on a local file\npython -m gct -i https://github.com/user_name/path/to/file.py # run gct on a file hosted on a web server\n```\n\n\n## Installation\n\n### *Step 1: Install GCT Python package*\n\n```\npip install gct-py\n```\n\n\n### *Step 2: Install Graphviz executable*\n\nGCT generates graphs using [graphviz](https://graphviz.org). To get accurate graphs, we highly\nrecommend using latest graphviz version available for your OS.\n\n**Skip this step** if you've already installed graphviz executable version. Check the dot version by running: `dot -V`.\n\n\u003cdetails\u003e\n  \u003csummary\u003eWindows\u003c/summary\u003e\n\n  Install graphviz by downloading executable (version \u003e=6.0.1) from [graphviz](https://graphviz.org/download/#windows) website.\n  \n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eMacOS\u003c/summary\u003e\n\n  (Optional) more details: [graphviz](https://graphviz.org/download/#mac).\n  \n```\n  brew install graphviz\n```\n  \n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eLinux\u003c/summary\u003e\n\n  (optional) more details: [graphviz](https://graphviz.org/download/#linux).\n  \n```\n  sudo apt install graphviz\n```\n  \n\u003c/details\u003e\n  \n  \n## Configuration\n\nCustomize the experience by aliasing `gct`:\n```\nalias gct='python -m gct -i'\ngct path/to/file.py\n```\n\n\n  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqasimwani%2Fgct","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqasimwani%2Fgct","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqasimwani%2Fgct/lists"}