From c1b3de01a821210e39df1b2af77828cdba6efca3 Mon Sep 17 00:00:00 2001 From: Polaris Date: Thu, 29 Aug 2024 12:10:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CopyReplace/config.ini | 3 ++- README.md | 19 +++++++++++++++++++ README_en.md | 21 +++++++++++++++++++++ config.ini | 3 ++- dist/config.ini | 1 + 5 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 README_en.md diff --git a/CopyReplace/config.ini b/CopyReplace/config.ini index 34b90a9..f63647e 100644 --- a/CopyReplace/config.ini +++ b/CopyReplace/config.ini @@ -2,5 +2,6 @@ [Settings] +#replace_url = "https://polaris-f.github.io/Link2Zotero/#zotero://" replace_url = "https://flaribbit.github.io/zotero-link/#zotero://" -icon_path = "D:\Github\Tools\Link2Zotero\CopyReplace\Link2Zotero_2.ico" +icon_path = "D:/Github/Tools/Link2Zotero/dist/Link2Zotero_2.ico" diff --git a/README.md b/README.md index dc1880f..8d19dce 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,17 @@ ## 介绍 +已经有[Notero](https://github.com/dvanoni/notero)实现了从Zotero向Notion的文献条目数据同步与笔记同步,但是不幸的是,该repo无法实现从Zotero向其他兼容Markdown语法的软件的笔记同步,以及无法实现笔记的反向链接功能(也就是从笔记跳转到Zotero的文献条目甚至是pdf里面的标注)。 +本Repo目的是实现从Zotero向其他兼容Markdown语法的软件的笔记复制后,具备从笔记跳转回Zotero的特定位置的能力,也就是实现笔记的反向链接功能。 + +![alt text](63af2220f943cf705efa3b13f01f72a.png) + + + +## 安装已编译版本 + +下载对应版本的[压缩包](https://github.com/Link2Zotero/Link2Zotero/releases),解压后双击运行 `Link2Zotero.exe` 即可。 ## 手动编译方法 ```bash @@ -10,3 +20,12 @@ cd path/to/Link2Zotero pyinstaller --onefile --icon=Link2Zotero_2.ico --noconsole .\CopyReplace\main.py ``` +## 使用说明 + +运行Link2Zotero.exe后,程序可自动监听剪切板,当检测到已复制Zotero笔记后,会自动更新文本使其具备全局跳转功能,(右下角会提示可跳转链个数)直接粘贴至笔记即可。 +笔记支持 Notion Typora Obsidian等兼容Markdown语法的软件。 + + +## 参考 +[notero](https://github.com/dvanoni/notero) +[zotero-link](https://github.com/flaribbit/zotero-link) \ No newline at end of file diff --git a/README_en.md b/README_en.md new file mode 100644 index 0000000..9ed6233 --- /dev/null +++ b/README_en.md @@ -0,0 +1,21 @@ +## Introduction +There is already Notero that implements the synchronization of literature entry data and notes from Zotero to Notion. Unfortunately, this repository cannot sync notes from Zotero to other software compatible with Markdown syntax, nor can it implement the backlink feature for notes (jumping from notes back to specific locations in Zotero entries or even annotations in PDFs). + +The purpose of this repository is to enable the copying of notes from Zotero to other software compatible with Markdown syntax, with the capability to jump back to specific locations in Zotero, thus implementing the backlink feature for notes. + + + +## Installation of Compiled Version +Download the corresponding version's compressed package, unzip it, and double-click Link2Zotero.exe to run. + +## Manual Compilation Method +```bash +cd path/to/Link2Zotero +pyinstaller --onefile --icon=Link2Zotero_2.ico --noconsole .\CopyReplace\main.py +``` + + +## Usage Instructions +After running Link2Zotero.exe, the program will automatically monitor the clipboard. When it detects that a Zotero note has been copied, it will automatically update the text to include global jump functionality (a notification will appear in the bottom right corner indicating the number of jumpable links). Simply paste the text into your notes. Notes are supported in software such as Notion, Typora, Obsidian, and other Markdown-compatible applications. + +## References \ No newline at end of file diff --git a/config.ini b/config.ini index 34b90a9..f63647e 100644 --- a/config.ini +++ b/config.ini @@ -2,5 +2,6 @@ [Settings] +#replace_url = "https://polaris-f.github.io/Link2Zotero/#zotero://" replace_url = "https://flaribbit.github.io/zotero-link/#zotero://" -icon_path = "D:\Github\Tools\Link2Zotero\CopyReplace\Link2Zotero_2.ico" +icon_path = "D:/Github/Tools/Link2Zotero/dist/Link2Zotero_2.ico" diff --git a/dist/config.ini b/dist/config.ini index 4022d34..f63647e 100644 --- a/dist/config.ini +++ b/dist/config.ini @@ -2,5 +2,6 @@ [Settings] +#replace_url = "https://polaris-f.github.io/Link2Zotero/#zotero://" replace_url = "https://flaribbit.github.io/zotero-link/#zotero://" icon_path = "D:/Github/Tools/Link2Zotero/dist/Link2Zotero_2.ico"