KevinChu1110/driftnet
À propos
A drift net for your feeds: catch the tools, repos and articles your chats share before they drift away. Sorted, summarised, searchable, local. Any model or none; MCP for agents.
IA et apprentissage automatiqueProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalEnglish · 繁體中文
▶ Try the demo · Quick start · Website · Chrome extension · Docs
🆕 1.4 is out: sign in remote MCP clients (Claude.ai, ChatGPT) with OAuth, a much harder prompt-injection guard (every note and summary is checked, five languages), faster pages that serve Markdown to agents, driftnet lint and a save-note tool, Pocket / Omnivore / Raindrop / Readwise importers, keyboard-friendly MCP cards, and a 6-language settings page. What's new · Security model · What stays stable

📖 What it is
Every day your feed carries great articles, open-source repos and tools past you. You paste them into a chat "for later", and like everything else in the current, they drift out of sight.
driftnet is the net you leave in that current. Drop links in a group chat (LINE, Slack, Discord, Telegram), click the Chrome button, import your old bookmarks or use the command line. driftnet catches each one, follows a post to the project it is really about, boils it down to a short summary in your language, and files it in your own folders, in a local catalogue with full-text search (Chinese included). Your agents haul in the same catalogue over MCP. It runs on your own computer and works with any model, or none.
🚀 Quick start
Everything runs on your own computer — no server to rent, no account required.
1. Try it in 10 seconds (no install)
▶ Try the live demo — runs the real driftnet web page directly in your browser.
2. Run on your computer (1 command)
Requires Node.js 22.13 or newer. Never used a terminal? Step by step for Mac and Windows.
npx driftnet
Your browser opens http://localhost:8787 (localhost means "this machine"; nobody else can see it). Go to ⚙ Settings → AI to pick a provider and model — or skip it (links are still saved under "Other", and an AI agent can write the summaries; see Agents).
- Connect your AI apps (Claude Code, Claude Desktop, Cursor, Windsurf, Codex) in one go:
npx driftnet init - Run in the background at login (macOS, Linux, Windows — otherwise closing the terminal stops driftnet):
npx driftnet service install # status: npx driftnet service status · undo: npx driftnet service uninstall
Settings live in ~/.driftnet/.env and the catalogue in ~/.driftnet/driftnet.db.
3. Or let your AI agent install it
Copy this into Claude Code, Cursor, Codex or any agent that can run commands on your computer:
Read https://raw.githubusercontent.com/KevinChu1110/driftnet/main/docs/llms-install.txt and set up driftnet for me.
It checks Node.js, starts driftnet, connects itself over MCP and tells you when it is done.
Add your first link
Any of these works:
- On the page: paste a link into the box and press Add.
- In a terminal:
npx driftnet add https://github.com/paperclipai/paperclip - From the browser: the Chrome extension sends the page you are looking at.
- From a chat: paste a Discord, Telegram, Slack or LINE bot token in ⚙ Settings → Chats (how to get one) and drop links there.
A card shows up within 5–30 seconds: what it is, why it might matter to you, and where it was filed.
Which setup is yours?
| You are | Start with | Model |
|---|---|---|
| Just me, on my computer | The Chrome extension and the web page | A local one through Ollama (see Models), or none |
| A group chat | A Discord, Telegram, Slack or LINE bot, see Ways in | Any |
| My agents | MCP, the Claude Code plugin or the agent queue | None needed: the agent does the reading |
Other ways to run it: from source, Docker
From source, to hack on it or run it as a login service:
git clone https://github.com/KevinChu1110/driftnet && cd driftnet
pnpm install
pnpm start # http://localhost:8787
pnpm service:install # optional: start at login (macOS / Linux)
With Docker (one-liner):
docker run -d -p 127.0.0.1:8787:8787 -v driftnet_data:/data -e DRIFTNET_HOST=0.0.0.0 ghcr.io/kevinchu1110/driftnet:latest start
Or with Docker Compose (uses docker-compose.yml):
docker compose up -d
Without start, the container is the MCP server over stdio (docker run -i --rm -v driftnet_data:/data ghcr.io/kevinchu1110/driftnet:latest).
DRIFTNET_HOME moves the settings and the catalogue somewhere else.
Not working?
- Port 8787 is in use: another driftnet is probably running; open http://localhost:8787, or start this one with
PORT=8788. driftnet needs Node 22.13 or newer: install it withnvm install 22or from nodejs.org.- Cards stay ⏳ with no summary: no model is set up yet. Choose one in ⚙ Settings → AI, or let your agent work the queue (Agents).
- Opened from another computer and got
421: without a password driftnet only answers on this machine. Set a password (DRIFTNET_TOKEN), or list the address inDRIFTNET_ALLOWED_HOSTS.
🎥 See it work
1. A post becomes the tool. A Facebook reel with no links in it goes into the chat. driftnet reads the caption, finds both repos on GitHub by exact name, and files each as its own card. The chat gets one line; the summary is on the page.
you ▸ this week's AI roundup https://www.facebook.com/share/v/1DfVB2odi3/
bot ▸ 📌 This week in AI (3/11)|News + Paperclip, RealWonder
https://driftnet.example/#item-1

2. Know what it is at a glance. Before: a bare link in a chat. After: a card with pictures from the page, a one-line answer, what you'll see and why it's here, so you can tell in seconds whether to open it.

3. Sort with the mind map. New links the AI filed on its own wait in the Inbox with two or three suggested folders. Or drag a card onto a folder on the mind map, which branches out from the root like XMind.

✨ Core features
Catch the link
- 🎯 Finds the actual tool. A post linking a repo becomes the repo; a post that only names projects gets them looked up on GitHub by exact name. Links a model makes up are thrown away.
- 💬 Reads "link in the comments". The Chrome extension opens the comments; a weekly roundup becomes one item per project.
- 📥 Many ways in. A Chrome button, mobile PWA Share Target, Discord, Telegram, Slack or LINE bots, your agent, or one HTTP call (Ways in).
Understand and sort it
- 🖼️ Cards you can read at a glance. Pictures, a one-line answer, what you'll see, why it's here.
- 🗂️ Your folders are the categories. The AI files new links by each folder's path and description; its suggestions wait in the Inbox.
- 🧠 Mind map and split view. Drag cards onto folders; ✨ AI tidy-up proposes a plan that changes nothing until you apply it (the web page).
- 📱 Desktop app, mobile PWA, or static showcase. Run as a native desktop app (macOS / Windows / Linux) or in any browser; includes notes, undo and trash, keyboard shortcuts, read-only share links, and static site export (
driftnet export --format site -o ./docs). - 🚫 Not a read-later app. Pocket and Raindrop keep the link you gave them. driftnet follows the post to the tool it is about, keeps a short outline instead of the whole page, and lets your agents read and write the same catalogue over MCP.
Cheap, safe and yours
- 💸 Spends almost nothing. Repeat links are free and pages are cut to an outline of about 350 tokens before any model sees them. Five real Facebook reels were judged for $0.00029 in total.
- ⚖️ Optional judge. Jev (needs a TypeSafe key) decides in ~100 ms what is worth summarising. Without it, your model sorts each link.
- 🗳️ Learns what to ignore. 👎 a result and its publisher loses reputation; sources that keep getting voted down stop costing anything.
- 🛡️ Safe by default. Private and local addresses are refused, and prompt injection is never passed on to agents.
- 🤖 Agents use it too. MCP,
/openapi.json,/llms.txt,/feed.xmland an outgoing webhook; or let them do the reading (Agents). - 🧩 Any model or none, and it stays yours. A free local model through Ollama, a Claude or Gemini subscription you already have, a paid API key (pennies), or no model (links are then saved and wait unsorted under "Other"). Local SQLite; UI and bot replies in 6 languages (English, 繁體中文, 简体中文, 日本語, 한국어, Español).
📚 Docs
| Install for beginners | Never used a terminal: Mac and Windows, step by step |
| Moving from Pocket, Omnivore or Raindrop | Export from the old app, import here, what comes across |
| How driftnet handles a link | The eight steps, reels and shorts, link health, search by meaning |
| Ways in | Chrome, Discord, Telegram, Slack, LINE, votes, the weekly digest |
| The web page | Cards, folders, mind map, AI tidy-up, notes, sharing, shortcuts |
| Chrome extension | What it captures on Threads, X and Instagram, install |
| Models | Picking a model (API, subscription, Ollama or none), judges, plugins |
| Agents | MCP tools, the Claude Code plugin, letting your agent do the reading |
| Command line | driftnet add, search, export, backup and the rest |
| Settings | Every setting, backup and restore |
| Putting it online | A password, a public URL, LINE webhooks |
| What stays stable | What 1.x promises not to break: your data, settings, MCP tools, API, CLI |
| Contributing | Layout, tests, releasing, extending |
Where your data goes
[!IMPORTANT] The catalogue stays on your machine. To judge and summarise a link, driftnet sends a digest (title, outline, the chat text it was shared with) to TypeSafe if Jev is on and to your model provider if one is set. Chat messages without a link are never processed or stored. With Ollama and
DRIFTNET_JUDGE=off, nothing leaves your machine. Take it all with you any time: export to Markdown or an Obsidian / Notion vault from the sidebar, orGET /api/export. If you turn it on (DRIFTNET_UPDATE_CHECK=1), the only other call driftnet makes on its own is the once-a-day check for a new version (a plain request to the npm registry); it is off unless turned on.
Backup and restore
⚙ Settings › General › Backup downloads one zip of your catalogue and settings (passwords and keys left out unless you ask); npx driftnet backup does the same from a terminal. See Settings.
Contributing
Issues with a link driftnet handled badly are the most useful help: real links people share are how every feature here was found. Code: see CONTRIBUTING.md.
Support
driftnet is free and MIT. If it saves you time, a star helps others find it, and you can buy me a coffee.
License
Explorer des projets similaires
Chargement…