git-chronoscope can be installed through multiple methods. Choose the one that best fits your workflow.
All installation methods require:
- FFmpeg - Required for video encoding (download)
- Git - Required for repository access
pip install git-chronoscopebrew tap southpawriter02/git-chronoscope
brew install git-chronoscopedocker pull southpawriter02/git-chronoscopenpm install -g git-chronoscope
# or run directly with npx
npx git-chronoscope --helpThe simplest way to install git-chronoscope is via pip:
# Install from PyPI
pip install git-chronoscope
# Or with a specific version
pip install git-chronoscope==0.9.0-beta.1
# Verify installation
git-chronoscope --helpRequirements:
- Python 3.7 or higher
- FFmpeg installed and in PATH
Install using the Homebrew package manager:
# Add the tap (first time only)
brew tap southpawriter02/git-chronoscope
# Install
brew install git-chronoscope
# Update to latest version
brew update && brew upgrade git-chronoscopeHomebrew will automatically install Python and FFmpeg dependencies.
Pre-built executables are available for Windows, macOS, and Linux. No Python installation required.
- Go to the Releases page
- Download the appropriate file for your platform:
git-chronoscope-windows.exe- Windowsgit-chronoscope-macos- macOSgit-chronoscope-linux- Linux
- Make executable (macOS/Linux):
chmod +x git-chronoscope-macos # or git-chronoscope-linux - Run:
./git-chronoscope-macos /path/to/repo output.mp4
Note: You still need FFmpeg installed separately.
Run git-chronoscope in a container with all dependencies pre-installed:
# Pull the image
docker pull southpawriter02/git-chronoscope
# Run with a local repository
docker run -v /path/to/repo:/repo -v /path/to/output:/output \
southpawriter02/git-chronoscope /repo /output/timelapse.mp4
# With additional options
docker run -v /path/to/repo:/repo -v /path/to/output:/output \
southpawriter02/git-chronoscope /repo /output/timelapse.mp4 \
--format gif --resolution 720p --fps 5For JavaScript/TypeScript developers:
# Install globally
npm install -g git-chronoscope
# Or run directly without installing
npx git-chronoscope /path/to/repo output.mp4
# Use programmatically in your Node.js code
const chronoscope = require('git-chronoscope');
await chronoscope.generate('/path/to/repo', 'output.mp4', { format: 'mp4' });Requirements:
- Node.js 14.0.0 or higher
- Python 3.7+ with git-chronoscope installed (
pip install git-chronoscope) - FFmpeg installed and in PATH
The npm package wraps the Python CLI, providing a convenient interface for Node.js projects and CI/CD pipelines that use JavaScript tooling.
For development or to get the latest changes:
# Clone the repository
git clone https://github.com/southpawriter02/git-chronoscope.git
cd git-chronoscope
# Create virtual environment (recommended)
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run directly
python -m src.main /path/to/repo output.mp4
# Or install in development mode
pip install -e .
git-chronoscope /path/to/repo output.mp4Use git-chronoscope directly in your CI/CD pipeline:
- uses: southpawriter02/git-chronoscope@v1
with:
format: mp4
output-path: timelapse.mp4
resolution: 1080pSee .github/workflows/timelapse.yml for a complete example.
After installation, verify everything works:
# Check version
git-chronoscope --version
# Show help
git-chronoscope --help
# Test with a repository
git-chronoscope /path/to/any/git/repo test-output.mp4 --dry-runIf you see "FFmpeg not found" errors:
macOS:
brew install ffmpegUbuntu/Debian:
sudo apt update && sudo apt install ffmpegWindows:
- Download from https://ffmpeg.org/download.html
- Extract and add the
binfolder to your PATH
chmod +x git-chronoscope-macos
xattr -d com.apple.quarantine git-chronoscope-macos # Remove quarantine flaggit-chronoscope requires Python 3.7+. Check your version:
python --version
# or
python3 --versionpip uninstall git-chronoscopebrew uninstall git-chronoscope
brew untap southpawriter02/git-chronoscopenpm uninstall -g git-chronoscopedocker rmi southpawriter02/git-chronoscope- Read the README for usage examples
- Check TROUBLESHOOTING.md for common issues
- See CONTRIBUTING.md to contribute