Skip to content

hqnsel/snapslash

Snapslash

A local-first, privacy-focused personal knowledge management system with integrated AI capabilities.

Built with Tauri, Rust, React, and TypeScript. Snapslash helps you capture, organize, and retrieve knowledge — all while keeping your data on your device.

Features

  • Local-First Architecture — All data stored locally in SQLite with optional encrypted cloud sync
  • Full-Text Search — SQLite FTS5 with BM25 ranking and semantic search
  • AI Assistant — RAG-powered Q&A over your notes with local LLM support via Ollama
  • Browser Extension — Capture web content directly into your knowledge base
  • Slash Commands — Quick actions: summarize, translate, calculate, and more
  • Cross-Platform — Desktop (Windows, macOS, Linux), browser extension, and web PWA

Architecture

┌─────────────────────────────────────────────────────┐
│                   Snapslash                          │
├──────────────┬──────────────┬───────────┬───────────┤
│   Desktop    │  Extension   │  Server   │    Web    │
│  Tauri v2    │  Chrome MV3  │  Fastify  │  Next.js  │
│ Rust + React │  JavaScript  │ TypeScript│  PWA      │
├──────────────┴──────────────┴───────────┴───────────┤
│              Local SQLite + Vector Index             │
└─────────────────────────────────────────────────────┘

Getting Started

Prerequisites

Development

git clone https://github.com/hqnsel/snapslash.git
cd snapslash
pnpm install

# Desktop app
cd desktop
pnpm tauri dev

# Server
cd server
pnpm dev

# Web app
cd web
pnpm dev

Building

# Desktop
cd desktop
pnpm tauri build

# Browser Extension
cd extension
pnpm build

# Server
cd server
pnpm build

Project Structure

snapslash/
├── desktop/          # Tauri desktop application
│   ├── src/          # React frontend
│   └── src-tauri/    # Rust backend
├── extension/        # Chrome browser extension (Manifest V3)
├── server/           # Sync & API server (Fastify)
├── web/              # Progressive web application (Next.js)
└── docs/             # Documentation

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT — See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors