cordelia24220 downloadsWhatsApp client for Obsidian (Evolution API) with customer and order workflows.
Obsidian plugin for a retail sales vault. It embeds a WhatsApp client (through Evolution API 2.3.x) and replaces the Templater templates with plugin commands. Works on desktop, phones and tablets.
pnpm install
pnpm run deploy # builds and copies main.js, manifest.json, styles.css into the vault
The vault defaults to ../Complices; set OBSIDIAN_VAULT=/path/to/vault to use another one. Then enable WhatsApp Client in Settings → Community plugins.
| Setting | Meaning |
|---|---|
| URL del servidor, Instancia, API key | Evolution API connection. "Probar" checks the instance state. |
| Código de país | Prepended to local phones (70000001 → 59170000001) to match chats with customers. Default 591. |
| Actualizar chats cada | Polling interval while the WhatsApp view is open (minimum 5 s). |
| QR de pago | Vault image sent by Enviar QR. |
| Texto que acompaña al QR | Optional caption; {nombre} becomes the customer's name. |
The API key is stored in the plugin's data.json. If the vault is synced (Self-hosted LiveSync), enable end-to-end encryption.
…@lid, WhatsApp's anonymous identifier) use the phone in remoteJidAlt when WhatsApp shares it. When it does not, creating or linking the customer stores the LID in the WhatsApp LID property, so the chat recognizes the customer afterwards.pnpm test # domain tests (vitest)
pnpm lint # eslint with eslint-plugin-obsidianmd (same rules as the community review)
pnpm build # typecheck + production bundle
pnpm dev # watch mode
Bump version in manifest.json and package.json, commit, then push a tag with exactly that version (git tag 0.2.0 && git push origin 0.2.0). The Release workflow lints, tests, builds, attests the build provenance of main.js, manifest.json and styles.css, and publishes the GitHub release that BRAT installs.
Domain services (src/customers, src/orders, src/catalog) depend only on VaultPort; the Evolution client depends only on HttpPort. Obsidian adapters live in src/shared/obsidian-vault.ts and src/whatsapp/obsidian-http.ts.