Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snapfold-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snapfold-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file snapfold-0.1.0.tar.gz.

File metadata

  • Download URL: snapfold-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for snapfold-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b24bdb9462308cff9b8bb92408876a9a8bc21fe44c08e16d1f7bd67d3681452
MD5 40b477bff395bf6f9c1e8b71f18655c4
BLAKE2b-256 35c933088475d8ac96d7acf30efd446d93136feee2ea4a8ff9a136740a87d92a

See more details on using hashes here.

File details

Details for the file snapfold-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: snapfold-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for snapfold-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7dc0393280e081d9cda4d5fb45309e987c6a81b5e52b208036e24e23fd9b0b07
MD5 64f4be42d293b7c7a0b25dceeef52ec9
BLAKE2b-256 f6b33a25dc4eefbfdc178427498d386868a4b185e0fdf5a14f0b98fab166b0c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page