{"id":19857771,"url":"https://github.com/devlikeapro/waha-kotlin","last_synced_at":"2025-10-16T10:22:47.207Z","repository":{"id":230347788,"uuid":"778700842","full_name":"devlikeapro/waha-kotlin","owner":"devlikeapro","description":"WhatsApp HTTP API using Kotlin (ktor)","archived":false,"fork":false,"pushed_at":"2024-03-29T06:13:27.000Z","size":63,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-04T07:29:18.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devlikeapro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-28T08:24:41.000Z","updated_at":"2025-09-01T15:35:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"b24b0c3b-e3ab-4489-b041-697fcbf89f96","html_url":"https://github.com/devlikeapro/waha-kotlin","commit_stats":null,"previous_names":["devlikeapro/waha-kotlin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devlikeapro/waha-kotlin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikeapro%2Fwaha-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikeapro%2Fwaha-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikeapro%2Fwaha-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikeapro%2Fwaha-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlikeapro","download_url":"https://codeload.github.com/devlikeapro/waha-kotlin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikeapro%2Fwaha-kotlin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279178023,"owners_count":26120090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":[],"created_at":"2024-11-12T14:19:41.798Z","updated_at":"2025-10-16T10:22:47.174Z","avatar_url":"https://github.com/devlikeapro.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WAHA (WhatsApp HTTP API) Kotlin (ktor) examples\n\n## Installation\n\nWe assume that you have installed software:\n\n1. Kotlin + JVM\n2. Docker\n\n### Download and start image\n\nFirst of all, you must run WhatsApp HTTP API locally (which under the hood it\nruns real WhatsApp Web instance and expose HTTP API for interaction).\n\nHere are the steps from\n[Quick Start](https://waha.devlike.pro/docs/overview/quick-start/):\n\nDownload and start WhatsApp HTTP API docker container\n\n```bash\n# Download the image\ndocker pull devlikeapro/whatsapp-http-api\n# Run the docker container\ndocker run -it --rm --network=host -e WHATSAPP_HOOK_URL=http://localhost:5000/bot -e \"WHATSAPP_HOOK_EVENTS=*\" --name whatsapp-http-api devlikeapro/whatsapp-http-api\n\n# It prints logs and the last line must be\n# WhatsApp HTTP API is running on: http://[::1]:3000\n```\n\n#### Download image - ARM\n\nIf you're using ARM (like Apple Silicon, Apple M1, etc.) - use following\ncommands to download the image\n\n![](/images/versions/core.png) For Core version the command is\n\n```bash\n# Download the image\ndocker pull devlikeapro/whatsapp-http-api:arm\n# Rename it, so you can use devlikeapro/whatsapp-http-api image in other place\ndocker tag devlikeapro/whatsapp-http-api:arm devlikeapro/whatsapp-http-api\n# Run the docker container\ndocker run -it --rm --network=host -e WHATSAPP_HOOK_URL=http://localhost:5000/bot -e \"WHATSAPP_HOOK_EVENTS=*\" --name whatsapp-http-api devlikeapro/whatsapp-http-api\n\n# It prints logs and the last line must be\n# WhatsApp HTTP API is running on: http://[::1]:3000\n```\n\n### Start session and scan QR\n\n2. Open Swagger API in the browser http://localhost:3000/\n3. Start session and scan QR code in swagger\n   1. Find `POST /api/session/start` request press **Try it out** and\n      **Execute** it with `default` session name\n   2. Find `GET /api/screenshot` and execute it - it must show QR code\n   3. Scan QR code on your mobile WhatsApp application (that installed on your\n      phone)\n   4. Execute `GET /api/screenshot` once again - it must show the screenshot\n      from WhatsApp Web.\n4. Send test text message - find `POST /api/sendText` and execute it with\n   payload (change `12132132130` in the `chatId` to phone number that is\n   registered in WhatsApp).\n\n```json\n{\n  \"chatId\": \"12132132130@c.us\",\n  \"text\": \"Hi there!\",\n  \"session\": \"default\"\n}\n```\n\nIf you see **Hi there!** message then you're ready to run bots!\n\n## WhatsApp Echo Bot\n\nThe WhatsApp Echo Bot is a sample flask webhook server application that echoes\nback to you whatever you send it. It can serve as a basic reference for how to\nset up webhooks and reply to incoming messages.\n\n```bash\n# Clone the git repository with example\ngit clone https://github.com/devlikeapro/waha-kotlin.git\n\n# Build and run the app\n./gradlew build\n./gradlew run\n```\n\nOpen http://127.0.0.1:5000/bot - if you see **WhatsApp Echo Bot is ready!** then\nthe bot is ready to receive message!\n\nSend message to the WhatsApp (that you used to scan QR code) and it'll echo text\nback to you!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlikeapro%2Fwaha-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlikeapro%2Fwaha-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlikeapro%2Fwaha-kotlin/lists"}