Web to PDF
Delta Chat bot that allows to fetch websites as PDF. Just send any URL to the bot in private or add it to get a PDF in any message containing an URL.
Install
pip install deltabot-web2pdf
You also need to install wkhtmltopdf package. Debian/Ubuntu example:
sudo apt-get install wkhtmltopdf
Warning! Version in debian/ubuntu repos have reduced functionality (because it is compiled without the wkhtmltopdf QT patches), such as adding outlines, headers, footers, TOC etc. To use this options you should install static binary from wkhtmltopdf site: https://wkhtmltopdf.org/
Usage
Configure the bot's Delta Chat account:
web2pdf init bot@example.com PASSWORD
You can run web2pdf init several times to add multiple different accounts to the
bot so it can be reached in more than one email address.
The bot's display name, avatar and status/signature can also be tweaked:
web2pdf config selfavatar "/path/to/avatar.png"
web2pdf config displayname "My Bot"
web2pdf config selfstatus "Hi, I am a Delta Chat bot"
To run the bot so it starts processing messages:
web2pdf serve
To see all available options run web2pdf --help
Metadata
Release files for deltabot-web2pdf 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deltabot_web2pdf-0.2.0.tar.gz | 17.4 kB | Without provenance | Details for deltabot_web2pdf-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deltabot_web2pdf-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for deltabot_web2pdf-0.2.0-py3-none-any.whl |
Total release size: 34.6 kB
Release files / deltabot_web2pdf-0.2.0.tar.gz
| Download URL | deltabot_web2pdf-0.2.0.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
998703231736a68a40768c88fd3bee22380c9fc396863d47713c351edd82449b
|
|
BLAKE2b-256 checksum How to use checksums |
88b50f81f5028d9cd0bead97be330e6eeeafd661c77c7dcc11dba413f319cac4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / deltabot_web2pdf-0.2.0-py3-none-any.whl
| Download URL | deltabot_web2pdf-0.2.0-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15e3ebe4da1f0cbc7770459a7a77377138053a32fe4ff8b65a6c44c12dcc59d9
|
|
BLAKE2b-256 checksum How to use checksums |
2f84614397834132ae0bb3f34672cab293ddd4fa71afd1e0aac0d8dbeb3e46f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for deltabot-web2pdf 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.