Recommended: Install from Tap
brew tap KikuAI-Lab/docstripper
brew install docstripperAlternative: Install from Local Formula
brew install --build-from-source docstripper.rbAfter installation, use:
docstripper document.txt# Clone repository
git clone https://github.com/KikuAI-Lab/DocStripper.git
cd DocStripper
# Make executable (optional, for direct usage)
chmod +x tool.py
# Use directly
python tool.py document.txt
# Or create symlink
sudo ln -s $(pwd)/tool.py /usr/local/bin/docstripper- Python 3.9 or higher
- For PDF support (optional):
pdftotextfrom poppler-utils- macOS:
brew install poppler - Ubuntu/Debian:
sudo apt-get install poppler-utils - Windows: Download from poppler-windows releases
- macOS:
Run the self-test script:
python scripts/self_test.py