Khiip

by Khiip
5
4
3
2
1
Score: 50/100

Description

Obsidian plugin for Khiip — capture URLs into your vault and recall them by meaning. A thin client over the local Khiip daemon.

Reviews

No reviews yet.

Stats

0
stars
142
downloads
0
forks
131
days
97
days
117
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
15
commits

Latest Version

4 months ago

Changelog

Live capture progress, leaner recall, async re-capture.

Works with any 0.2.x daemon (best with base 0.2.5, where re-capture runs in the background). Requires Obsidian ≥ 1.7.2. Khiip Plus lives on the daemon — the same plugin renders base or Plus output.

Added

  • Live capture progress. Capturing shows a staged progress card in the sidebar and a single updating notice (extract → … → embed) instead of a silent wait. Media downloads show per-item progress. The card sits pinned at the sidebar's bottom edge, clear of Obsidian's popup area.
  • Async re-capture. The ↻ re-capture path runs through the same staged card on a 0.2.5 daemon ("Re-capturing … · stage"), finishing with "Refreshed: … — new version saved." On a 0.2.4 daemon it falls back to the classic synchronous refresh — same wording, with an immediate notice while it works.
  • "Khiip: re-capture this note" command — re-capture the note you're reading (reading mode; uses the note's khiip frontmatter).
  • Leaner recall rows with a 2-line excerpt showing why a result matched, plus relevance tiers on the score chip.
  • @-handle chips on X captures; web captures with no byline show the site hostname in the chip.
  • Results header with ✕ (and Esc) to clear recall results back to the home view.

Fixed

  • The Khiip mark now renders correctly in the view tab, the sidebar header, and the capture modal (a CSS scoping bug displaced it from its slot — it also made the tab icon sit outside its own hover highlight).
  • Re-capturing against a 0.2.4 daemon shows feedback immediately instead of a silent wait, and a re-capture never stacks two popups for one action.
  • Internal cleanup from the pre-release review: dead client/type code removed; re-capture copy no longer depends on which daemon version answered.

Full changelog: https://github.com/KhiipAI/khiip-obsidian/compare/0.2.4...0.2.5

README file from

Github

Khiip — Obsidian plugin

Capture URLs into your Obsidian vault and recall them semantically. The plugin is a thin client over the local Khiip daemon (github.com/KhiipAI/khiip) — the daemon does extraction, embedding, and storage; the plugin gives you a command palette + sidebar surface inside Obsidian.

⏸️ Status: paused

The daemon package this plugin depends on is not currently published, so a fresh install will not have anything to connect to. The plugin is being reworked alongside it.

Already installed? Nothing has been changed or removed on your machine, and your captured notes are plain markdown in your own vault — they keep working with or without khiip.

What the plugin does

  • Command palette:
    • Khiip: Capture URL — prompts for a URL, posts to the daemon, opens the resulting note
    • Khiip: Recall by query — focuses the sidebar search input
    • Khiip: Open daemon settings — opens the settings tab
  • Sidebar (right pane): daemon status indicator, on-demand recall search, recent captures list
  • Settings tab: daemon URL, API-key override, daemon-reported metadata
  • Context menus:
    • Right-click a recent-capture row in the sidebar — Open, Re-capture, or Copy URL
    • Right-click a link in the editor — Capture this link with Khiip

Prerequisites

  1. Khiip daemon running locally. Install it (uv tool install khiip, or pip install khiip) and start it with khiipd serve (default: http://127.0.0.1:8478). Source + docs: github.com/KhiipAI/khiip.
  2. API key auto-discovered. The daemon writes ~/.config/khiip/auth.toml on first launch (mode 600). The plugin reads it directly; you don't usually need to paste it in.
  3. Daemon vault = Obsidian vault. For click-to-open captures to resolve inline, point the daemon's vault_path at your Obsidian vault (or a subfolder of it). The plugin will tell you the absolute path if the resolution misses.

Network use

By default the plugin makes HTTP requests only to your local Khiip daemon on 127.0.0.1:8478 and contacts no external servers. It ships no telemetry or analytics. It auto-discovers the daemon's API key from the local auth.toml (only when the daemon URL is loopback), and reads your clipboard solely to pre-fill the capture box.

If you set a non-local Daemon URL (e.g. a Tailscale or remote host) in settings, the plugin sends capture/recall requests — and the API key you paste there, as a Bearer token — to that host. Keep remote daemons on a trusted network. All fetching and extraction of captured URLs happens inside the daemon, never in the plugin.

Install

Khiip is in the Obsidian Community plugins directory: Settings → Community plugins → Browse → search "Khiip" → Install → Enable.

To track the newest build before it syncs to the directory, use BRAT:

  1. Install the BRAT community plugin in Obsidian
  2. BRAT settings → Add Beta Plugin → KhiipAI/khiip-obsidian
  3. Settings → Community plugins → enable Khiip

BRAT polls the GitHub releases for this repo and auto-updates when a new tag ships.

Develop locally

git clone [email protected]:KhiipAI/khiip-obsidian.git
cd khiip-obsidian
npm install
npm run build    # one-shot production build
npm run dev      # watch mode

Symlink the build into an Obsidian vault to test:

mkdir -p /path/to/vault/.obsidian/plugins
ln -s "$(pwd)" /path/to/vault/.obsidian/plugins/khiip

Reload Obsidian (or toggle the plugin off + on in Community plugins) to pick up rebuilds.

Run the smoke checklist in SMOKE.md before cutting any release.

Cutting a release

Tags MUST match manifest.version exactly (Obsidian's registry rejects mismatches), and they're bare versions — no v prefix. .npmrc enforces this for npm version.

# Bump everything in lock-step (package.json, manifest.json, versions.json),
# create a commit + a tag matching the new version. The preversion check
# aborts if your npm tag-version-prefix is non-empty (would produce
# `v0.0.2`-style tags that the release workflow's strict-semver gate rejects).
npm version patch    # 0.0.1 → 0.0.2 — or `minor` / `major` / explicit semver

# Push the version-bump commit, then push the SPECIFIC tag (NOT `--tags`,
# which would push every stray local tag you may have from experiments):
VERSION=$(node -e "console.log(require('./package.json').version)")
git push origin main
git push origin "$VERSION"

The release workflow (.github/workflows/release.yml) fires on tag push, runs the typecheck + production build, verifies the tag matches manifest.version, and uploads main.js, manifest.json, and styles.css as flat release assets. BRAT picks the new version up on next poll.

If the build fails, delete the tag (git tag -d <ver> && git push origin :refs/tags/<ver>), fix, and re-cut. Don't force-push a tag with the same name once a release exists for it.

Re-cutting the same version (e.g. republishing after a history rewrite): npm version refuses an unchanged version, so tag by hand after clearing the prior tag and its release — gh release delete <ver> --cleanup-tag --yes, then git tag <ver> && git push origin <ver>.

Obsidian community-plugin directory submission

As of 2026-05, submissions go through the community.obsidian.md dashboard — the old PR to obsidianmd/obsidian-releases is retired. Sign in with an Obsidian account, link GitHub, choose Plugins → New plugin, enter this repo's URL, and accept the developer policies. An automated security + policy review gates the listing (minutes); once it passes, the plugin is searchable in-app within ~24h. Requirements (already in place):

  • A tagged GitHub release (tag == manifest.version, no v prefix) with main.js, manifest.json, and styles.css attached as individual assets
  • manifest.json id (khiip) — lowercase, contains no "obsidian", does not end in "plugin"
  • versions.json maps every version to its minAppVersion
  • README (with the network-use disclosure above) + LICENSE at the repo root
  • No undisclosed network calls, telemetry, or self-update mechanism; no obfuscated code

License

Apache 2.0 — see LICENSE. The Khiip daemon is AGPL-3.0; this plugin consumes the daemon over its public REST API only and is not a derivative work.