{"id":15008064,"url":"https://github.com/atxtechbro/siphon","last_synced_at":"2025-10-30T12:31:27.274Z","repository":{"id":256855038,"uuid":"856629282","full_name":"atxtechbro/siphon","owner":"atxtechbro","description":"Siphon - Effortlessly extract, compress, and cache Git repository contexts for integration with LLMs.","archived":false,"fork":false,"pushed_at":"2024-11-22T00:31:59.000Z","size":1062,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T08:32:17.074Z","etag":null,"topics":["automation","git","large-language-models","python","repository-management","semantic-release"],"latest_commit_sha":null,"homepage":"http://docs.siphon-cli.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atxtechbro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T23:09:42.000Z","updated_at":"2024-11-22T00:32:02.000Z","dependencies_parsed_at":"2024-10-12T08:20:52.886Z","dependency_job_id":null,"html_url":"https://github.com/atxtechbro/siphon","commit_stats":null,"previous_names":["atxtechbro/siphon"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fsiphon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fsiphon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fsiphon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atxtechbro%2Fsiphon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atxtechbro","download_url":"https://codeload.github.com/atxtechbro/siphon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238968289,"owners_count":19560586,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","git","large-language-models","python","repository-management","semantic-release"],"created_at":"2024-09-24T19:14:56.032Z","updated_at":"2025-10-30T12:31:27.268Z","avatar_url":"https://github.com/atxtechbro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Siphon\n\nEfficiently extract, compress, and cache Git repository contexts for seamless integration with Large Language Models (LLMs).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License\"/\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/pyversions/siphon-cli\" alt=\"Python Versions\"/\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/v/siphon-cli\" alt=\"PyPI\"/\u003e\n  \u003cimg src=\"https://github.com/atxtechbro/siphon/actions/workflows/release-and-publish.yml/badge.svg\" alt=\"Build Status\"/\u003e\n  \u003cimg src=\"https://codecov.io/gh/atxtechbro/siphon/branch/main/graph/badge.svg\" alt=\"Coverage\"/\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/dm/siphon-cli\" alt=\"Downloads\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/atxtechbro/siphon\" alt=\"Issues\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.fundedbyyc.com\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Funded%20by%20YC-Your%20Cents-orange\" alt=\"Funded by YC (Your Cents) 😉\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Arguments](#arguments)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n---\n\n## Features\n\n- **Efficient Extraction**: Extracts and compresses repository contents while respecting `.gitignore` rules.\n- **Customizable Filtering**: Include or exclude files and directories with ease.\n- **Multiple Output Formats**: Supports text, tarball, and markdown formats optimized for LLM contexts.\n- **Caching and Chunking**: Pre-cache large repositories for faster querying.\n- **Token Count Estimations**: Get token counts for specific LLMs like GPT-3 and Claude.\n- **Clipboard and Stdout Support**: Streamline workflows with seamless copying options.\n- **Modularity**: Extend functionality with community-driven extensions.\n- **Interactive Mode**: Granular file selection through an interactive interface.\n\n---\n\n## Installation\n\nInstall Siphon using `pip`:\n\n```bash\npip install siphon-cli\n```\n\n---\n\n## Usage\n\nNavigate to your Git repository and run:\n\n```bash\nsi -o context.txt\n```\n\nThis command extracts the repository content into `context.txt`.\n\n---\n\n## Examples\n\n- **Include Specific File Types**:\n\n  ```bash\n  si -i \"*.py\" -o python_files.txt\n  ```\n\n- **Exclude Directories**:\n\n  ```bash\n  si -e \"tests/*\" -o code_without_tests.txt\n  ```\n\n- **Interactive Mode**:\n\n  ```bash\n  si --interactive -o selected_files.txt\n  ```\n\n- **Copy Output to Clipboard**:\n\n  ```bash\n  si --clipboard\n  ```\n\n---\n\n## Arguments\n\n- `path`: Path to the Git repository (default: current directory).\n- `-i`, `--include`: Include file patterns (e.g., `.py`, `src/`).\n- `-e`, `--exclude`: Exclude file patterns (e.g., `tests/`, `*.md`).\n- `-o`, `--output`: Output file name (default: `output.txt`).\n- `-f`, `--format`: Output format (`text`, `tar`, `markdown`).\n- `-c`, `--cache`: Enable caching (future feature placeholder).\n- `--tokenizer`: Tokenizer for token count estimation (`gpt3`, `claude`).\n- `--interactive`: Interactive mode for file selection.\n- `--clipboard`: Copy output to clipboard.\n- `--stdout`: Print output to stdout.\n\n---\n\n## Contributing\n\nWe welcome contributions from the community! To contribute:\n\n1. **Fork the repository**.\n\n2. **Create a new branch**:\n\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n\n3. **Commit your changes**:\n\n   ```bash\n   git commit -am 'Add a new feature'\n   ```\n\n4. **Push to the branch**:\n\n   ```bash\n   git push origin feature/your-feature-name\n   ```\n\n5. **Open a Pull Request**.\n\nPlease read our [Contributing Guidelines](CONTRIBUTING.md) for more details.\n\n---\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## Contact\n\n- **Email**: [morganj2k@gmail.com](mailto:morganj2k@gmail.com)\n- **GitHub**: [atxtechbro](https://github.com/atxtechbro)\n- **Project Link**: [https://github.com/atxtechbro/siphon](https://github.com/atxtechbro/siphon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatxtechbro%2Fsiphon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatxtechbro%2Fsiphon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatxtechbro%2Fsiphon/lists"}