Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Offline Markdown Search with Verifiable Source Evidence (SQLite FTS5 + SHA-256)

A keyword search hit is much more useful when you can verify the exact passage and file hash it came from. In this reproducible walkthrough, we use Capicove (MIT-licensed, local-first knowledge and multimodal CLI) to import three local Markdown notes, build an offline SQLite FTS5 keyword index, search for FTS5 , and inspect exact character-span evidence ( start_char – end_char ) plus SHA-256…

This walkthrough demonstrates how to perform an offline keyword search using Capicove, a MIT-licensed, local-first knowledge and multimodal CLI. The process involves importing three local Markdown notes into an SQLite FTS5 (Full-Text Search extension) database, which allows for efficient text searching without requiring a hosted API or any model downloads.

To begin, clone the Capicove repository from GitHub using the command "git clone https://github.com/happyBayes/capicove.git". Then, change into the cloned repository directory using "cd capicove" and switch to a specific version with "git checkout 3f1be3314fa15dec8b8063166d77cc896cc5f68f". Next, update all dependencies and ensure the correct Python version (3.11+) is being used with "uv sync --locked --no-dev --python 3.11".

After setting up the local workspace, import your Markdown files using the "$BIN" command, followed by building the FTS5 index with the "index build" command. To verify the search results, run the "search FTS5" command, which will return the exact character range (start_char – end_char) of the matched text, along with SHA-256 hash evidence.

This verification process ensures that the returned metadata accurately represents the original file content, including the source SHA-256 hash and lineage information, without any reliance on external APIs or model downloads.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Make a Watermark-Free GTA-Style Reaction GIF Entirely in Your Browser

A good GTA-style reaction is almost primitive: one familiar overlay, a short camera move, and a loop that still reads in a Discord thumbnail.

  • GTA6 Meme fan generator creates watermark-free GIF89a files
  • Choose overlay templates like Wasted or Mission Passed
  • Export 480×480 GIF at 18 FPS for 2.4 seconds

Side-by-Side Text Diffs in the Browser (When Git Is the Wrong Tool)

git diff is perfect when the text already lives in a repository. A lot of the text I actually have to review does not: an email draft, a Terms page exported from a CMS, a YAML file pasted in chat, two…

  • Side-by-side browser diff tool for non-repository text comparison
  • Word-level highlighting for accurate copy reviews
  • Privacy-focused local comparisons with export options

Stitch Photos on an Infinite Canvas With Magnetic Snapping (No Uploads)

Most “combine photos” tools are really templates: three slots, a fixed margin, a watermark, and an upload. That is fine for a quick social collage.

  • Image Combiner merges photos on an infinite canvas without uploads.
  • Offers snap behaviors like flush joins and consistent gaps between images.
  • Provides export options in PNG, JPG, or WEBP at various resolutions.

More from Saturday, 28 November 2026 →