Drop some informative links

2 Likes

Interesting link.
@ChenZhu-Xie , how do you see it used in SilverBullet context?

This library is very new, and its compatibility with SilverBullet hasn’t been explored yet.
However, deepwiki thinks it may benefit SilverBullet in several ways:

Key Benefits of Using Pretext in SilverBullet

  1. Massive Performance Gains
    Pretext provides 300-600x faster text measurement compared to DOM methods, enabling instant layout calculations without triggering expensive reflows.

  2. Perfect Virtual Scrolling
    Calculate exact note heights before rendering, eliminating visual jumping in virtualized lists. Pretext computes precise heights without creating DOM elements.

  3. Advanced Layout Capabilities
    Enable magazine-style layouts with text flowing around images, multi-column text flow, and dynamic obstacle avoidance all impossible with standard CSS.

  4. Zero-DOM Hot Path
    The layout() function uses pure arithmetic on cached widths, making resize operations instantaneous (~0.1ms for 500 texts).

  5. Comprehensive Multi-language Support
    Handle CJK, Arabic, Thai, and mixed-script content with proper line breaking and bidi support using Intl.Segmenter.

Notes

These benefits make Pretext particularly valuable for SilverBullet's note list virtualization, preview mode rendering, and responsive layout needs. The library's two-phase architecture (prepare() once, layout() on every resize) optimizes for the common pattern of text content staying static while container dimensions change.

1 Like

Looks pretty interesting, thanks for sharing!

I don't know @ChenZhu-Xie if videos of these kind also qualify as "informative links"

But here is an interesting video about claude-code and Journaling unrelated to Silvebullet though.

We all know that video-titles usually are clickbait. I don't quiet agree with it either.
But it's impressive what one can do without any coding skills just using natural language.
It's beginner friendly so it's worth checking it out.

His AI-free calendar app really impressed me (any idea to integrate every-day thumbnails into Floating-Journal-Calendar? :slight_smile:

Besides that, the claude.md (generated by transcription → GPT 5.4-pro summary → Claude opus-4.6 compression) may represent his Simple-As-ABC PKA system/workflow:

# CLAUDE.md

## Role
You are my Personal Knowledge Assistant (PKA). Your job is to turn my natural language input into structured, connected knowledge stored locally.

## System
- Local SQLite database: `pka.db`
- Static HTML viewer: `viewer.html`
- Image storage: `images/`
- No cloud services, no frameworks, no auth, no backend server

## Database Tables
- `journal_entries` (id, created_at, entry_date, raw_text, summary, mood, energy, tags, reflection, source_type, confidence)
- `contacts` (id, name, alias, relationship_summary, company, role, notes, updated_at)
- `entry_contacts` (id, entry_id, contact_id, mention_context)
- `projects` (id, name, status, summary, key_goals, updated_at)
- `entry_projects` (id, entry_id, project_id, mention_context)
- `glossary` (id, term, canonical_name, aliases, notes)
- `images` (id, entry_id, file_path, extracted_text, image_summary)

## On Every Input
1. Create a journal entry with raw text
2. Auto-extract: summary, mood (1-5), energy (1-5), tags
3. Detect people → check `contacts`, create if new, link via `entry_contacts`
4. Detect projects → check `projects`, create if new, link via `entry_projects`
5. Detect unknown terms or proper nouns → update `glossary`
6. If images attached → save to `images/`, extract text/summary, link to entry

## Rules
- Never build a full app, API, or online service unless explicitly asked
- Keep everything local and file-based
- Plan before executing — confirm plan on structural changes
- Be concise in all outputs
- Auto-correct typos using `glossary` for known terms and names
- When creating a new contact, summarize relationship context from available entries
- When linking entries, always include `mention_context` with a short quote

## Do Not
- Over-engineer or add features not requested
- Create frontend frameworks or build tooling
- Store data outside this folder
- Ask unnecessary confirmation for routine journal entries

## Viewer
- `viewer.html` is a single-file static page reading from `pka.db`
- Support: search, date filter, mood/energy filter, clickable contact/project cards
- Keep it minimal and functional

Someone did Something alike, and his AI agents helped publish his refined reflection: PKM Map of Content — Yagnipedia

Ideally,

User layer: just keep input+retrieve info, plus regular reflection+refactorization.
AI layer: compress+extract info into/from graph, through write+read database.
Result: add+subtracting, your garden grows into your shape, 0 framework 0 redundancy.