Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 2.25 KB

README.md

File metadata and controls

52 lines (38 loc) · 2.25 KB

Web2pdf

CLI to convert webpages to PDFs

Web2pdf is a command line tool that converts webpages to Beautifully formatted pdfs.

If this project proves useful to you in any way, please consider supporting me by buying a coffee!

Buy Me A Coffee

webp2pdf

Features

  • Features
    • 💥 Batch Conversion: Convert multiple webpages to PDFs in one go.
    • 🔄 Custom Styling: Tailor the appearance of your PDFs with customizable CSS, allowing you to adjust everything from fonts to background colors.
    • 📄 Additional CSS: Flexibility to add custom CSS for further customization.
    • 🔗 Multi-column Support: Benefit from multi-column support for more complex PDF layouts.
    • 📚 Page Numbers: Add page numbers to your PDFs for easier navigation.
    • 🔢 Table of Contents: Automatically generate a table of contents based on the headings in your HTML.
    • 🔢 Page Numbers: Add page numbers to your PDFs for easier navigation.
    • 🚦 Page Breaks: Control page breaks to ensure your PDFs are formatted exactly as you want them.
    • 👍 Much more

Usage/Installation

To install it right away for all UNIX users (Linux, macOS, etc.), type:

git clone https://github.com/dvcoolarun/web2pdf.git

Then you can use the tool as follows

pipenv shell
pipenv install
python main.py

Just add the webpage URLs separated by commas, and the tool will convert them to PDFs.

Development

You can clone the repository and install the package using the following commands

git clone
cd webp2pdf
pipenv install

Contributing

This CLI is in its early version, and we encourage the community to help improve code, testing, and additional features. Feel free to contribute to the project by submitting pull requests, reporting issues, or suggesting new features. Your contributions are highly appreciated!