{"id":15093420,"url":"https://github.com/dimaskiddo/go-whatsapp-multidevice-rest","last_synced_at":"2026-04-08T05:01:01.518Z","repository":{"id":38445915,"uuid":"483719615","full_name":"dimaskiddo/go-whatsapp-multidevice-rest","owner":"dimaskiddo","description":"Go WhatsApp Multi-Device Implementation in REST API with Multi-Session/Account Support","archived":false,"fork":false,"pushed_at":"2025-11-19T03:54:02.000Z","size":185,"stargazers_count":188,"open_issues_count":1,"forks_count":76,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-11-19T05:32:09.702Z","etag":null,"topics":["api","device","go","golang","multi","rest","server","whatsapp","whatsapp-api","whatsapp-md","whatsapp-multi-device","whatsapp-web"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimaskiddo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-20T15:54:29.000Z","updated_at":"2025-11-19T03:54:06.000Z","dependencies_parsed_at":"2023-10-16T23:23:49.547Z","dependency_job_id":"32b8e67e-a4f6-48f0-af54-782755c00dcd","html_url":"https://github.com/dimaskiddo/go-whatsapp-multidevice-rest","commit_stats":{"total_commits":96,"total_committers":5,"mean_commits":19.2,"dds":0.04166666666666663,"last_synced_commit":"4a2861338d0f22ede7e306a729e6161dbbf37e35"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/dimaskiddo/go-whatsapp-multidevice-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fgo-whatsapp-multidevice-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fgo-whatsapp-multidevice-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fgo-whatsapp-multidevice-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fgo-whatsapp-multidevice-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaskiddo","download_url":"https://codeload.github.com/dimaskiddo/go-whatsapp-multidevice-rest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fgo-whatsapp-multidevice-rest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31540826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","device","go","golang","multi","rest","server","whatsapp","whatsapp-api","whatsapp-md","whatsapp-multi-device","whatsapp-web"],"created_at":"2024-09-25T11:22:46.533Z","updated_at":"2026-04-08T05:01:01.459Z","avatar_url":"https://github.com/dimaskiddo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go WhatsApp Multi-Device Implementation in REST API\n\nThis repository contains example of implementation [go.mau.fi/whatsmeow](https://go.mau.fi/whatsmeow/) package with Multi-Session/Account Support. This example is using a [labstack/echo](https://github.com/labstack/echo) version 4.x.\n\n## Features\n\n- Multi-Session/Account Support\n- Multi-Device Support\n- WhatsApp Authentication (QR Code and Logout)\n- WhatsApp Messaging Send Text\n- WhatsApp Messaging Send Media (Document, Image, Audio, Video, Sticker)\n- WhatsApp Messaging Send Location\n- WhatsApp Messaging Send Contact\n- WhatsApp Messaging Send Link\n- And Much More ...\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\nSee deployment section for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nPrequisites packages:\n* Go (Go Programming Language)\n* Swag (Go Annotations Converter to Swagger Documentation)\n* GoReleaser (Go Automated Binaries Build)\n* Make (Automated Execution using Makefile)\n\nOptional packages:\n* Docker (Application Containerization)\n\n### Deployment\n\n#### **Using Container**\n\n1) Install Docker CE based on the [manual documentation](https://docs.docker.com/desktop/)\n\n2) Run the following command on your Terminal or PowerShell\n```sh\ndocker run -d \\\n  -p 3000:3000 \\\n  --name go-whatsapp-multidevice \\\n  --rm dimaskiddo/go-whatsapp-multidevice-rest:latest\n```\n\n3) Now it should be accessible in your machine by accessing `localhost:3000/api/v1/whatsapp` or `127.0.0.1:3000/api/v1/whatsapp`\n\n4) Try to use integrated API docs that accesible in `localhost:3000/api/v1/whatsapp/docs/` or `127.0.0.1:3000/api/v1/whatsapp/docs/`\n\n#### **Using Pre-Build Binaries**\n\n1) Download Pre-Build Binaries from the [release page](https://github.com/dimaskiddo/go-whatsapp-multidevice-rest/releases)\n\n2) Extract the zipped file\n\n3) Copy the `.env.default` file as `.env` file\n\n4) Run the pre-build binary\n```sh\n# MacOS / Linux\nchmod 755 go-whatsapp-multidevice-rest\n./go-whatsapp-multidevice-rest\n\n# Windows\n# You can double click it or using PowerShell\n.\\go-whatsapp-multidevice-rest.exe\n```\n\n5) Now it should be accessible in your machine by accessing `localhost:3000/api/v1/whatsapp` or `127.0.0.1:3000/api/v1/whatsapp`\n\n6) Try to use integrated API docs that accesible in `localhost:3000/api/v1/whatsapp/docs/` or `127.0.0.1:3000/api/v1/whatsapp/docs/`\n\n#### **Build From Source**\n\nBelow is the instructions to make this source code running:\n\n1) Create a Go Workspace directory and export it as the extended GOPATH directory\n```sh\ncd \u003cyour_go_workspace_directory\u003e\nexport GOPATH=$GOPATH:\"`pwd`\"\n```\n\n2) Under the Go Workspace directory create a source directory\n```sh\nmkdir -p src/github.com/dimaskiddo/go-whatsapp-multidevice-rest\n```\n\n3) Move to the created directory and pull codebase\n```sh\ncd src/github.com/dimaskiddo/go-whatsapp-multidevice-rest\ngit clone -b master https://github.com/dimaskiddo/go-whatsapp-multidevice-rest.git .\n```\n\n4) Run following command to pull vendor packages\n```sh\nmake vendor\n```\n\n5) Link or copy environment variables file\n```sh\nln -sf .env.development .env\n# - OR -\ncp .env.development .env\n```\n\n6) Until this step you already can run this code by using this command\n```sh\nmake run\n```\n\n7) *(Optional)* Use following command to build this code into binary spesific platform\n```sh\nmake build\n```\n\n8) *(Optional)* To make mass binaries distribution you can use following command\n```sh\nmake release\n```\n\n9) Now it should be accessible in your machine by accessing `localhost:3000/api/v1/whatsapp` or `127.0.0.1:3000/api/v1/whatsapp`\n\n10) Try to use integrated API docs that accesible in `localhost:3000/api/v1/whatsapp/docs/` or `127.0.0.1:3000/api/v1/whatsapp/docs/`\n\n## API Access\n\nYou can access any endpoint under **HTTP_BASE_URL** environment variable which by default located at `.env` file.\n\nIntegrated API Documentation can be accessed in `\u003cHTTP_BASE_URL\u003e/docs/` or by default it's in `localhost:3000/api/v1/whatsapp/docs/` or `127.0.0.1:3000/api/v1/whatsapp/docs/`\n\n## Running The Tests\n\nCurrently the test is not ready yet :)\n\n## Built With\n\n* [Go](https://golang.org/) - Go Programming Languange\n* [Swag](https://github.com/swaggo/swag) - Go Annotations Converter to Swagger Documentation\n* [GoReleaser](https://github.com/goreleaser/goreleaser) - Go Automated Binaries Build\n* [Make](https://www.gnu.org/software/make/) - GNU Make Automated Execution\n* [Docker](https://www.docker.com/) - Application Containerization\n\n## Authors\n\n* **Dimas Restu Hidayanto** - *Initial Work* - [DimasKiddo](https://github.com/dimaskiddo)\n\nSee also the list of [contributors](https://github.com/dimaskiddo/go-whatsapp-multidevice-rest/contributors) who participated in this project\n\n## Annotation\n\nYou can seek more information for the make command parameters in the [Makefile](https://github.com/dimaskiddo/go-whatsapp-multidevice-rest/-/raw/master/Makefile)\n\n## License\n\nCopyright (C) 2022 Dimas Restu Hidayanto\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fgo-whatsapp-multidevice-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaskiddo%2Fgo-whatsapp-multidevice-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fgo-whatsapp-multidevice-rest/lists"}