Skip to content

mingming-cn/siyuan-note-partition

Repository files navigation

SiYuan Note Partition

中文版

SiYuan Note Partition is a SiYuan plugin that provides workspace-like partitions without switching real SiYuan workspaces.

Project Positioning

  • Simulate workspace switching with partitions
  • Let each partition maintain its own associated notebooks
  • Control visibility by opening notebooks in the active partition and closing unrelated notebooks
  • Do not provide security isolation, encryption, or true workspace separation

Current Features

  • Create a default partition on first use and associate it with all current notebooks
  • Add, delete, and rename partitions
  • Manage partition-to-notebook associations
  • Always keep at least one partition; the last partition cannot be deleted
  • Provide a left top-bar entry showing icon + current partition name
  • Support quick switching and opening the management dialog from the top-bar menu
  • Apply notebook visibility on partition switch
  • Automatically associate newly created notebooks with the active partition

Current Boundaries

  • Only notebook filtering is supported, No path-level filtering
  • No note-level association
  • The left top-bar button is the only main entry

Tech Stack

  • TypeScript
  • Svelte 4
  • Vite 5
  • Sass
  • SiYuan Plugin API (siyuan)

Development

pnpm install
pnpm run dev

Docs

References

About

SiYuan Note Partition is a SiYuan plugin that provides workspace-like partitions without switching real SiYuan workspaces. 思源笔记分区插件,模拟工作空间功能,支持同一工作空间内不同分区展示不同笔记本。

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors