Simple utility to generate a PDF file from the contents of a GitHub repository.
- Custom code block style with set background and fonts
- Basic custom header styles
Note
This utility aims to produce a PDF with markdown styling.
. setup.sh
python3 repo2pdf.py --repo_path ~/Documents/repository/ --pdf_file_path ~/Downloads/output.pdf --style blue
- Install apt packages in
apt-packages.txt
- Create and activate a Python
venv
(optional but recommended) - Install Python packages in
requirements.txt
- Run
python3 repo2pdf.py --help
for a full list of arguments