Skip to content

Commit 28bd636

Browse files
committed
1
1 parent 1cb7676 commit 28bd636

34 files changed

Lines changed: 121 additions & 91 deletions

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can batch download images from notes on both computer and mobile devices, ba
1414

1515
## Plugin Features:
1616
- **Batch download** online images in notes to local
17-
- **Batch upload** local images in notes to remote services ([Image Api Gateway](https://github.com/haierkeys/obsidian-image-api-gateway))
17+
- **Batch upload** local images in notes to remote services ([Custom Image Gateway](https://github.com/haierkeys/custom-image-gateway))
1818
- Drag and drop, paste images to upload
1919
- Batch save images in notes to **remote server**, such as your web server or home NAS, and save them in WebDAV server.
2020
- Batch save images in notes to cloud storage, such as Alibaba Cloud OSS, Amazon S3, Cloudflare R2.
@@ -35,13 +35,13 @@ If you find this plugin useful and want to support its continued development, yo
3535

3636
1. Install the plugin
3737
Open the OBSidian community plugin market, search **Custom Image Auto Uploader** for installation
38-
2. Open plugin settings, set **Upload Settings** > **API Gateway Address** to your **Image Api Gateway** address,
38+
2. Open plugin settings, set **Upload Settings** > **API Gateway Address** to your **Custom Image Gateway** address,
3939
e.g., `http://127.0.0.1:9000/api/upload`
4040
3. Set **API Access Token**.
41-
4. Start **Image Api Gateway** service on remote server.
41+
4. Start **Custom Image Gateway** service on remote server.
4242
5. Create a note and copy an image to check if the upload is successful.
4343

4444
## Upload Image API Setup
4545

46-
This plugin requires configuring **Image Api Gateway** to complete the upload work.
47-
**Image Api Gateway** is a free tool, for deployment and usage, please refer to [https://github.com/haierkeys/obsidian-image-api-gateway](https://github.com/haierkeys/obsidian-image-api-gateway).
46+
This plugin requires configuring **Custom Image Gateway** to complete the upload work.
47+
**Custom Image Gateway** is a free tool, for deployment and usage, please refer to [https://github.com/haierkeys/custom-image-gateway](https://github.com/haierkeys/custom-image-gateway).

readme-zh.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## 插件功能:
1616
- **批量下载**笔记内网络图片到本地
17-
- **批量上传**笔记中本地图片到远端服务 ( [ Image Api Gateway](https://github.com/haierkeys/obsidian-image-api-gateway) )
17+
- **批量上传**笔记中本地图片到远端服务 ( [ Custom Image Gateway](https://github.com/haierkeys/custom-image-gateway) )
1818
- 拖拽,粘贴 上传图片
1919
- 批量将笔记内图片保存到 **远端服务器**,例如您的 Web 服务器或家庭 NAS,以及保存在WebDAV服务器内。
2020
- 批量将笔记内图片保存到云存储内,例如阿里云 OSS、亚马逊 S3、Cloudflare R2。
@@ -35,16 +35,13 @@
3535

3636
1. 安装插件
3737
打开 OBSidian 社区插件市场, 搜索 **Custom Image Auto Uploader** 安装
38-
2. 打开插件配置项,将 **上传设置** > **API 网关地址** 设置为您的 **Image Api Gateway** 地址,
38+
2. 打开插件配置项,将 **上传设置** > **API 网关地址** 设置为您的 **Custom Image Gateway** 地址,
3939
例如: `http://127.0.0.1:9000/api/upload`
4040
3. 设置 **API 访问令牌**
41-
4. 在远端服务启动 **Image Api Gateway** 服务。
41+
4. 在远端服务启动 **Custom Image Gateway** 服务。
4242
5. 创建一个笔记,并复制一个图片检查是否上传成功。
4343

4444
## 上传图片 API 搭建
4545

46-
此插件需要 配置 **Image Api Gateway** 才能完成上传工作。
47-
**Image Api Gateway** 为免费工具, 部署使用请参考 [https://github.com/haierkeys/obsidian-image-api-gateway](https://github.com/haierkeys/obsidian-image-api-gateway)
48-
49-
50-
46+
此插件需要 配置 **Custom Image Gateway** 才能完成上传工作。
47+
**Custom Image Gateway** 为免费工具, 部署使用请参考 [https://github.com/haierkeys/custom-image-gateway](https://github.com/haierkeys/custom-image-gateway)

src/lang/locale/ar.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
//main
56
"下载全部图片": "تحميل جميع الصور",
@@ -29,11 +30,11 @@ export default <lang>{
2930
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "عناوين الصور في قائمة الاستبعاد لن يتم تنزيلها. سطر واحد لكل نطاق، يدعم الرموز البديلة *",
3031
"上传": "رفع",
3132
"API 网关地址": "عنوان بوابة API",
32-
"Image API Gateway 地址": "عنوان بوابة API للصور",
33+
"Custom Image Gateway 地址": "عنوان بوابة API للصور",
3334
"API 访问令牌": "رمز الوصول إلى API",
3435
"用于访问API的令牌": "رمز للوصول إلى API",
3536
"输入您的 API 访问令牌": "أدخل رمز الوصول إلى API الخاص بك",
36-
"输入您的 Image API Gateway 地址": "إعداد خدمة API",
37+
"输入您的 Custom Image Gateway 地址": "إعداد خدمة API",
3738
"项目地址": "عنوان المشروع",
3839
"是否上传后删除原图片": "هل يجب حذف الصورة الأصلية بعد الرفع؟",
3940
"在图片上传后是否删除本地原图片": "هل يجب حذف الصورة الأصلية محليًا بعد الرفع؟",

src/lang/locale/be.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
//main
56
"下载全部图片": "Спампаваць усе выявы",
@@ -28,11 +29,11 @@ export default <lang>{
2829
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Адрасы выяў у спісе выключэнняў не будуць загружаныя. Па адным дамене на радок, падтрымлівае выкарыстанне шаблона *",
2930
"上传": "Загрузіць",
3031
"API 网关地址": "Адрас API",
31-
"Image API Gateway 地址": "Адрас шлюзу API выявы",
32+
"Custom Image Gateway 地址": "Адрас шлюзу API выявы",
3233
"API 访问令牌": "Токен доступу API",
3334
"用于访问API的令牌": "Токен для доступу да API",
3435
"输入您的 API 访问令牌": "Увядзіце ваш токен доступу да API",
35-
"输入您的 Image API Gateway 地址": "Наладзіць API сэрвіс",
36+
"输入您的 Custom Image Gateway 地址": "Наладзіць API сэрвіс",
3637
"项目地址": "Адрас праекта",
3738
"是否上传后删除原图片": "Ці трэба выдаліць арыгінальную выяву пасля загрузкі?",
3839
"在图片上传后是否删除本地原图片": "Ці трэба выдаліць арыгінальную выяву лакальна пасля загрузкі?",

src/lang/locale/ca.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
//main
56
"下载全部图片": "Descarregar totes les imatges",
@@ -28,11 +29,11 @@ export default <lang>{
2829
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Les adreces d'imatges a la llista d'exclusió no seran descarregades. Un domini per línia, suporta el comodí *",
2930
"上传": "Pujar",
3031
"API 网关地址": "Adreça de l'API",
31-
"Image API Gateway 地址": "Adreça del portal API d'imatges",
32+
"Custom Image Gateway 地址": "Adreça del portal API d'imatges",
3233
"API 访问令牌": "Token d'accés API",
3334
"用于访问API的令牌": "Token per accedir a l'API",
3435
"输入您的 API 访问令牌": "Introdueix el teu token d'accés a l'API",
35-
"输入您的 Image API Gateway 地址": "Configuració del servei API",
36+
"输入您的 Custom Image Gateway 地址": "Configuració del servei API",
3637
"项目地址": "Adreça del projecte",
3738
"是否上传后删除原图片": "Esborrar la imatge original després de pujar-la?",
3839
"在图片上传后是否删除本地原图片": "Esborrar la imatge original local després de pujar-la?",

src/lang/locale/da.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
//main
56
"下载全部图片": "Hent alle billeder",
@@ -28,11 +29,11 @@ export default <lang>{
2829
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Billedadresser på udelukkelseslisten vil ikke blive downloadet. Ét domæne pr. linje, understøtter * wildcard",
2930
"上传": "Upload",
3031
"API 网关地址": "API-adresse",
31-
"Image API Gateway 地址": "Billede API Gateway adresse",
32+
"Custom Image Gateway 地址": "Billede API Gateway adresse",
3233
"API 访问令牌": "API adgangstoken",
3334
"用于访问API的令牌": "Token til at få adgang til API",
3435
"输入您的 API 访问令牌": "Indtast dit API adgangstoken",
35-
"输入您的 Image API Gateway 地址": "Opsætning af API-tjeneste",
36+
"输入您的 Custom Image Gateway 地址": "Opsætning af API-tjeneste",
3637
"项目地址": "Projektadresse",
3738
"是否上传后删除原图片": "Slette originalbilledet efter upload?",
3839
"在图片上传后是否删除本地原图片": "Slette originalbilledet lokalt efter upload?",

src/lang/locale/de.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
//main
56
"下载全部图片": "Alle Bilder herunterladen",
@@ -28,11 +29,11 @@ export default <lang>{
2829
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Bilderadressen in der Ausschlussliste werden nicht heruntergeladen. Ein Domain pro Zeile, unterstützt den Platzhalter *",
2930
"上传": "Hochladen",
3031
"API 网关地址": "API-Adresse",
31-
"Image API Gateway 地址": "Bild-API-Gateway-Adresse",
32+
"Custom Image Gateway 地址": "Bild-API-Gateway-Adresse",
3233
"API 访问令牌": "API-Zugangstoken",
3334
"用于访问API的令牌": "Token zum Zugriff auf die API",
3435
"输入您的 API 访问令牌": "Geben Sie Ihr API-Zugangstoken ein",
35-
"输入您的 Image API Gateway 地址": "API-Dienst konfigurieren",
36+
"输入您的 Custom Image Gateway 地址": "API-Dienst konfigurieren",
3637
"项目地址": "Projektadresse",
3738
"是否上传后删除原图片": "Originalbild nach dem Hochladen löschen?",
3839
"在图片上传后是否删除本地原图片": "Originalbild lokal nach dem Hochladen löschen?",

src/lang/locale/en.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
"Custom Image Auto Uploader": "Custom Image Auto Uploader",
56
"已开启": "Enabled",
@@ -35,11 +36,11 @@ export default <lang>{
3536
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Image addresses in the exclusion list will not be downloaded, one domain per line, supports * wildcard",
3637
"上传": "Upload",
3738
"API 网关地址": "API gateway address",
38-
"Image API Gateway 地址": "Image API Gateway address",
39+
"Custom Image Gateway 地址": "Custom Image Gateway address",
3940
"API 访问令牌": "API access token",
4041
"用于访问API的令牌": "Token used to access the API",
4142
"输入您的 API 访问令牌": "Enter your API access token",
42-
"输入您的 Image API Gateway 地址": "Enter your Image API Gateway address",
43+
"输入您的 Custom Image Gateway 地址": "Enter your Custom Image Gateway address",
4344

4445
"接口配置信息已经粘贴到设置中!": "Interface configuration information has been pasted into the settings!",
4546
"网关服务选择": "Gateway service selection",

src/lang/locale/es.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
//main
56
"下载全部图片": "Descargar todas las imágenes",
@@ -28,11 +29,11 @@ export default <lang>{
2829
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Las direcciones de imágenes en la lista de exclusión no serán descargadas. Un dominio por línea, soporta el comodín *",
2930
"上传": "Subir",
3031
"API 网关地址": "Dirección de la API",
31-
"Image API Gateway 地址": "Dirección del portal de la API de imágenes",
32+
"Custom Image Gateway 地址": "Dirección del portal de la API de imágenes",
3233
"API 访问令牌": "Token de acceso API",
3334
"用于访问API的令牌": "Token para acceder a la API",
3435
"输入您的 API 访问令牌": "Introduce tu token de acceso a la API",
35-
"输入您的 Image API Gateway 地址": "Configuración del servicio API",
36+
"输入您的 Custom Image Gateway 地址": "Configuración del servicio API",
3637
"项目地址": "Dirección del proyecto",
3738
"是否上传后删除原图片": "¿Eliminar la imagen original después de subirla?",
3839
"在图片上传后是否删除本地原图片": "¿Eliminar la imagen original local después de subirla?",

src/lang/locale/fr.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { lang } from "../../lang";
22

3+
34
export default <lang>{
45
"Custom Image Auto Uploader": "Custom Image Auto Uploader",
56
"已开启": "Activé",
@@ -33,11 +34,11 @@ export default <lang>{
3334
"在排除名单内的图片地址不会被下载,一行一个域名,支持 * 通配符": "Les adresses des images dans la liste d'exclusion ne seront pas téléchargées. Un domaine par ligne, supporte le caractère générique *",
3435
"上传": "Téléverser",
3536
"API 网关地址": "Adresse de l'API",
36-
"Image API Gateway 地址": "Adresse du portail API d'image",
37+
"Custom Image Gateway 地址": "Adresse du portail API d'image",
3738
"API 访问令牌": "Jeton d'accès API",
3839
"用于访问API的令牌": "Jeton pour accéder à l'API",
3940
"输入您的 API 访问令牌": "Entrez votre jeton d'accès API",
40-
"输入您的 Image API Gateway 地址": "Configuration du service API",
41+
"输入您的 Custom Image Gateway 地址": "Configuration du service API",
4142
"项目地址": "Adresse du projet",
4243
"是否上传后删除原图片": "Supprimer l'image originale après le téléversement ?",
4344
"在图片上传后是否删除本地原图片": "Supprimer l'image originale locale après le téléversement ?",

0 commit comments

Comments
 (0)