Documentation

This part is for people who want to change WhatsZori: write a theme, build a plugin, compile the app, or understand what it does under the hood. If you just want to use it, the guide is the better place.

Where to start

If you want to Read
Recolour the app or change how parts of it look Themes, then the variable reference
Add a button, a menu item or a settings block Plugins, then the plugin API
Write plugins in TypeScript with a proper build Plugin SDK
Build WhatsZori yourself Building from source
Know what the app sends over the network, and when What leaves your computer
Find your way around the code Architecture

How WhatsZori is put together

WhatsZori is a desktop app made of two halves.

  • The Go side talks to WhatsApp through whatsmeow, the library behind several WhatsApp bridges. It keeps everything in two SQLite files, applies ghost mode, and enforces the anti-spam limits.
  • The interface is React and TypeScript, shown in the system's web view: WebView2 on Windows, WebKitGTK on Linux. Wails connects the two.

Themes are CSS that the interface loads from your data folder. Plugins are JavaScript modules it loads from there too. Neither can reach the Go side directly. Plugins get a small API that can read chats and fill in the message box, but not send.

Versions

These pages describe WhatsZori 0.1 and plugin SDK 0.1. The plugin API may still change before 1.0. When it does, the changelog says what to update.