AI auto-tagging
LLMs read every item, assign tags with confidence scores, and generate 2–3 sentence summaries automatically. Bring your own model - Ollama, Groq, NVIDIA, or any OpenAI-compatible endpoint.
4dpocket is a self-hosted AI knowledge base that saves, tags, summarizes, and connects everything you read - across 17+ platforms. Local-first. Private by default. Your data never leaves your machine.
Every item is extracted, enriched, indexed, and connected - automatically. You just paste URLs.
LLMs read every item, assign tags with confidence scores, and generate 2–3 sentence summaries automatically. Bring your own model - Ollama, Groq, NVIDIA, or any OpenAI-compatible endpoint.
Full-text (SQLite FTS5 + BM25), fuzzy fallback for typos, semantic similarity (ChromaDB vectors), and hybrid RRF fusion. Inline filter syntax like tag:devops is:favorite after:2024-01.
Deep extraction for YouTube, Reddit, GitHub, X, Instagram, HackerNews, Stack Overflow, TikTok, Mastodon, Threads, Substack, Medium, LinkedIn, Spotify, plus PDFs and images. Paste a URL - we do the rest.
Runs entirely on your machine. Docker, pip, or source. Per-user data isolation, SSRF protection on every processor, DOMPurify on all HTML paths, prompt-injection filtering before the LLM.
Share items, collections, or tag groups with specific users. Viewer or editor roles. Public links with optional expiry. Knowledge feed to follow other users. Comments and discussions inline.
Installable Progressive Web App with share target, offline access, and mobile-optimized nav. Chrome extension for one-click save, right-click context menu, and text highlight capture on any page.
Paste a URL. 4dpocket detects the platform, deeply extracts the content, and enriches it with AI.
Plus notes, highlights, RSS feeds, Chrome-bookmark imports, and Pocket exports - all unified under one search.
Save anything in one or two clicks. AI handles the organization. You just search when you need it.
Drop any URL into the app, share from your phone, or one-click with the Chrome extension. We detect the platform and deeply extract title, content, media, comments, metadata.
Your preferred LLM assigns tags with confidence scores, generates a 2–3 sentence summary, finds related items via semantic similarity, and suggests the right collection.
Full-text, fuzzy, semantic, or hybrid. Typo-forgiving. Filter by tags, dates, sources with inline syntax. Search items and notes together. Press Cmd+K from anywhere.
Run a local LLM for true privacy, or plug in your favorite cloud provider. No vendor lock-in.
Admin panel overrides .env at runtime - change model, API key, or endpoint without a restart. No litellm, no langchain, no vendor SDK churn.
Zero config. Zero external services. SQLite by default. Scale up when you need to.
Single container, SQLite, no other services. Just works.
$docker run -d -p 4040:4040 \
-v 4dp-data:/data \
ghcr.io/onllm-dev/4dpocket:latest
Install from PyPI, run the interactive setup wizard.
$pip install 4dpocket
$4dpocket setup
$4dpocket start --sqlite
Open http://localhost:4040 - no login needed in single-user mode. See the Quick Start guide for PostgreSQL, Meilisearch, Ollama, and ChromaDB profiles.
WHERE user_id = current_user.id).
localhost) and optionally your AI provider (Groq has a generous free tier; Ollama is free forever).
FDP_AUTH__MODE=multi and you get JWT auth, per-user isolation, collaborative sharing with viewer/editor roles, public links, and a knowledge feed. The first registered user automatically becomes admin.
Self-host in 60 seconds. Keep your knowledge where it belongs - with you.