Cola

by Heran
5
4
3
2
1
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Chat with Cola AI directly in your notes with full file context awareness.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Cola for Obsidian

Chat with Cola AI directly in Obsidian. Context-aware — Cola sees what you see.

Features

  • Sidebar Chat — Chat with Cola without leaving Obsidian
  • File Context Awareness — Cola automatically sees your currently open file
  • Quote Selection — Select text and send it to Cola as a reference for your question
  • Insert to Editor — One-click insert Cola's reply at your cursor position
  • Persistent History — Chat messages are saved across sessions
  • Customizable Shortcuts — All commands can be assigned custom hotkeys

Requirements

  • Cola desktop app installed and running
  • Cola's Obsidian channel plugin enabled (install from Cola's plugin settings)

Usage

  1. Install this plugin in Obsidian
  2. Install and enable the Obsidian channel plugin in Cola's settings
  3. Open the Cola sidebar (click the ribbon icon or use the command palette)
  4. Start chatting — Cola will see your current file automatically

Commands

Command Description
Open Cola Chat Open the Cola sidebar
Quote Selection to Cola Send selected text as a quote reference
Send Selection to Cola Send selected text directly

All commands can be assigned custom hotkeys in Settings → Hotkeys → search "Cola".

Settings

  • Send Shortcut — Choose between Ctrl/Cmd+Enter or Enter to send messages
  • Clear Chat History — Clears local chat history (Cola's memory is not affected)

How It Works

This plugin connects to Cola's local channel plugin via WebSocket. Your messages are processed by Cola AI with full context of your current file, and responses are displayed in the sidebar.

The connection is local-only (127.0.0.1) — no data is sent to external servers by this plugin. Cola handles AI processing according to its own privacy settings.

Development

npm install
npm run build

Copy main.js, manifest.json, and styles.css to your vault's .obsidian/plugins/cola/ directory.

License

MIT