You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Python tool to compress code files into a single, LLM-friendly text file.
39
+
A Python tool for compressing and organizing code files into a single, LLM-friendly text file. This tool is designed to help prepare codebases for analysis by Large Language Models by removing unnecessary content while preserving important semantic information.
40
40
41
41
## Features
42
42
43
-
- Preserves important comments and docstrings
44
-
- Removes unnecessary content
45
-
- Structured, LLM-friendly output
46
-
- GitHub Actions integration for automatic updates
43
+
### Smart Code Compression
44
+
45
+
- Preserves docstrings and important comments
46
+
- Removes redundant whitespace and formatting
47
+
- Maintains code structure and readability
48
+
- Handles multiple programming languages
49
+
50
+
### Language Support
51
+
52
+
- Python (with AST-based compression)
53
+
- JavaScript
54
+
- Java
55
+
- C/C++
56
+
- Shell scripts
57
+
- HTML/CSS
58
+
- Configuration files (JSON, YAML, TOML, INI)
59
+
- Markdown
60
+
61
+
### LLM-Friendly Output
62
+
63
+
- XML-style semantic markers
64
+
- File metadata and type information
65
+
- Organized imports section
66
+
- Clear file boundaries
67
+
- Consistent formatting
68
+
69
+
### Automation
70
+
71
+
- GitHub Actions integration
72
+
- Automatic updates on code changes
73
+
- CI/CD friendly
47
74
48
75
## Installation
49
76
77
+
This project uses [uv](https://github.com/astral-sh/uv) for dependency management, but can also be installed directly with pip.
0 commit comments