{"id":18207459,"url":"https://github.com/jannik-dev/landscape_analysis","last_synced_at":"2026-05-04T07:40:55.510Z","repository":{"id":260624330,"uuid":"881880708","full_name":"Jannik-dev/landscape_analysis","owner":"Jannik-dev","description":"A cli for analyzing pubspec files and generating visual dependency graphs using Graphviz.","archived":false,"fork":false,"pushed_at":"2024-12-05T12:40:32.000Z","size":34,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T19:52:34.145Z","etag":null,"topics":["dart","dependency-graph"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/Jannik-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-11-01T12:36:37.000Z","updated_at":"2024-12-05T12:40:36.000Z","dependencies_parsed_at":"2024-11-01T13:20:30.418Z","dependency_job_id":"3108f17e-d1ea-499a-941a-95d5746c2609","html_url":"https://github.com/Jannik-dev/landscape_analysis","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"91dd07a66fad7231f973e4935fbeef8e287c5dfb"},"previous_names":["jannik-dev/landscape_analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jannik-dev%2Flandscape_analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jannik-dev%2Flandscape_analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jannik-dev%2Flandscape_analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jannik-dev%2Flandscape_analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jannik-dev","download_url":"https://codeload.github.com/Jannik-dev/landscape_analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247721928,"owners_count":20985083,"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":["dart","dependency-graph"],"created_at":"2024-11-03T13:02:58.178Z","updated_at":"2026-05-04T07:40:55.437Z","avatar_url":"https://github.com/Jannik-dev.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Landscape Analysis CLI\n\n`landscape_analysis` is a Dart CLI tool for analyzing Dart package dependencies and generating visual dependency graphs. It reads `pubspec.yaml` files, builds a dependency tree, and supports different output formats.\n\n## Features\n\n- Fetch dependencies from a GitLab group using API credentials.\n- Analyze dependencies from a folder of Dart `pubspec.yaml` files.\n- Output dependency graphs in dot, gexf, graphml or json format.\n\n## Prerequisites\n\n1. **Dart SDK**: Install the [Dart SDK](https://dart.dev/get-dart).\n\n## Installation\n\n### Option 1: Install with `dart pub activate`\n\nActivate `landscape_analysis` directly from `pub.dev` or a Git repository.\n\n- **From `pub.dev`**:\n\n  ```bash\n  dart pub activate landscape_analysis\n  ```\n\n\n### Option 2: Compile a Standalone Executable\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/landscape_analysis.git\n   cd landscape_analysis\n   ```\n\n2. Compile the executable:\n\n   ```bash\n   dart compile exe bin/landscape_analysis.dart -o landscape_analysis\n   ```\n\n3. Run the executable:\n\n   ```bash\n   ./landscape_analysis \u003ccommand\u003e \u003coptions\u003e\n   ```\n\n## Usage\n\nPut the `pubspec.yaml` files in a folder and run the following command to analyze them:\n\n```bash\nlandscape_analysis analyze --format \u003cformat\u003e ./path/to/your/folder \u003e output\n```\n\nOptional: You can fetch `pubspec.yaml` files from a gitlab group using:\n\n```bash\nlandscape_analysis fetch gitlab --token \u003ctoken\u003e --group-id \u003cgroup-id\u003e --api-url \u003capi-url\u003e\n```\n\n### Visualize the graph\n\nIt is recommended to use yEd (uses graphml-format) for visualization, if a hierarchical structure is desired.\nFor simple graphs GraphViz (uses dot-format) is sufficient.\nAnd some metrics can be calculated in Gephi (uses gexf-format).\n\n## Contributing\n\nContributions are welcome! Open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjannik-dev%2Flandscape_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjannik-dev%2Flandscape_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjannik-dev%2Flandscape_analysis/lists"}