- Mac OS:
brew install vips
export CGO_CFLAGS_ALLOW="-Xpreprocessor"
- Linux:
sudo apt update
sudo apt install libvips-dev
- Windows (not recomended, prefer using WSL):
- install vips library, or you can check here https://www.libvips.org/install.html
choco install nip2
choco install pkgconfiglite
- Docker
- build image
docker build -t wa-go .
- build image
- Clone this repo
- run
go run main.go
- open
http://localhost:3000
You can fork or edit this source code !
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 Yet Available
- Please do this if you have an error (invalid flag in pkg-config --cflags: -Xpreprocessor)
export CGO_CFLAGS_ALLOW="-Xpreprocessor"