Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lemniscate-sha-256/dissect
Automatically detect, analyze, and visualize algorithms in codebases
https://github.com/lemniscate-sha-256/dissect
algorithm-analysis algorithms algorithms-and-data-structures api codeflow complexity-algorithm complexity-analysis debugger debugging debugging-tool educational-project flowchart-diagrams flowgraph hacking-tool hacking-tools javascript python static static-code-analysis
Last synced: 8 days ago
JSON representation
Automatically detect, analyze, and visualize algorithms in codebases
- Host: GitHub
- URL: https://github.com/lemniscate-sha-256/dissect
- Owner: Lemniscate-SHA-256
- Created: 2025-01-22T05:06:02.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2025-01-27T11:39:40.000Z (11 days ago)
- Last Synced: 2025-01-27T12:39:21.363Z (11 days ago)
- Topics: algorithm-analysis, algorithms, algorithms-and-data-structures, api, codeflow, complexity-algorithm, complexity-analysis, debugger, debugging, debugging-tool, educational-project, flowchart-diagrams, flowgraph, hacking-tool, hacking-tools, javascript, python, static, static-code-analysis
- Language: Python
- Homepage:
- Size: 21.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dissect - Algorithm Detective 🔍
[![CI/CD](https://github.com/yourusername/dissect/actions/workflows/ci.yml/badge.svg)](https://github.com/yourusername/dissect/actions)
[![Coverage](https://codecov.io/gh/yourusername/dissect/branch/main/graph/badge.svg)](https://codecov.io/gh/yourusername/dissect)**Automatically detect, analyze, and visualize algorithms in codebases**
---
## Overview
Dissect scans your code to:
- 🔎 **Identify algorithms** (sorting, graph traversal, etc.)
- 📊 **Analyze complexity** (time/space Big-O notation)
- 🎨 **Generate visualizations** (Netron-like flowcharts)
- **Category-Driven Visualization**
Algorithms are color-coded by type (sorting=red, graph=blue)![flowchart](https://github.com/user-attachments/assets/310a4051-c8f9-4d20-bbbc-0916de4faa8a)
## Features
- **Multi-Language Support**: Python, JavaScript, Java (more coming)
- **Algorithm Taxonomy**: Categorizes implementations into hierarchies
- **Educational Annotations**: Explains algorithm logic in context
- **CI/CD Ready**: Integrates with GitHub Actions## Installation
```bash
pip install dissect
```## Usage
**Basic Detection**:
```bash
dissect analyze --file ./src/sorting.py# Output:
# [✓] quicksort (sorting) - Confidence: 92%
# [✓] bfs (graph) - Confidence: 85%
```**Visualization**:
```bash
dissect visualize --file ./src/graph.py --output architecture
# Saves architecture.png
```## Contributing
1. Fork the repository
2. Create a feature branch (`git checkout -b feat/amazing-feature`)
3. Commit changes (`git commit -m 'feat: add amazing feature'`)
4. Push to branch (`git push origin feat/amazing-feature`)
5. Open a Pull RequestSee [CONTRIBUTING.md](CONTRIBUTING.md) for details.
https://discord.gg/ZJz3tT5r## License
Distributed under the MIT License. See `LICENSE` for more information.---
**Dissect** - Because great code deserves to be understood. 🧠