inBox Sync

by maoruibin
5
4
3
2
1
Score: 35/100

Description

Category: 3rd Party Integrations

The inBox Sync plugin syncs notes from the inBox app into your vault and keeps that mirror organised as normal Markdown files. It supports WebDAV and S3 compatible storage, so the plugin can pull content from a configured remote source instead of relying on a direct local export. Sync is incremental, using ETag and modified time checks to avoid reprocessing unchanged items. It also carries over attachments such as images, videos, audio, and other files, preserves tag style like nested tags, and lets you choose the destination folder structure inside the vault.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

RequirementsExperimental

  • inBox app

  • WebDAV server or S3 compatible storage

Latest Version

Invalid date

Changelog

README file from

Github

inBox Sync for Obsidian

inBox 笔记单向同步到 Obsidian vault 的插件。

inBox 是收集箱,编辑/删除交给桌面端做。插件只读云端,不在 Obsidian 里修改云端数据。

功能

  • 单向同步(云端 → Obsidian):只下载不上传
    • inBox App 是收集端,Obsidian 是工作台
    • 在 Obsidian 里编辑/删除文档不会回传到云端
    • 不支持在 Obsidian 里新建笔记(新笔记请在 inBox App 创建)
  • 多存储后端:WebDAV / S3 兼容存储
  • 智能增量同步:仅同步有变化的笔记(基于 ETag + mtime)
  • 完整资源支持:图片、视频、录音、附件
  • 自动标签提取:支持层级标签(#tag/subtag
  • 可配置同步间隔和文件夹结构

安装

插件尚未进入 Obsidian 官方社区目录(审核排队中),目前推荐用 BRAT 安装。

方法 1:BRAT 安装(推荐)

BRAT 可以从 GitHub 仓库直接安装插件,并自动接收更新。适合尚未进入官方目录的插件。

  1. 在 Obsidian 中安装并启用 BRAT 插件(社区目录可搜到)
  2. 打开 BRAT 设置 → Add Beta plugin → 输入仓库地址:
    maoruibin/obsidian-inbox-sync
    
  3. 回到 Obsidian 设置 → 社区插件,启用 inBox Sync

之后本仓库发版,BRAT 会自动拉取更新。

方法 2:手动安装

  1. Releases 下载 main.jsmanifest.jsonstyles.css
  2. 把文件放到 Obsidian vault 的插件目录:.obsidian/plugins/inbox-sync/
  3. 在 Obsidian 设置中启用 inBox Sync

升级时需要重复上述步骤手动替换文件,所以非开发者推荐用 BRAT。

方法 3:开发模式(贡献者)

git clone https://github.com/maoruibin/obsidian-inbox-sync.git
cd obsidian-inbox-sync
npm install
npm run dev

npm run dev 会监听文件变化自动重新构建,并把产物复制到配置的 Vault 插件目录。

配置

WebDAV 配置

  1. 在设置中选择存储类型为 "WebDAV"
  2. 填写 WebDAV 服务器地址、用户名、密码
  3. 设置 inBox 数据路径(默认:/inbox/

S3 配置

  1. 在设置中选择存储类型为 "S3 Compatible"
  2. 填写 S3 端点、Access Key、Secret Key、Bucket
  3. 设置 Region 和路径前缀

同步设置

  • Vault 文件夹路径:笔记在 vault 中的存储位置(默认:inBox
  • 自动同步间隔:自动同步的时间间隔(分钟)

目录结构

同步后的目录结构会按盒子组织:

inBox/
├── notes/                          # 无盒子笔记(根目录平铺)
│   ├── 2025-04-10 note-title.md
│   └── 2025-04-11 another.md
├── 工作/                            # "工作"盒子下的笔记
│   └── project-xxx.md
├── 生活/                            # "生活"盒子下的笔记
│   └── shopping-list.md
├── assets/                          # 资源文件(所有盒子共享)
│   ├── images/
│   │   └── photo.jpg
│   ├── videos/
│   │   └── video.mp4
│   ├── audios/
│   │   └── recording.mp3
│   └── attachments/
│       └── file.pdf
└── .inbox-sync-meta.json          # 同步元数据(含盒子文件夹映射)

盒子文件夹规则:

  • 笔记的 content.box_id 在云端 boxes.json 里查得到 → 进 <盒子名>/ 子文件夹
  • 否则(无盒子 / 盒子被删墓碑) → 根目录 inBox/ 平铺
  • 用户没配盒子时,所有笔记自然都在根目录
  • 盒子重命名时,文件夹自动 rename,frontmatter box: 字段同步更新
  • 盒子删除时,文件夹内笔记移回根目录,文件夹清空
  • 资源文件统一放 assets/,不按盒子分

盒子名清洗规则: / \ : * ? " < > | 替换为 -,空名 fallback 到 box_id 短码,撞名追加 box_id 后缀。

Markdown 格式

同步后的笔记包含 YAML frontmatter:

---
title: 今日记录
inbox_id: note-abc123
created: 2025-04-10T10:30:00.000Z
updated: 2025-04-10T10:30:00.000Z
box: 工作
tags:
  - 日记/生活
  - 心情/开心
---

#日记/生活
今天天气不错 #心情/开心

![[../assets/images/2025/04/photo.jpg]]

box 字段表示笔记所属的盒子(来自云端 boxes.json),无盒子的笔记不会写这一行。

删除语义

  • 在 inBox App 删除笔记 → 云端 flags.is_removed=true → 插件下次同步时移除 Obsidian 对应文件
  • 在 Obsidian 里删文件 → 不影响云端(单向同步,Obsidian 是只读副本)

已知限制

  • 不支持在 Obsidian 里新建笔记:新建请在 inBox App 完成,插件只同步已有 noteId 的笔记
  • 不支持回传:在 Obsidian 里编辑/删除文档不会影响云端(单向同步)
  • 盒子管理:盒子的创建/重命名/删除需在 inBox App 完成(插件只读 boxes.json)

开发

# 安装依赖
npm install

# 开发模式(监听文件变化)
npm run dev

# 构建生产版本
npm run build

数据格式兼容性

本插件与 inBox Android/Flutter 版本共享数据格式:

  • XBlock:笔记数据结构
  • XTag:标签数据结构
  • XResourceInfo:资源信息结构

许可证

MIT

相关链接

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
File Cleaner
4 years ago by Johnson0907
A file cleaner plugin for Obsidian.
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
Tag Summary
4 years ago by J.D Gauchat
Alias from heading
4 years ago by Chris Basham
Obsidian plugin: Implicitly add an alias matching the first heading in a document.
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
S3 Image Uploader
4 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
O2
3 years ago by haril song
Converts obsidian markdown syntax to other platforms.
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
TagMany
3 years ago by Joshua Martius
Tag many Notes at once in Obsidian
Webdav File Explorer
3 years ago by red0orange
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
AI Tagger
2 years ago by Luca Grippa
Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization.
Note Companion Folder
2 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
S3agle
2 years ago by Turner Monroe (turnercore)
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
Consistent attachments and links
5 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Unique attachments
5 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
Cloud Storage
2 years ago by Jiajun Ma
Obsidian Cloud Storage is a powerful and user-friendly plugin designed to seamlessly integrate cloud storage capabilities into your Obsidian workflow. This plugin allows you to effortlessly upload your attachments to the cloud, freeing up local storage space and enabling easy sharing and access across all your devices.
Markdown Tags
2 years ago by John Smith III
Enhance your Markdown documents with custom tags. Use predefined or custom labels, customizable colors, and arrow indicators to visually track tasks and statuses.
Image Uploader For Note
2 years ago by Yunfi
Upload images in a note, and if the image is only used in this note, delete it from vault.
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Image Size
a year ago by Jie Zhang
Set the default size for pasted images.
Paste Image Into Property
a year ago by Nito
AI Tagger Universe
a year ago by Hu Nie
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant tags, supporting both local and cloud-based LLM services.
Attachments Cache
a year ago by luisbs
Obsidian plugin to cache attachments locally
Auto Folder Note Paste
a year ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
WebDAV Image Uploader
a year ago by ste
Uploads, downloads and deletes images on WebDAV server within Obsidian notes.
Cloud sync
a year ago by Bing
一款强大的 Obsidian 同步插件,支持将笔记自动同步到多种云盘服务,提供端到端加密保护,让您的笔记既安全又便捷。
Linked Note Exporter
a year ago by the-c0d3r
Obsidian plugin to export a note along with all its attachments and linked notes—cleanly, conveniently, and ready to share.
Nutstore Sync
8 months ago by nutstore-dev
WebDAV Explorer
5 months ago by 蓝星晓夜
WebDAV Explorer: Connect to WebDAV server, preview files directly in web view, and generate links through simple drag-and-drop.
Fast Note Sync
25 days ago by HaierKeys
Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base. - This plugin has not been manually reviewed by Obsidian staff.
Attachment Organizer
12 days ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations. - This plugin has not been manually reviewed by Obsidian staff.
Sync Engine
2 days ago by Hēsperus
The next-generation syncing plugin: Fast · Free · Extend with Modules. Supports WebDAV and S3. - This plugin has not been manually reviewed by Obsidian staff.