GitHub ↗
Open-source bridge · View releases and installation packages ↗

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.

SparkWAHow a message gets to your agent
  1. 01
    WhatsApp

    A message arrives from the authorized number.

  2. 02
    Go bridge and Gmail

    SparkWA validates the sender and relays the request.

  3. 03
    Gemini Spark

    Your configured agent processes the task; the reply returns to WhatsApp.

Explore the connection guide

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.

01 / INPUTWhatsApp

Send an instruction from the authorized personal number to the dedicated bot number.

02 / BRIDGESparkWA

The self-hosted Go process validates the sender, records task state, and prepares the message.

03 / TRIGGERGmail

The Gmail API sends the task to a configured mailbox for the Spark workflow.

04 / RESPONSEGemini Spark

The configured agent processes it and the response is relayed back to WhatsApp.

Understand the Spark setup ↗

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 ↗
terminal / setup
curl -fsSL https://raw.githubusercontent.com/krishujeniya/sparkwa/main/scripts/setup-apt.sh | sudo bash
Ubuntu / Debian · Requires review and sudo

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.