Skip to content

Obsidian plugin to configure vocabulary file path for Pot-App integration

License

Notifications You must be signed in to change notification settings

MaolinSun32/obsidian-pot2obsidian-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pot2Obsidian (Obsidian Plugin)

Obsidian 插件,用于配置 Pot-App 生词本的保存路径。

功能

  • 设置生词本文件名和路径
  • 自动写入共享配置文件,供 Pot-App 插件读取
  • 一键创建生词本文件

安装

手动安装

  1. 下载 Release 中的 main.jsmanifest.jsonstyles.css
  2. 在 Obsidian 的 .obsidian/plugins/ 目录下创建 pot2obsidian 文件夹
  3. 将下载的文件复制到该文件夹
  4. 重启 Obsidian
  5. 在设置 → 第三方插件中启用 Pot2Obsidian

配置

在插件设置中:

  1. Vocabulary file name: 生词本文件名(默认 flashcards.md
  2. Folder path: 相对于 Vault 根目录的文件夹路径(可选)

工作原理

插件会将配置写入 ~/.pot2obsidian/config.json

{
  "file_path": "D:\\Obsidian Vaults\\MyVault\\flashcards.md",
  "vault_path": "D:\\Obsidian Vaults\\MyVault",
  "file_name": "flashcards.md",
  "relative_path": ""
}

Pot-App 的 Pot2Obsidian 插件会读取此配置文件,自动获取生词本路径。

配套使用

  1. 安装此 Obsidian 插件,配置生词本路径
  2. 安装 Pot-App Pot2Obsidian 插件
  3. 在 Pot-App 中翻译并收藏,生词自动保存到 Obsidian

相关项目

许可证

GPL-3.0

About

Obsidian plugin to configure vocabulary file path for Pot-App integration

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors