TagSpaces is an offline, open source, document manager with tagging support
chore: added default extconfig.js
Ilian Sapundshiev631da466f300
diff --git a/.gitignore b/.gitignoreindex 79a36fc2e..a948bd6ad 100644--- a/.gitignore+++ b/.gitignore@@ -90,6 +90,7 @@ src/main/configsrc/renderer/extconfig*public/extconfig*web/extconfig*+!web/extconfig.js!web/extconfig.tmpl.jscordova/www/extconfig.jsdiff --git a/web/extconfig.js b/web/extconfig.jsnew file mode 100755index 000000000..82947d529--- /dev/null+++ b/web/extconfig.js@@ -0,0 +1,4 @@+// Options available in extconfig.js are documented here: https://docs.tagspaces.org/dev/external-config++// Uncomment the following line to enable saving the location data in the browser's local storage+// window.ExtSaveLocationsInBrowser = true;diff --git a/web/extconfig.tmpl.js b/web/extconfig.tmpl.jsindex 82947d529..7ae428ffa 100755--- a/web/extconfig.tmpl.js+++ b/web/extconfig.tmpl.js@@ -2,3 +2,83 @@// Uncomment the following line to enable saving the location data in the browser's local storage// window.ExtSaveLocationsInBrowser = true;++// Uncomment the next section to get a custom tag library+// window.ExtTagLibrary = [+// {+// uuid: "17882854-44a7-4b2d-a2b1-b022846ac41d",+// title: "Common Tags",+// color: "#008000",+// textcolor: "#ffffff",+// children: [+// {+// type: "plain",+// title: "book",+// description: "",+// color: "#008000",+// textcolor: "#ffffff",+// },+// {+// type: "plain",+// title: "article",+// description: "",+// color: "#008000",+// textcolor: "#ffffff",+// },+// ],+// },+// {+// uuid: "e21711da-ee78-4c83-bae3-e0007fe426a3",+// title: "Priorities",+// color: "#008000",+// textcolor: "#ffffff",+// children: [+// {+// type: "plain",+// title: "high",+// description: "",+// color: "#ff7537",+// textcolor: "#ffffff",+// }+// ],+// },+// ];++// Uncomment the following section to get two pre-configured locations+// window.ExtLocations = [+// {+// "uuid": "some-uuid",+// "name": "CloudflareR2 Location",+// "type": "1",+// "path": "",+// "creationDate": 1720772062210,+// "lastEditedDate": 1726821791168,+// "isDefault": false,+// "isReadOnly": false,+// "disableIndexing": false,+// "disableThumbnailGeneration": false,+// "fullTextIndex": false,+// "accessKeyId": "your access key",+// "secretAccessKey": "your secret key",+// "bucketName": "your bucket name",+// "region": "",+// "endpointURL": "https://your-cloudflare-instance.eu.r2.cloudflarestorage.com"+// },+// {+// "uuid": "some-other-uuid",+// "name": "S3Proxy Location",+// "type": "1",+// "path": "",+// "creationDate": "2023-11-14T11:27:57.356Z",+// "lastEditedDate": 1726821791168,+// "isDefault": false,+// "isReadOnly": false,+// "disableIndexing": false,+// "fullTextIndex": false,+// "accessKeyId": "your access key",+// "secretAccessKey": "your secret key",+// "bucketName": "your bucket name",+// "region": "",+// "endpointURL": "http://192.168.0.78:8000"+// }+// ]\ No newline at end of file