{"id":30760696,"url":"https://github.com/kayleexx/nexus","last_synced_at":"2025-09-04T13:12:44.305Z","repository":{"id":306108137,"uuid":"1025047942","full_name":"Kayleexx/Nexus","owner":"Kayleexx","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-12T15:37:17.000Z","size":21,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-12T17:25:08.882Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Kayleexx.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}},"created_at":"2025-07-23T16:31:14.000Z","updated_at":"2025-08-12T15:58:37.000Z","dependencies_parsed_at":"2025-07-23T18:28:14.836Z","dependency_job_id":"3c7f1c44-cfe8-4810-8dfc-e2d68eb7e7f8","html_url":"https://github.com/Kayleexx/Nexus","commit_stats":null,"previous_names":["kayleexx/nexus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kayleexx/Nexus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FNexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FNexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FNexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FNexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kayleexx","download_url":"https://codeload.github.com/Kayleexx/Nexus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2FNexus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273613527,"owners_count":25137173,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-09-04T13:12:39.671Z","updated_at":"2025-09-04T13:12:44.295Z","avatar_url":"https://github.com/Kayleexx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nexus\n\n**Nexus** is a Rust-based CLI tool for analyzing and visualizing code dependencies in source files. It builds a dependency graph from Rust code and supports circular dependency detection.\n\n## Features\n\n- Analyze Rust project structure by parsing `mod` and `use` declarations\n- Generate dependency graph in DOT format\n- Detect circular dependencies\n- Traverse entire source directory\n- Modular parser system (currently supports Rust, Javascript, Python and Java)\n\n## Usage\n\n### Build\n\n```bash\ncargo build --release\n````\n\n### Run\n\n```bash\ncargo run -- --path ./src\n```\n\n#### Options\n\n| Flag              | Description                                 | Default      |\n| ----------------- | ------------------------------------------- | ------------ |\n| `--path, -p`      | Path to the source code directory           | *(required)* |\n| `--output, -o`    | Output file path                            | `output.dot` |\n| `--format`        | Output format: `dot` or `json`              | `dot`        |\n| `--detect-cycles` | Enable or disable circular dependency check | `true`       |\n\nExample:\n\n```bash\ncargo run -- --path ./src --output graph.dot --format dot --detect-cycles false\n```\n\n## Output\n\nThe tool outputs a `.dot` file representing the dependency graph. You can render it using Graphviz:\n\n```bash\ndot -Tpng output.dot -o graph.png\n```\n\n\u003cimg width=\"500\" height=\"933\" alt=\"image\" src=\"https://github.com/user-attachments/assets/4b7a0ecb-8356-4586-b312-68e140b6b01d\" /\u003e\n\n\u003cimg width=\"500\" height=\"930\" alt=\"image\" src=\"https://github.com/user-attachments/assets/e936faf2-4a80-4b95-802d-a2e9b2d1c945\" /\u003e\n\n## Project Structure\n\n```\nnexus/\n├── src/\n│   ├── main.rs          # CLI entrypoint\n│   ├── graph/           # Graph construction and cycle detection\n│   ├── parsers/         # Rust parser module\n│   ├── utils/           # File system walking logic\n│   └── analyzer/        # Central analyzer logic\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayleexx%2Fnexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayleexx%2Fnexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayleexx%2Fnexus/lists"}