Metadata-Version: 2.1
Name: web2img-deltabot
Version: 1.1.0
Summary: Delta Chat bot to take website screenshots
Author-email: adbenitez <adb@merlinux.eu>
Project-URL: Homepage, https://github.com/deltachat-bot/web2img_deltabot
Keywords: deltachat,bot
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: deltabot-cli <7.0,>=6.2.0
Requires-Dist: playwright <2.0,>=1.44.0
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'
Requires-Dist: mypy ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: pylint ; extra == 'dev'
Requires-Dist: pylama ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'

# Web to Image - Delta Chat Bot

[![Latest Release](https://img.shields.io/pypi/v/web2img-deltabot.svg)](https://pypi.org/project/web2img-deltabot)
[![CI](https://github.com/deltachat-bot/web2img_deltabot/actions/workflows/python-ci.yml/badge.svg)](https://github.com/deltachat-bot/web2img_deltabot/actions/workflows/python-ci.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

A Delta Chat bot that allows saving website URLs as images (taking screenshots of websites)

## Install

```sh
pip install web2img-deltabot
```

Then, to setup [Playwright](https://playwright.dev/python/docs/intro), run:

```sh
playwright install
```

## Usage

To configure the bot:

```sh
web2img-bot init bot@example.org SuperHardPassword
```

**(Optional)** To customize the bot name, avatar and status/signature:

```sh
web2img-bot config selfavatar "/path/to/avatar.png"
web2img-bot config displayname "Web to Image"
web2img-bot config selfstatus "Hi, send me some URL to convert it to image"
```

Finally you can start the bot with:

```sh
web2img-bot serve
```

To see the available options, run in the command line:

```
web2img-bot --help
```
