{"id":13930239,"url":"https://github.com/cvrajeesh/website-dependency-graph","last_synced_at":"2025-06-19T23:04:10.811Z","repository":{"id":38174077,"uuid":"282480526","full_name":"cvrajeesh/website-dependency-graph","owner":"cvrajeesh","description":"A command-line tool to generate assets dependency graph from static website files.","archived":false,"fork":false,"pushed_at":"2023-01-07T20:29:22.000Z","size":3885,"stargazers_count":2,"open_issues_count":23,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-25T11:42:05.724Z","etag":null,"topics":["asset-graph","dependency-graph","wdg","website"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvrajeesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-25T16:18:48.000Z","updated_at":"2021-03-31T02:39:40.000Z","dependencies_parsed_at":"2023-02-08T01:00:58.724Z","dependency_job_id":null,"html_url":"https://github.com/cvrajeesh/website-dependency-graph","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cvrajeesh/website-dependency-graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvrajeesh%2Fwebsite-dependency-graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvrajeesh%2Fwebsite-dependency-graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvrajeesh%2Fwebsite-dependency-graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvrajeesh%2Fwebsite-dependency-graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvrajeesh","download_url":"https://codeload.github.com/cvrajeesh/website-dependency-graph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvrajeesh%2Fwebsite-dependency-graph/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260845809,"owners_count":23071684,"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":["asset-graph","dependency-graph","wdg","website"],"created_at":"2024-08-07T18:05:23.858Z","updated_at":"2025-06-19T23:04:05.777Z","avatar_url":"https://github.com/cvrajeesh.png","language":"TypeScript","funding_links":[],"categories":["website"],"sub_categories":[],"readme":"# Website Dependency Graph (wdg)\n\nA command-line tool to generate assets dependency graph from static website files.\n\nAnalyzes all the HTML, JavaScript and CSS files to find all the dependent assets, then generates a dependency graph. This graph includes only the internal assets, any assets linked to external URLs are excluded.\n\n![wdg-demo](https://media.giphy.com/media/Kf5hCcSqRbLOeBn6vT/source.gif)\n\n## Getting started\n\n###\n\n```\n# Install using NPM\nnpm install -g website-dependency-graph\n\n# Install using Yarn\nyarn global add website-dependency-graph\n```\n\n### Usage\n\n```\n$ wdg \u003csource dir\u003e [--output]\n```\n\n`wdg` requires a path to your website directory as an argument to generate the dependency graph.\n\nSupports two output formats\n\n- `html` [default] - generates an HTML file in temp directory.\n- `dot` - generates dependency graph in [Graphviz](https://graphviz.org) DOT format and writes to standard output.\n\ne.g. generate dependency graph image using Graphviz `dot` command-line utility.\n\n```\n$ wdg \u003csource dir\u003e --output dot | dot -Tpng -o website.png\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvrajeesh%2Fwebsite-dependency-graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvrajeesh%2Fwebsite-dependency-graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvrajeesh%2Fwebsite-dependency-graph/lists"}