Snapshot your project folder into a single structured text file.
Project description
🚀 Snapfold
Snapfold is a lightweight CLI tool that snapshots your entire project folder into a single structured .txt file — including folder tree and source code — making it easy to share, review, or debug projects.
✨ Features
- 📁 Automatically captures project folder structure
- 📄 Includes source code from common development file types
- 🚫 Ignores unnecessary folders like
venv,.git,node_modules - 🧠 Smart filtering for development-related files
- ⚡ One-command execution
- 🖥️ Works on Windows, macOS, and Linux
📦 Installation
pip install snapfold
(If installing locally)
pip install .
🚀 Usage
- Navigate to your project folder:
cd path/to/your/project
- Run:
snapfold
- snapfold will generate:
your_project_name.txt
inside the same folder.
📁 Example
- If your folder is:
my_portfolio/
Running:
snapfold
Will create:
my_portfolio.txt
Containing:
-
Folder tree
-
All relevant source files
-
Clean separators
-
Structured output
📂 Supported File Types
-
Snapfold automatically includes:
-
.py
-
.html
-
.css
-
.js
-
.jsx
-
.tsx
-
.json
-
.md
-
.java
-
.cpp
-
.c
-
.xml
-
.yaml
-
.yml
-
.dart
-
.txt
🚫 Ignored Folders
-
venv
-
pycache
-
.git
-
node_modules
🛠️ Built With
-
Python 3.8+
-
Modern pyproject.toml packaging
-
CLI entry points
🎯 Why Snapfold?
Snapfold is useful for:
-
Sharing projects with mentors or recruiters
-
Submitting internship assignments
-
Asking debugging questions
-
Creating project documentation
-
Archiving development snapshots
📜 License
MIT License
👨💻 Author
Developed by Nandakrishnan O Computer Science Engineer
⭐ Future Improvements
-
PDF export support
-
Custom ignore configuration
-
CLI options (--pdf, --include, --exclude)
-
Syntax highlighting support
-
Markdown export
If you find this tool helpful, consider giving it a ⭐ on GitHub!
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 snapfold-0.1.1.tar.gz.
File metadata
- Download URL: snapfold-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6b70758d6c376b91b404908a3bae451776d1da193b867ae314e93e5b0ef6097
|
|
| MD5 |
73eced392e055ca8a360726e0603642b
|
|
| BLAKE2b-256 |
3474a7d0409bc6103f5d1c37454c57b9377e6b7e9e93364f12494518a2b8105f
|
File details
Details for the file snapfold-0.1.1-py3-none-any.whl.
File metadata
- Download URL: snapfold-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65cbabbd5c0a678f7ade8ae3dab4cae3e55c472fd2a907762411a5f766f808eb
|
|
| MD5 |
86186eb5fe6e20903ba413b2a9f54075
|
|
| BLAKE2b-256 |
4e5d89f247de3d0979a8bebc3ec45f4421f502f31b084d0d7341ee3895d556bc
|