Just turns your repo into a text file innit...🦖
Project description
🦖 Reposaurus
A prehistoric tool for turning repositories into text files. Because documentation never goes extinct!
Overview
Reposaurus scans your repository and creates a comprehensive text file containing your directory structure and file contents. It's perfect for:
- Creating documentation snapshots
- Sharing code context with AI tools
- Archiving project states
- Code review preparation
Installation
pip install reposaurus
Usage
Basic usage:
reposaurus # Process current directory
reposaurus /my/path # Process specific directory
This will create a repository_contents.txt file in your target directory.
Features
- 📁 Directory structure visualization
- 📝 File content extraction
- 🧠 Smart file filtering (ignores build directories, binaries, etc.)
- 🦖 Works with any git repository
File Filtering
Reposaurus automatically excludes:
- Development directories (.git, .vs, .idea, etc.)
- Build and dependency directories (bin, obj, node_modules, etc.)
- Cache directories (.cache, pycache, etc.)
- System files (.DS_Store, Thumbs.db)
- Binary and media files (.exe, .jpg, .mp3, etc.)
- Log and database files (.log, .sqlite, etc.)
Development
Setting up development environment
- Clone the repository:
git clone https://github.com/yourusername/reposaurus.git
cd reposaurus
- Create and activate virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install in editable mode:
pip install -e .
Building and Publishing
- Install build tools:
pip install build twine
- Clean old builds:
rm -rf dist build *.egg-info
- Build package:
python -m build
- Upload to PyPI:
python -m twine upload dist/*
Updating the Package
- Update the version number in
setup.py:
setup(
name="reposaurus",
version="0.1.1", # Increment this
...
)
- Rebuild and upload:
rm -rf dist build *.egg-info
python -m build
python -m twine upload dist/*
Version History
- 0.1.0 - Initial release
- Basic repository scanning
- File content extraction
- Smart file filtering
License
MIT License - See LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Authors
- Andy Thomas - Initial work
Acknowledgments
- Inspired by the need to share repository contents with AI tools
- Built with love and a touch of prehistoric magic 🦖✨
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reposaurus-0.1.2.tar.gz.
File metadata
- Download URL: reposaurus-0.1.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
219c6a127ed494dcfd4454f39c200b535f0a3a8ef677d46d2a708cc8d30cbb96
|
|
| MD5 |
de2dab296d0c543a8921f399603d3b9a
|
|
| BLAKE2b-256 |
6dc5f24493ba9c9dc0200be4c71169df0c9f7cd2c0daeb2f855ded63b18b77ca
|
File details
Details for the file reposaurus-0.1.2-py3-none-any.whl.
File metadata
- Download URL: reposaurus-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98e19dea383f02729e22c1d32fd1934c28b84f39c5cf0c5602cddcb569844017
|
|
| MD5 |
286131639e658d85788c81e69986c323
|
|
| BLAKE2b-256 |
8a274cdba3b6135e47ef5784113a4ce9a89c3adf009b9ea6e9d5e92b1eae8a4c
|