# OPC · 随身思考空间 > 本地优先的 AI 个人知识与多端信息入口。自然输入、模型整理、原文核对,确认后将整理文字交给电脑归档。 ## 产品事实 - 当前为本机 H5 体验与服务端 V1;没有公共安装包、公共在线注册或托管知识库。 - 真正的整理使用用户配置的模型。官网演示只有固定素材,不调用模型、不保存个人内容。 - 原文经过转发服务内存与配置模型提供商,不持久化为新版接力收件;原始音频留在浏览器。 - AI 整理不是事实验证,确认后才同步整理文字。当前不宣称端到端加密或高可用。 - 电脑归档、有限检索、设备授权、版本同步和校验备份属于服务端 V1;完整知识库跨端、原生端与自动音频转写尚待验证。 ## 使用指南 - [从第一条想法开始](https://www.nimeux.com/guide/getting-started): 启动本机服务、连接 H5、整理并确认你的第一条记录。 - [Markdown](https://www.nimeux.com/guide/getting-started.md) - [让零散的输入,变成可继续的思考](https://www.nimeux.com/guide/mobile): 文字、声音、上下文与核对:认识 H5 的日常使用方式。 - [Markdown](https://www.nimeux.com/guide/mobile.md) - [搭起属于自己的接力服务](https://www.nimeux.com/guide/server): 理解账户、设备、节点与版本接口,保持电脑作为数据主场。 - [Markdown](https://www.nimeux.com/guide/server.md) - [同步之后,还需要一份备份](https://www.nimeux.com/guide/backup): 区分交付成功、独立备份和恢复,避免把同步当作灾备。 - [Markdown](https://www.nimeux.com/guide/backup.md) ## 安装咨询 - [OPC 有偿安装与部署咨询](https://www.nimeux.com/consulting): 协助环境安装、模型接入、多端配置和备份验收;实施前确认范围、报价与安排。 - 咨询邮箱:zxm0813@gmail.com。没有公布固定价格、交付时限或免费安装承诺。模型、服务器、域名等第三方费用不默认包含。 ## 其他页面 - [数据与隐私](https://www.nimeux.com/privacy) - [常见问题](https://www.nimeux.com/faq) - [开发者概览](https://www.nimeux.com/developers) - [关于 OPC](https://www.nimeux.com/about) - [服务条款](https://www.nimeux.com/terms) - [更新日志](https://www.nimeux.com/changelog) - [联系我们](https://www.nimeux.com/contact) - [机器可读能力](https://www.nimeux.com/service-capabilities.json) 更新时间:2026-11-07。该文件是辅助阅读入口,不是搜索排名或 AI 引用保证。 --- # 从第一条想法开始 启动本机服务、连接 H5、整理并确认你的第一条记录。 来源:https://www.nimeux.com/guide/getting-started 更新:2026-11-07 ## 先准备好本机环境 本指南面向已经获得 OPC 项目代码的使用者。目前提供本机 H5 体验与服务端 V1,尚未提供公开安装包、公共在线注册或托管知识库。 需要 Python 3.11 及以上。AI 整理使用你配置的模型服务,需在 config/opc.toml 中配置 extract 路由,并通过环境变量提供模型密钥;调用可能产生模型服务费用。 ## 启动随身入口 在项目目录安装依赖并启动隔离体验。默认监听本机,不会自动向公网开放服务。 ```powershell python -m pip install -e . python -m opc.mobile demo ``` ## 连接 H5 设备 浏览器打开 http://127.0.0.1:5380/,点击连接设备,填写启动时提供的一次性配对码。配对码在 10 分钟内有效,用过即失效。 当前 H5 是模拟手机客户端,仅本机访问。手机跨网访问需要另行部署 HTTPS 入口,不能把回环地址当成公共服务地址。 ## 说出想法,核对后再同步 直接输入一段想法,不用先起标题或选择分类。页面先保存原文,再发起 AI 整理。 你会看到摘要、素材要点、待澄清问题和明确行动。展开原文对照,检查数字、条件与判断,再点击确认并同步。 确认前不会创建接力收件。模型整理不代表事实已核实;如果结果不准确,可以修改原文后重新整理。 ## 看见它真正抵达 状态区分本机保存、接力已收件、电脑已接收和归档完成。电脑离线时,确认后的文字可以等待接力;断网时原文先保存在浏览器,联网后再整理与确认。 默认电脑接收者归档已确认文字,不重复调用模型。请阅读数据与隐私说明,定期导出尚未同步的原始资料。 # 让零散的输入,变成可继续的思考 文字、声音、上下文与核对:认识 H5 的日常使用方式。 来源:https://www.nimeux.com/guide/mobile 更新:2026-11-07 ## 从一句话开始 OPC 接受自然语言素材。可以记下一个念头,也可以把尚未想清楚的问题留下。AI 的任务是忠实整理素材,不是自动回答所有问题。 每条记录保留本机输入。整理结果与原文分层展示,避免把生成内容误当成你说过的话。 ## 把问题也留下 待澄清问题帮助你识别缺失条件、未定日期和尚未做出的判断。明确行动应来自素材已经提出的事项。 不要因为格式整齐就跳过核对,尤其注意数字、负责人、截止日期、条件与否定句。 ## 接着上一条往下说 点击接着说,上一条内容会作为整理上下文。你可以补充条件、调整表达或换个角度继续记录。 引用内容与新增素材分开传给模型。未同步记录可以保留本机上下文,但不等同于跨设备共享的正式对象引用。 ## 声音先留住 H5 支持前台录音和选择音频文件。当前流程将音频原件留在浏览器,补充转写文字后再整理;自动语音转写尚未列为已交付能力。 录音、锁屏和后台行为受浏览器及设备限制,当前网页不能替代已经验证的原生后台录音应用。 ## 离线保存与导出 草稿、原文、录音与未确认结果保存在浏览器 IndexedDB,清理浏览器数据可能移除这些内容。 连接页可以导出本机记录与录音。会话保存在 sessionStorage,关闭会话后可能需要重新配对,但本机记录不会因此自动删除。 # 搭起属于自己的接力服务 理解账户、设备、节点与版本接口,保持电脑作为数据主场。 来源:https://www.nimeux.com/guide/server 更新:2026-11-07 ## 两条清晰的边界 原 H5 演示接口与服务端 V1 分开运行。V1 使用独立账户、设备凭据和数据库,演示记录不会被静默迁入新账户。 电脑接收者归档已核对的整理文字。有限读取和检索针对这批归档,不代表完整 OPC 或 Obsidian 知识库已远程开放。 ## 创建 V1 账户 正式接口位于 /api/v1。账户由本机操作员创建,没有开放注册入口。使用环境变量提供至少 12 字符的密码,不把明文密码写进命令参数。 ```powershell # 先安全设置 OPC_MOBILE_PASSWORD 环境变量 python -m opc.mobile user-add --username owner python -m opc.mobile serve ``` ## 连接电脑接收者 登录后通过 POST /api/v1/nodes 登记节点,将节点令牌放入 OPC_MOBILE_NODE_TOKEN 环境变量。接收者主动出站领取命令。 ```powershell python -m opc.mobile agent-v1 --url http://127.0.0.1:5380 ``` ## 可靠同步意味着什么 命令有不可变编号和内容摘要,重复发送不重复创建;对象修改携带版本号,旧状态不静默覆盖新状态。 节点回执绑定实例、租约世代、对象版本和尝试号。恢复后的不确定在途状态等待人工核对,不自动重放。 ## 从本机到公网 当前验证范围为单实例 SQLite 服务。公网需要明确域名、HTTPS 反向代理与可信代理配置;正式模式禁用演示接口。 不要把开发入口直接当成公开注册平台,也不要把单实例版本宣传为多地域高可用或端到端加密服务。 # 同步之后,还需要一份备份 区分交付成功、独立备份和恢复,避免把同步当作灾备。 来源:https://www.nimeux.com/guide/backup 更新:2026-11-07 ## 归档完成不等于已备份 归档回执表示电脑已保存内容,不等于它已进入独立灾备。浏览器里未同步的原文和录音,不能由服务器备份代替。 请定期导出本机原件,另为电脑知识库与接力服务建立独立备份。 ## 备份版本服务 使用 SQLite 在线备份,检查完整性与摘要。备份目标文件必须不存在。 ```powershell python -m opc.mobile backup-service --destination F:/opc-backups/service.sqlite3 ``` ## 恢复到新目录 恢复不覆盖运行中的数据库。新实例撤销旧会话、设备和节点凭据,不确定的在途状态留待核对。 ```powershell python -m opc.mobile restore-service --source F:/opc-backups/service.sqlite3 --destination E:/opc-recovered ``` ## 恢复包与保守清理 V1 提供带签名、内容指纹与版本的工作区恢复包。默认算导出,不自动获得独立灾备资格。 只有明确配置独立位置、实际文件校验通过且精确覆盖对应版本,才允许回收已软删除并超过保留期的正文,墓碑和内容身份仍保留。 服务备份不包含手机原文、全部 OPC 主库、完整 Vault 或所有电脑文件,需按各自位置分别备份。 # 常见问题 ## OPC 是什么? OPC 是本地优先的 AI 个人知识与多端信息入口。随手捕获想法,使用配置的模型整理,核对确认后再将整理文字交给电脑归档。 ## 和普通笔记应用有什么不同? OPC 把自然输入、结构化整理、原文对照与明确确认连成一个流程。不要求先起标题或选分类,也不把模型生成内容当成已经验证的事实。 ## 我的原文会不会经过云端? 原文会经过模型转发服务内存与配置的模型提供商,用于整理;当前流程不把它持久保存为接力收件。确认后,整理文字才进入接力库。原始录音留在浏览器。这不是端到端加密承诺。 ## 电脑关机后还能用吗? 可以保留本机输入;模型和接力服务可达时,可以整理并提交确认后的文字,等待电脑上线。完整知识服务需要相应节点在线。断网时先留草稿,恢复后再整理。 ## 官网演示会调用模型或保存内容吗? 不会。官网使用明确标记的固定示例,不接收个人输入、不调用模型。真正的整理发生在你配置的本机 H5 与服务环境。 ## 现在能下载或在线注册吗? 目前面向已获得项目代码的使用者,提供本机体验与服务端 V1;尚未提供公共安装包、公开在线注册或托管知识库。使用指南介绍了当前的启动方法。 ## 可以连接 Obsidian 和更多设备吗? 原 OPC 已有本地知识生产与 Obsidian 工作流。多端 V1 首先提供确认后的捕获归档与有限读取,完整知识库跨端适配、专有设备协议及原生端仍需后续验证。 ## AI 整理后的信息一定正确吗? 不一定。结构化让素材更容易核对,不自动证明其事实正确。OPC 保留不确定项和原文对照,由你在同步前核查。 # Your first thought, from capture to archive Start OPC locally, pair the H5 client, and follow one thought all the way home. Source: https://www.nimeux.com/en/guide/getting-started ## Before you begin This guide is for people who already have the OPC source code. The current release includes a local H5 experience and a self-hosted V1 relay service. Public downloads, open registration, and a hosted knowledge base are not available yet. You will need Python 3.11 or later and access to a model provider. Configure the extract route in config/opc.toml and supply the model key through an environment variable. Provider usage may incur charges. ## Start a local session From the project directory, install OPC and launch the isolated demo. It listens on your own computer by default. ```powershell python -m pip install -e . python -m opc.mobile demo ``` ## Pair the browser client Open http://127.0.0.1:5380/ and choose Connect device. Enter the one-time pairing code shown at startup; it expires after ten minutes. This address works on the computer running OPC. Access from a separate phone requires an appropriately configured HTTPS endpoint. ## Capture, review, confirm Write something as it comes to you. OPC keeps the original in the browser and asks your configured model to organize it. Compare the result with the source, check uncertain details, and confirm before submitting the prepared text. Archive delivery requires a connected computer receiver. A delivery receipt confirms that the computer saved the content; it does not certify an independent backup. # A place for thoughts that are still taking shape Make a quick note, keep a question open, or pick up where you left off. Source: https://www.nimeux.com/en/guide/mobile ## Start with what you have You do not need a title, a folder, or a finished idea. Capture a sentence or an unresolved question. The model helps organize the source material; it is not expected to answer every question you record. ## Keep uncertainty visible Review names, numbers, dates, conditions, and negations against the original. An orderly summary can still be wrong. Suggested next steps should reflect actions already present in your material, rather than invent commitments. ## Carry the conversation forward Continue from an earlier entry to supply context for your next thought. Referenced material and new input are passed to the model separately. Local context for an unsynced entry is not the same as a shared cross-device object reference. ## Save the voice, then add the words The H5 client supports foreground recording and audio selection. Original audio stays in the browser; add transcript text before organizing it. Automatic transcription and native background recording are not delivered capabilities. Recording behavior depends on the browser and device. ## Export what matters Drafts, original text, recordings, and unconfirmed results live in browser IndexedDB. Clearing browser data can remove them. Export local entries and recordings regularly. Session credentials use sessionStorage, so a new browser session may require pairing again even when local entries remain. # Set up the relay. Keep your computer at the center. Understand accounts, device access, delivery, and the limits of the current service. Source: https://www.nimeux.com/en/guide/server ## Choose the right environment The original H5 demo and the V1 service use separate accounts, credentials, and databases. Demo entries are not silently moved into a V1 account. V1 archives reviewed capture text and supports bounded queries against those archives; it does not remotely expose your entire OPC or Obsidian library. ## Create a V1 account An operator creates accounts locally. There is no open registration endpoint. Set OPC_MOBILE_PASSWORD securely in the environment with a password of at least 12 characters, then run the commands below. Do not put the password directly in command arguments. ```powershell python -m opc.mobile user-add --username owner python -m opc.mobile serve ``` ## Connect the computer receiver After signing in, register a node through POST /api/v1/nodes and supply its token as OPC_MOBILE_NODE_TOKEN. The receiver makes outbound requests to claim work. ```powershell python -m opc.mobile agent-v1 --url http://127.0.0.1:5380 ``` ## What delivery guarantees mean Immutable command identifiers and content digests make retries idempotent. Version checks prevent stale updates from silently overwriting newer state. Receipts are bound to the instance, lease generation, object version, and attempt. After recovery, uncertain in-flight work requires review rather than automatic replay. ## Before exposing a public endpoint The verified deployment target is a single-instance SQLite service. Remote access needs a domain, HTTPS reverse proxy, trusted-proxy settings, and demo endpoints disabled in production. This release does not claim multi-region availability or end-to-end encryption. # A synced note still needs a backup Protect the browser originals, the relay service, and your computer archive as separate assets. Source: https://www.nimeux.com/en/guide/backup ## Know what a receipt tells you A completed archive receipt means the computer saved the entry. It does not mean an independent backup exists. Server backups also cannot replace unsynced original text or recordings in a browser. Export those originals and back up the computer knowledge base separately. ## Back up the service database The service uses SQLite online backup and checks integrity and digests. Choose a destination file that does not already exist. ```powershell python -m opc.mobile backup-service --destination F:/opc-backups/service.sqlite3 ``` ## Restore into a fresh directory Recovery does not overwrite a running database. A recovered instance revokes old sessions, device credentials, and node credentials. Uncertain in-flight work remains available for review. ```powershell python -m opc.mobile restore-service --source F:/opc-backups/service.sqlite3 --destination E:/opc-recovered ``` ## Treat an export as an export V1 recovery packages include signatures, content fingerprints, and versions. Export alone does not qualify as independent disaster recovery. Cleanup of retained deleted content requires a configured independent location, verified files, and exact version coverage. Tombstones and content identity remain. A service backup does not include the full OPC library, a complete Vault, phone originals, or every file on your computer. # English FAQ ## What is OPC? OPC is a local-first AI knowledge workflow. Capture a thought, use your configured model to organize it, review the result, and send the prepared text to your own computer. ## Does my original text leave the device? Yes, when you request AI organization. Original text passes through the model gateway in memory and reaches your configured provider. It is not persisted as a V1 relay capture. Reviewed text is stored in the relay after confirmation. Original recordings remain in the browser. This is not an end-to-end encryption claim. ## Can I keep working while my computer is off? You can keep drafts locally. When the model and relay are reachable, you can organize and submit reviewed text for the computer to collect later. Knowledge operations still depend on the relevant node being online. ## Is there a download or hosted account? Not yet. The current release is for users with the project source and includes a local H5 experience and a self-hosted V1 service. The guides explain the supported starting point. ## Does the website demo use a real model? No. It uses clearly labeled, fixed examples. It does not accept personal input, call a model, or store notes. ## Does AI make my notes accurate? No. Structure makes a note easier to review, but it does not verify the underlying facts. Check the source and resolve uncertainty before confirming. ## What does the installation service cost? Installation is a paid service quoted after reviewing your environment and goals. Scope, fees, scheduling, and any follow-up support are agreed before work starts. Model usage, hosting, and domain charges are not automatically included.