Send an instruction from the authorized personal number to the dedicated bot number.
Run your Spark agent from WhatsApp.
SparkWA connects an authorized WhatsApp number to your existing Gemini Spark workflow through a self-hosted Go service and Gmail.
- 01WhatsApp
A message arrives from the authorized number.
- 02Go bridge and Gmail
SparkWA validates the sender and relays the request.
- 03Gemini Spark
Your configured agent processes the task; the reply returns to WhatsApp.
One message.
A complete loop.
SparkWA is a bridge to an existing Spark agent, not a standalone AI model. It verifies the sender, forwards requests through Gmail, and relays eligible replies to WhatsApp.
The self-hosted Go process validates the sender, records task state, and prepares the message.
The Gmail API sends the task to a configured mailbox for the Spark workflow.
The configured agent processes it and the response is relayed back to WhatsApp.
One command
to begin.
Install the official SparkWA package on supported Ubuntu/Debian systems, then follow the dashboard prompts for Google credentials and WhatsApp pairing. Review the script before executing with elevated privileges.
Complete installation guide ↗curl -fsSL https://raw.githubusercontent.com/krishujeniya/sparkwa/main/scripts/setup-apt.sh | sudo bash
Find the right guide.
The actual project guides, reorganized for discovery. No invented endpoints, screenshots, cloud services, or credentials.
Install on a VPS
Deploy SparkWA, pair WhatsApp, and run it as a service.
Read guide ↗ 02 / CONNECTConnect Gemini Spark
Configure the Gmail-triggered Spark workflow and return path.
Read guide ↗ 03 / CONNECTGmail OAuth setup
Create Google Cloud credentials and authorize the bridge mailbox.
Read guide ↗ 04 / OPERATESecurity and permissions
Understand the allowlist, permissions, sandboxing, and approval boundaries.
Read guide ↗ 05 / OPERATETroubleshooting
Diagnose WhatsApp, Gmail, SQLite, and service issues.
Read guide ↗A few things
worth knowing.
Does SparkWA replace Gemini Spark?
No. SparkWA relays messages to a separately configured Gemini Spark agent via Gmail. You need to configure the Spark trigger and Gmail OAuth permissions following the documentation.
Does it require a browser or Node.js on the server?
The application is written in Go and distributed as a native executable. It does not require Node.js, Docker, or a persistent browser runtime. Setup uses your Google account for OAuth authorization.
Can anyone send commands to my bot?
The implementation documents a restricted sender-number allowlist. Review the security policy, WhatsApp account risk disclosures, and the Gemini approval flow before enabling it.
What if WhatsApp or Gmail stops working?
Open the troubleshooting guide and run sparkwa doctor. The guide covers session pairing, OAuth token errors, SQLite locks, and service failures.