PP

professorpalmer/portable-llm-wiki

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 3 forks 质量 83 趋势 18MIT

供应商中立,由LLM维护的个人上下文维基。Markdown存储在你的git中,任何LLM(HTTP API + MCP服务器)都可以查询。v0.7原型。

概览

Markdown 文件在你的 git 仓库里,通过 HTTP + 原生 MCP 暴露,这样 Cursor、Claude、ChatGPT、Gemini 或本地模型都能读取同一个你,无需重新开启。 托管演示通过SSE实时回答。试试portablellm.wiki 实现LLM维基规范v1。任何能说该规范的LLM都可以与任何符合规范的维基通信。 心理模型:儿童安全座椅记忆按钮。当你坐进新车时,你不会重新解释你的身高。你按下一个按钮,座椅会自动调整。LLM会话也是同样的道理:你不再在每次新聊天中重新解释自己,而是输入你的维基,LLM就会调整。 - 你的上下文存储在你拥有的 git 文件夹中,而不是供应商的 RAG 数据库。明天从光标切换到 Claude 再到 ChatGPT,每个助手都会看到相同的页面。- HTTP(/.well-known/llm-wiki.json)适用于任何客户端,适用于 Cursor / Claude Desktop,以及浏览器中的聊天界面。所有这些都由相同的 markdown 文件支持。- 可选的 puppetmaster 集成运行 Karpathy 的导入流水线。

概述(AI 翻译)

将个人上下文导入任何大型语言模型的开放协议。

Markdown 文件在你的 git 仓库里,通过 HTTP + 原生 MCP 暴露,所以 光标、Claude、ChatGPT、Gemini 或本地模型都可以读取 和你一样,没有重新入职。

托管演示通过SSE实时回答。试试portablellm.wiki

 

协议:实现LLM-wiki规范v1。任何LLM 能说规范的话,可以和任何符合规范的维基沟通。

心理模型:汽车安全座椅记忆按钮。当你坐进新车时 你不重新解释你的身高。你按一个按钮,然后按下座椅 会调整。LLM课程也是同样的道理:不要再重复解释 你在每个新聊天中输入你的维基和大语言模型 调整了。

这是什么

  • 供应商中立。 你的上下文存在于你拥有的 git 文件夹中,而非 供应商的RAG数据库。从光标切换到Claude再到ChatGPT。 明天每个助理都会看到同样的页面。
  • 三种协议,一个真实来源。 HTTP (/.well-known/llm-wiki.json)为任何客户端,MCP 代表光标 / Claude 桌面版,以及浏览器中的聊天界面。所有这些都由同样的软件支持 Markdown文件。
  • **自我维护。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Portable LLM Wiki

The open protocol for piping your personal context into any LLM.

Markdown files in your git repo, exposed over HTTP + native MCP, so Cursor, Claude, ChatGPT, Gemini, or a local model can all read the same you without re-onboarding.

The hosted demo answers in real time over SSE. Try it at portablellm.wiki

 

Protocol: implements the llm-wiki spec v1. Any LLM that speaks the spec can talk to any conformant wiki.

Mental model: the car-seat memory button. When you sit in a new car you don’t re-explain your height. You press a button and the seat adjusts. Same idea for LLM sessions: instead of re-explaining yourself in every new chat, you plug in your wiki and the LLM adjusts.

What it is

  • Vendor-neutral. Your context lives in a git folder you own, not in a vendor’s RAG database. Switch from Cursor to Claude to ChatGPT tomorrow and every assistant sees the same pages.
  • Three protocols, one source of truth. HTTP (/.well-known/llm-wiki.json) for any client, MCP for Cursor / Claude Desktop, and a chat UI in the browser. All backed by the same markdown files.
  • Self-maintaining. Optional puppetmaster integration runs the Karpathy ingest pipeline. Paste a Slack thread or upload a PDF and the wiki drafts entities, concepts, and cross-references for you, with a semantic lint swarm to catch contradictions and missing pages.

Live at portablellm.wiki: a hosted multi-tenant deploy of this same repo. Sign in with GitHub and your wiki is live at portablellm.wiki/ in under a minute. Or browse /avery — Avery Chen, a fictional founding engineer at a synthetic-biology startup — to see what a populated wiki looks like before signing up.

Three ways to use it

1. Hosted — sign up (zero deploy, ~30 seconds)

在 GitHub 查看完整 README

安装

npx -y portable-llm-wiki-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "portable-llm-wiki": { "command": "npx", "args": ["-y", "portable-llm-wiki-mcp"], "env": { "WIKI_API_BASE": "https://<your-backend>.onrender.com", "WIKI_OWNER_TOKEN": "<paste OWNER_TOKEN from Render>" } } } }