Metadata-Version: 2.1
Name: slidge-whatsapp
Version: 0.2.0a0
Summary: A Whatsapp/XMPP gateway.
Author: deuill
Author-email: alex@deuill.org
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: linkpreview (>=0.6.5,<0.7.0)
Requires-Dist: pybindgen (>=0.22.1,<0.23.0)
Requires-Dist: slidge (>=0.2.0alpha4,<0.3.0)
Description-Content-Type: text/markdown

# slidge-whatsapp

[Home](https://sr.ht/~nicoco/slidge) |
[Docs](https://slidge.im/slidge-whatsapp) |
[Issues](https://todo.sr.ht/~nicoco/slidge-whatsapp) |
[Patches](https://lists.sr.ht/~nicoco/public-inbox) |
[Chat](xmpp:slidge@conference.nicoco.fr?join)

A
[feature-rich](https://slidge.im/slidge-whatsapp/features.html)
[WhatsApp](https://whatsapp.com) to
[XMPP](https://xmpp.org/) puppeteering
[gateway](https://xmpp.org/extensions/xep-0100.html), based on
[slidge](https://slidge.im) and
[whatsmeow](https://github.com/tulir/whatsmeow).

[![builds.sr.ht status](https://builds.sr.ht/~nicoco/slidge-whatsapp/commits/master/ci.yml.svg)](https://builds.sr.ht/~nicoco/slidge-whatsapp/commits/master/ci.yml)
[![containers status](https://builds.sr.ht/~nicoco/slidge-whatsapp/commits/master/container.yml.svg)](https://builds.sr.ht/~nicoco/slidge-whatsapp/commits/master/container.yml)
[![pypi status](https://badge.fury.io/py/slidge-whatsapp.svg)](https://pypi.org/project/slidge-whatsapp/)

## Installation

Refer to the [slidge admin documentation](https://slidge.im/core/admin/)
for general info on how to set up an XMPP server component.

### Containers

From [dockerhub](https://hub.docker.com/r/nicocool84/slidge-whatsapp)

```sh
# use ravermeister/slidge-whatsapp for arm64 (thanks raver! <3)
docker run docker.io/nicocool84/slidge-whatsapp
```

### Python package

With [pipx](https://pypa.github.io/pipx/):

```sh

# for the latest stable release (if any)
pipx install slidge-whatsapp

# for the bleeding edge
pipx install slidge-whatsapp \
    --pip-args='--extra-index-url https://slidge.im/repo'

slidge-whatsapp --help
```

Make sure to install `ffmpeg` for full outgoing media compatibility; for
example, in Debian/Ubuntu:

```sh
sudo apt install ffmpeg
```

## Dev

```sh
git clone https://git.sr.ht/~nicoco/slidge
git clone https://git.sr.ht/~nicoco/slidge-whatsapp
cd slidge-whatsapp
docker-compose up
```

