Skip to content

TagSpaces is an offline, open source, document manager with tagging support

2.5 KB
Raw Blame
// 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;

// 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"
//     }
//   ]