Skip to content

Latest commit

 

History

History
171 lines (114 loc) · 5.92 KB

README.md

File metadata and controls

171 lines (114 loc) · 5.92 KB

Go Build

Quepasa-logo

Quepasa is a Open-source, all free license software to exchange messages with Whatsapp Platform


Telegram-logo Chat with us on Telegram: Group || Channel

Special thanks to Lukas Prais, who developed this logo.


# QuePasa

A (micro) web-application to make web-based WhatsApp bots easy to write.

Run in Postman PostMan Shared Documentations PostMan Public Workspace

Features:

  • Verify a number with a QR code
  • Persistence of account data and keys
  • Exposes HTTP endpoints for:
    • sending messages
    • receiving messages
    • download attachments
    • set webhook for receiving messages

WARNING: This application has not been audited. It should not be regarded as secure, use at your own risk.

This is a third-party effort, and is NOT in any affiliated with WhatsApp.

Anything is section was not reviewed

Why ?

Angry, Angry ... WhatsApp keeps canceling our number.

When you need to communicate over WhatsApp from a different service, for example, a help desk or other web-app, QuePasa provides a simple HTTP API to do so.

QuePasa stores keys and WhatsApp account data in a postgres database. It does not come with HTTPS out of the box. Your QuePasa API tokens essentially give full access to your WhatsApp account (to the extent that QuePasa has implemented WhatsApp features). Use with caution.

For HTTPS use Nginx.

If are you looking for a NODE.JS Project

Take a look at https://github.com/pedroslopez/whatsapp-web.js/pulls

Its a lot more complete tool to whatsapp unofficial api

Join our community

Matrix chat room #cdr-link-dev-support:matrix.org https://app.element.io/#/room/#cdr-link-dev-support:matrix.org

Usage

Prerequisites Local Deployment

  • Golang (Version go1.20 minimum version)

installing above golang version

cd /usr/src

sudo wget https://go.dev/dl/go1.20.linux-amd64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.linux-amd64.tar.gz

#export the PATH
export PATH=$PATH:/usr/local/go/bin

Docker Implimentation

Prerequisites

For local development

  • docker
  • golang
  • postgresql

Run using Docker

  • Add info about database migrations
make docker_build
# edit docker-compose.yml.sample to your hearts content
docker-compose up

Environment Variables

# WEBAPIHOST
> http server bind host (HOST:PORT). (default empty)	

# WEBAPIPORT
> http server bind port (HOST:PORT). (default 31000)

# WEBSOCKETSSL
> Should websocket for qrcode reads use ssl. (default false)	
	
# APP_TITLE
> Suffix for quepasa name on whatsapp devices list like (QuePasa Sufficit). (default empty)	

# COMPATIBLE_MIME_AS_AUDIO
> Should convert sending audio files to OGG codec and use as PTT. (default true)	

# GOOS		
> Operational System to Golang Extensions, "linux" | "windows". (default "linux")
	
# REMOVEDIGIT9
> Remove digit 9 from phones bigger than DDD 30. (default false)

# GROUPS

# BROADCASTS

# READRECEIPTS
> Trigger webhooks for read receipts events. (default false)

# CALLS

# READUPDATE
> Mark chat read when send any msg. (default true)

# SYNOPSISLENGTH
> Length for synopsis msg at replies or reactions, (default 50)
	
# LOGLEVEL

# PRESENCE
> Sets defaults presence state (available|unavailable), (default unavailable)

# HTTPLOGS
> Log http requests. (default false)

# WHATSMEOW_LOGLEVEL

# WHATSMEOW_DBLOGLEVEL

License

License GNU AGPL v3.0

QuePasa is a free software project licensed under the GNU Affero General Public License v3.0 (GNU AGPLv3) by "Someone Who Cares About You".