Safe read-only exporter for vivo Office / Atomic Notes NoteSync.db
Project description
vivo-note-cli
vivo-note-cli is a small, dependency-free command line exporter for vivo Office / Atomic Notes (vivo 办公笔记 / 原子笔记) desktop NoteSync.db files.
It is designed for safe local use:
- snapshots
NoteSync.dbplus-wal/-shmsidecar files before reading; - opens the copied database with a read-only SQLite URI;
- exports active notes to JSON or Markdown;
- omits raw vivo HTML unless you explicitly pass
--include-html; - never writes to the original vivo database.
[!WARNING] Your notes may contain private content. Do not commit exported JSON/Markdown, database snapshots, or raw private note text to a public repository.
Install
Install from PyPI with uv:
uv tool install vivo-note-cli
If the first PyPI release has not completed yet, install the current GitHub version directly:
uv tool install git+https://github.com/gobylor/vivo-note-cli.git
Upgrade or remove the CLI:
uv tool upgrade vivo-note-cli
uv tool uninstall vivo-note-cli
Quick start
The default database path is:
~/Library/Application Support/pcsuite/database/NoteSync.db
List notebooks:
vivo-note list
vivo-note list --json
Export all active notes as JSON:
vivo-note export --format json --output /tmp/vivo-notes.json
Export one notebook as Markdown:
vivo-note export --notebook 日记 --format markdown --output /tmp/vivo-diary.md
Export notes updated since a date:
vivo-note export --since 2026-04-01 --since-field update --format json
Check whether a database can be read safely without exporting note content:
vivo-note doctor
JSON output
Default JSON records keep these stable fields:
id, guid, notebook, title, contentDigest, created, updated, content_updated,
type, stickTop, content_markdown
content_html is only emitted when --include-html is passed.
中文快速开始
vivo-note-cli 用于只读导出 vivo 办公笔记 / 原子笔记桌面端的 NoteSync.db。默认会先把数据库复制到临时目录,再用 SQLite 只读模式打开,不会写原始数据库。
# 查看笔记文件夹
vivo-note list --json
# 导出「日记」文件夹为 Markdown
vivo-note export --notebook 日记 --format markdown --output /tmp/vivo-diary.md
# 诊断数据库是否可读(不会导出正文)
vivo-note doctor
请不要把 /tmp/vivo-*.json、导出的 Markdown、NoteSync.db 快照或任何私人笔记内容提交到公开仓库。
Scope
Version 0.1 focuses on read-only export. It intentionally does not copy attachments, write to Obsidian, or perform bidirectional sync. See docs/obsidian-recipe.md for an optional import recipe you can adapt outside this package.
Documentation
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vivo_note_cli-0.1.0.tar.gz.
File metadata
- Download URL: vivo_note_cli-0.1.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25719892b58b04b72cb75d1b2d9889191c56977f82882dae0f21b1c4b4cff071
|
|
| MD5 |
2052d938cc5bfe08be6ea215407bbbb3
|
|
| BLAKE2b-256 |
20e77d6a34e499e7bf61090791f7dc18877a43a4725950b7ffd763e37931353b
|
Provenance
The following attestation bundles were made for vivo_note_cli-0.1.0.tar.gz:
Publisher:
release.yml on gobylor/vivo-note-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vivo_note_cli-0.1.0.tar.gz -
Subject digest:
25719892b58b04b72cb75d1b2d9889191c56977f82882dae0f21b1c4b4cff071 - Sigstore transparency entry: 1389525425
- Sigstore integration time:
-
Permalink:
gobylor/vivo-note-cli@6fa871487a0ac589063a7758163e868d006042cc -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gobylor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6fa871487a0ac589063a7758163e868d006042cc -
Trigger Event:
push
-
Statement type:
File details
Details for the file vivo_note_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vivo_note_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe3c72e8dfe74e85a275d6b861f398acaeeceb1c873f79438726295637fa08b3
|
|
| MD5 |
c8038d7899941bef4ec01d842424e782
|
|
| BLAKE2b-256 |
36c5f073e7f94b3a05fec947ffaa709c5d00870c42f85cb8be1c153a516153de
|
Provenance
The following attestation bundles were made for vivo_note_cli-0.1.0-py3-none-any.whl:
Publisher:
release.yml on gobylor/vivo-note-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vivo_note_cli-0.1.0-py3-none-any.whl -
Subject digest:
fe3c72e8dfe74e85a275d6b861f398acaeeceb1c873f79438726295637fa08b3 - Sigstore transparency entry: 1389525443
- Sigstore integration time:
-
Permalink:
gobylor/vivo-note-cli@6fa871487a0ac589063a7758163e868d006042cc -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/gobylor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6fa871487a0ac589063a7758163e868d006042cc -
Trigger Event:
push
-
Statement type: