Solace

A private journal that remembers, and answers questions with citations to your own entries.

Solace illustration

What it is

Solace is a journal you write in like a notebook. In the background it tracks people, places and patterns in your entries. Later you can ask your past a question and get an answer drawn only from what you wrote, with links back to the entries it used. It says so plainly when the journal does not cover something.

How it works

  1. Saving an entry is a plain database write, drafts live on the device first so nothing is lost offline.
  2. A durable job queue in Postgres analyses mood and tags, splits the entry into passages, embeds them and updates memories, with retry and backoff.
  3. Search combines vector similarity (pgvector) and full-text search, fused by reciprocal rank fusion.
  4. Answers stream to the browser over server-sent events and cite their source entries.
  5. Every table has row-level security; journal text is delimited to resist prompt injection.

Engineering and proof

My role

Built by Sai Charan.

Built with

Links

Live appSource on GitHubEmail me