mirror of
https://github.com/xheldon/git-folder-sync.git
synced 2026-07-22 06:59:00 +00:00
change some text
This commit is contained in:
parent
3529d9080b
commit
d948d026eb
6 changed files with 13 additions and 2749 deletions
|
|
@ -20,7 +20,7 @@ An Obsidian plugin that supports synchronization with GitHub repositories, built
|
|||
### Manual Installation
|
||||
|
||||
1. Download the latest release files
|
||||
2. Extract files to your Obsidian plugins directory: `{vault}/.obsidian/plugins/git-sync/`
|
||||
2. Extract files to your Obsidian plugins directory: `{vault}/.obsidian/plugins/git-folder-sync/`
|
||||
3. Restart Obsidian
|
||||
4. Enable the "Git Sync" plugin in settings
|
||||
|
||||
|
|
@ -30,8 +30,8 @@ An Obsidian plugin that supports synchronization with GitHub repositories, built
|
|||
|
||||
```bash
|
||||
cd {vault}/.obsidian/plugins/
|
||||
git clone https://github.com/yourusername/obsidian-git-sync git-sync
|
||||
cd git-sync
|
||||
git clone https://github.com/Xheldon/git-folder-sync git-folder-sync
|
||||
cd git-folder-ync
|
||||
```
|
||||
|
||||
2. Install dependencies:
|
||||
|
|
@ -72,7 +72,7 @@ Repository path formats:
|
|||
|
||||
Examples:
|
||||
|
||||
- `https://github.com/Xheldon/git-sync/data/_post`
|
||||
- `https://github.com/Xheldon/git-folder-sync/data/_post`
|
||||
- `username/notes/obsidian-vault`
|
||||
|
||||
### 3. Image Processing Configuration (Optional)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
### 手动安装
|
||||
|
||||
1. 下载最新的 release 文件
|
||||
2. 将文件解压到你的 Obsidian 插件目录:`{vault}/.obsidian/plugins/git-sync/`
|
||||
2. 将文件解压到你的 Obsidian 插件目录:`{vault}/.obsidian/plugins/git-folder-sync/`
|
||||
3. 重启 Obsidian
|
||||
4. 在设置中启用"Git Sync"插件
|
||||
|
||||
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
```bash
|
||||
cd {vault}/.obsidian/plugins/
|
||||
git clone https://github.com/yourusername/obsidian-git-sync git-sync
|
||||
cd git-sync
|
||||
git clone https://github.com/Xheldon/git-folder-sync git-folder-sync
|
||||
cd git-folder-sync
|
||||
```
|
||||
|
||||
2. 安装依赖:
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
示例:
|
||||
|
||||
- `https://github.com/Xheldon/git-sync/data/_post`
|
||||
- `https://github.com/Xheldon/git-folder-sync/data/_post`
|
||||
- `username/notes/obsidian-vault`
|
||||
|
||||
### 3. 图片处理配置(可选)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const translations = {
|
|||
'settings.github.token.placeholder': 'ghp_xxxxxxxxxxxx',
|
||||
'settings.github.repo.name': 'GitHub仓库路径',
|
||||
'settings.github.repo.desc': '支持两种格式:\n1. https://github.com/用户名/仓库名/路径\n2. 用户名/仓库名/路径',
|
||||
'settings.github.repo.placeholder': 'https://github.com/Xheldon/git-sync/data/_post',
|
||||
'settings.github.repo.placeholder': 'https://github.com/Xheldon/git-folder-sync/data/_post',
|
||||
'settings.ribbon.name': '将插件按钮显示在侧边栏',
|
||||
'settings.ribbon.desc': '开启后,在左侧边栏显示插件按钮,点击可快速打开设置界面',
|
||||
'settings.save.name': '保存设置',
|
||||
|
|
@ -218,7 +218,7 @@ const translations = {
|
|||
'settings.github.token.placeholder': 'ghp_xxxxxxxxxxxx',
|
||||
'settings.github.repo.name': 'GitHub Repository Path',
|
||||
'settings.github.repo.desc': 'Supports two formats:\n1. https://github.com/username/repo/path\n2. username/repo/path',
|
||||
'settings.github.repo.placeholder': 'https://github.com/Xheldon/git-sync/data/_post',
|
||||
'settings.github.repo.placeholder': 'https://github.com/Xheldon/git-folder-sync/data/_post',
|
||||
'settings.ribbon.name': 'Show plugin button in sidebar',
|
||||
'settings.ribbon.desc': 'When enabled, display plugin button in left sidebar for quick access to settings',
|
||||
'settings.save.name': 'Save Settings',
|
||||
|
|
|
|||
4
main.js
4
main.js
|
|
@ -343,7 +343,7 @@ var init_i18n_simple = __esm({
|
|||
"settings.github.token.placeholder": "ghp_xxxxxxxxxxxx",
|
||||
"settings.github.repo.name": "GitHub\u4ED3\u5E93\u8DEF\u5F84",
|
||||
"settings.github.repo.desc": "\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A\n1. https://github.com/\u7528\u6237\u540D/\u4ED3\u5E93\u540D/\u8DEF\u5F84\n2. \u7528\u6237\u540D/\u4ED3\u5E93\u540D/\u8DEF\u5F84",
|
||||
"settings.github.repo.placeholder": "https://github.com/Xheldon/git-sync/data/_post",
|
||||
"settings.github.repo.placeholder": "https://github.com/Xheldon/git-folder-sync/data/_post",
|
||||
"settings.ribbon.name": "\u5C06\u63D2\u4EF6\u6309\u94AE\u663E\u793A\u5728\u4FA7\u8FB9\u680F",
|
||||
"settings.ribbon.desc": "\u5F00\u542F\u540E\uFF0C\u5728\u5DE6\u4FA7\u8FB9\u680F\u663E\u793A\u63D2\u4EF6\u6309\u94AE\uFF0C\u70B9\u51FB\u53EF\u5FEB\u901F\u6253\u5F00\u8BBE\u7F6E\u754C\u9762",
|
||||
"settings.save.name": "\u4FDD\u5B58\u8BBE\u7F6E",
|
||||
|
|
@ -535,7 +535,7 @@ var init_i18n_simple = __esm({
|
|||
"settings.github.token.placeholder": "ghp_xxxxxxxxxxxx",
|
||||
"settings.github.repo.name": "GitHub Repository Path",
|
||||
"settings.github.repo.desc": "Supports two formats:\n1. https://github.com/username/repo/path\n2. username/repo/path",
|
||||
"settings.github.repo.placeholder": "https://github.com/Xheldon/git-sync/data/_post",
|
||||
"settings.github.repo.placeholder": "https://github.com/Xheldon/git-folder-sync/data/_post",
|
||||
"settings.ribbon.name": "Show plugin button in sidebar",
|
||||
"settings.ribbon.desc": "When enabled, display plugin button in left sidebar for quick access to settings",
|
||||
"settings.save.name": "Save Settings",
|
||||
|
|
|
|||
2736
package-lock.json
generated
2736
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "git-sync",
|
||||
"name": "git-folder-sync",
|
||||
"version": "1.0.0",
|
||||
"description": "Synchronize files in your Obsidian Vault with a specified directory in the designated GitHub repository (rather than the entire repository); send your images to cloud storage services.",
|
||||
"main": "main.js",
|
||||
|
|
|
|||
Loading…
Reference in a new issue