Skip to content

iamtrask/om-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

om-bridge

A WhatsApp bridge for the Open Mind — a peer-to-peer AI that answers your friends' messages using local data, with per-person privacy.

Quick Start

npx @iamtrask/om-bridge

Scan the QR code with WhatsApp (Settings → Linked Devices → Link a Device). That's it.

How It Works

The bridge saves incoming WhatsApp messages as JSON files in ~/Desktop/OMBox/inbox/ and polls ~/Desktop/OMBox/outbox/ for reply files to send back. Two programs talking through files.

A Python AI (running locally via Ollama) reads the inbox, generates a reply using per-person context folders, and writes it to the outbox. The bridge picks it up and sends it back through WhatsApp.

Messages must start with "om" to be processed — everything else is ignored.

Manual Setup

If you prefer not to use npx:

git clone https://github.com/iamtrask/om-bridge.git
cd om-bridge
npm install
node bridge.js

Learn More

License

Apache 2.0 — see LICENSE.

About

WhatsApp bridge for the Open Mind — run with npx @iamtrask/om-bridge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors