Btb
Blue-text Bot AI. Uses Ollama + AppleScript
Install / Use
/learn @bwasti/BtbREADME
btb
locally run blue text bot with editable memory. this is a super early work in progress!
the code is built on ollama and does two things:
- uses messages for communication (you'll need a mac and a separate apple account)
- uses json for "memory" and lets you edit that directly in the browser
Usage
install Ollama https://ollama.com
ollama pull llama3
pip install -r requirements.txt
then run the service
python service.py
How it works
Messages
- Parse
~/Library/Messages/chat.dbto get the most recent text (every 1 second) - Use applescript (
send.applescript) to send a response message
JSON
- Inject the most recent "memory" as JSON into the ollama chat history
- Ask a separate model (prompted for JSON output, using
format=json) to summarize any new information and update the JSON - Run a server (flask with websockets) to make the JSON live editable by the user in the browser
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
