inBox Sync

by maoruibin
5
4
3
2
1
Score: 50/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

6
stars
446
downloads
1
forks
45
days
46
days
46
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
28
commits

RequirementsExperimental

  • inBox app

  • WebDAV server or S3 compatible storage

Latest Version

a month ago

Changelog

修复

  • minAppVersion 1.5.0 → 1.8.7:上版引入的 getLanguage() 需要 1.8.7+,修正 minAppVersion 以通过 no-unsupported-api 审查
  • 补上 main.ts 一处漏网的 setTimeoutwindow.setTimeout
  • versions.json 同步修正 0.1.2/0.1.3 兼容版本

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.
Nutstore Sync
10 months ago by nutstore-dev
Paste image rename
4 years ago by Reorx
Renames pasted images and all the other attachments added to the vault
Fast Note Sync
2 months ago by HaierKeys
Can be privately deployed, focusing on providing Obsidian users with a seamless, distraction-free note synchronization plugin with real-time sync across multiple platforms, supporting Mac, Windows, Android, iOS, and offering multilingual support.可私有化部署,专注为 Obsidian 用户提供无打扰、丝般顺滑、多端实时同步的多平台笔记同步插件。
Consistent attachments and links
6 years ago by Dmitry Savosh
Obsidian plugin. Move note with attachments.
Custom Attachment Location
5 years ago by RainCat1998
Customize attachment location with variables($filename, $data, etc) like typora.
File Cleaner Redux
3 years ago by husjon
A plugin for Obsidian to help clean up files in your vault
Attachment Management
3 years ago by trganda
Attachment Management of Obsidian
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
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)
Find Orphaned Images
2 months ago by josmarcristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
Sync Engine
2 months ago by Hēsperus
🔄 The fast and extensible synchronization engine for Obsidian.
YAOS
4 months ago by kavinsood
A zero-terminal, real-time sync engine powered by your own Cloudflare Worker.
File Cleaner
5 years ago by Johnson0907
A file cleaner plugin for Obsidian.
Tag Summary
4 years ago by J.D Gauchat
AI Tagger Universe
2 years 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.
AI Tagger
3 years ago by Luca Grippa
Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization.
Unique attachments
6 years ago by Dmitry Savosh
Obsidian plugin. Renames attachments, making their names unique.
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
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.
Advanced Note Mover
2 months ago by Lars Bücker
Quickly and easily move notes to predefined folders. Perfect for organizing your notes.
Google Keep Import
3 years ago by Dale de Silva
Imports Google Keep backup files
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.
Image Manager
a month ago by David V. Kimball
Insert, rename, and sort external images by transforming them into local files within your notes.
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.
Insert Multiple Attachments
2 years ago by mnaoumov
Obsidian Plugin that allows to insert multiple attachments at a time
TagMany
3 years ago by Joshua Martius
Tag many Notes at once in Obsidian
Alias from heading
4 years ago by Chris Basham
Obsidian plugin: Implicitly add an alias matching the first heading in a document.
Webdav File Explorer
3 years ago by red0orange
O2
4 years ago by haril song
Converts obsidian markdown syntax to other platforms.
Bi Ji Tong Bu
a month ago by 笔记同步助手
Bi Ji Tong Bu (笔记同步助手) for Obsidian — marketplace edition (no self-update; full disclosures)
S3 attachments storage
4 years ago by TechTheAwesome
An Obsidian plugin for storage and retrieval of media attachments on S3 compatible services.
Image Size
2 years ago by Jie Zhang
Set the default size for pasted images.
Attachment Uploader
2 months ago by zhuxining
An attachment uploader plugin for Obsidian
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.
Local Any Files
2 years ago by ShermanTsang
A obsidian plugin used to extract and download files in your obsidian note.
Note Companion Folder
3 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Cloud sync
a year ago by Bing
一款强大的 Obsidian 同步插件,支持将笔记自动同步到多种云盘服务,提供端到端加密保护,让您的笔记既安全又便捷。
Paste Image Into Property
2 years ago by Nito
Attachment Organizer
2 months ago by kiteruunner
Automatically organize attachments into zone-based folders with conflict detection and batch operations
WebDAV Image Uploader
a year ago by ste
Uploads, downloads and deletes images on WebDAV server within Obsidian notes.
S3agle
2 years ago by Turner Monroe (turnercore)
Auto Folder Note Paste
a year ago by d7sd6u
Convert your note into folder note upon pasting or drag'n'dropping an attachment
Attachments Cache
2 years ago by luisbs
Obsidian plugin to cache attachments locally
Infostacker Note Publish
2 years ago by Taskscape LTD, Patryk Nowak, Kacper Pabianiak
Infostacker plugin for Obisidian
WebDAV Explorer
6 months ago by 蓝星晓夜
WebDAV Server Explorer.
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.
PixNote
a month ago by Sofia Milton
Feishu Importer
16 days ago by leon
feishu document importer for Obsidian
Add Attachment
11 days ago by olegg90
Obsidian plugin for adding multi attachments