restgolanggowhatsapp-multi-devicewhatsapp-apiwhatsappwhatsapp-web-multi-devicewhatsapp-api-gorest-apigolang-whatsapp-apigolang-whatsappbot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| config | 4 years ago | |
| controllers | 4 years ago | |
| middleware | 4 years ago | |
| services | 4 years ago | |
| statics/images | 4 years ago | |
| structs | 4 years ago | |
| utils | 4 years ago | |
| validations | 4 years ago | |
| views | 4 years ago | |
| .air.toml | 4 years ago | |
| .gitignore | 4 years ago | |
| go.mod | 4 years ago | |
| go.sum | 4 years ago | |
| main.go | 4 years ago | |
| openapi.yaml | 4 years ago | |
| readme.md | 4 years ago | |
readme.md
Go Whatsapp API Multi Device Version
Required
- Mac OS:
brew install vipsexport CGO_CFLAGS_ALLOW="-Xpreprocessor"
- Linux:
sudo apt updatesudo apt install libvips-dev
- Windows (not recomended, prefer using WSL):
- install vips library, or you can check here https://www.libvips.org/install.html
- add to environment variable
How to use
- Clone this repo
git clone https://github.com/aldinokemal/go-whatsapp-web-multi-device - run
go run main.go - open
http://localhost:3000
You can fork or edit this source code !
Current API
| Feature | Menu | Method | URL | Payload | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ✅ | Login | GET | /app/login | |||||||||||||||||||||||||
| ✅ | Logout | GET | /app/logout | |||||||||||||||||||||||||
| ✅ | Reconnect | GET | /app/reconnect | |||||||||||||||||||||||||
| ✅ | User Info | GET | /user/info |
|
||||||||||||||||||||||||
| ✅ | User Avatar | GET | /user/avatar |
|
||||||||||||||||||||||||
| ✅ | User My Group List | GET | /user/my/groups | |||||||||||||||||||||||||
| ✅ | User My Privacy Setting | GET | /user/my/privacy | |||||||||||||||||||||||||
| ✅ | Send Message (Text) | POST | /send/message |
|
||||||||||||||||||||||||
| ✅ | Send Message (Image) | POST | /send/image |
|
||||||||||||||||||||||||
| ✅ | Send Message (File) | POST | /send/file |
|
||||||||||||||||||||||||
| ❌ | Send Message (Video) | POST | /send/video |
|
✅ = Available
❌ = Not Available Yet
App User Interface
Mac OS NOTE
- Please do this if you have an error (invalid flag in pkg-config --cflags: -Xpreprocessor)
export CGO_CFLAGS_ALLOW="-Xpreprocessor"








