Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12d09a30ef | ||
|
|
3fdc443ecf | ||
|
|
0700af855d | ||
|
|
d3b81ca3dc | ||
|
|
2a572fb1bd | ||
|
|
76f90ea375 | ||
|
|
d753617628 | ||
|
|
69c9686ce8 | ||
|
|
b3e3022751 |
+20
-17
@@ -1,17 +1,20 @@
|
||||
# Intellij
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# npm
|
||||
node_modules
|
||||
package-lock.json
|
||||
|
||||
# build
|
||||
main.js
|
||||
*.js.map
|
||||
|
||||
# obsidian
|
||||
data.json
|
||||
|
||||
# hidden files
|
||||
.*
|
||||
# Intellij
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# npm
|
||||
node_modules
|
||||
package-lock.json
|
||||
|
||||
# build
|
||||
main.js
|
||||
*.js.map
|
||||
|
||||
# obsidian
|
||||
data.json
|
||||
|
||||
# debug
|
||||
logs.txt
|
||||
|
||||
# hidden files
|
||||
.*
|
||||
|
||||
@@ -36,7 +36,7 @@ As of November 2021, the plugin is considered in BETA stage. **DO NOT USE IT for
|
||||
## Usage
|
||||
|
||||
- Prepare your S3 (-compatible) service information: [endpoint, region](https://docs.aws.amazon.com/general/latest/gr/s3.html), [access key id, secret access key](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/getting-your-credentials.html), bucket name. The bucket should be empty and solely for syncing a vault.
|
||||
- Configure (enable) [CORS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html) for requests from `app://obsidian.md`. It's unfortunately required, because the plugin sends requests from a browser-like envirement.
|
||||
- Configure (enable) [CORS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enabling-cors-examples.html) for requests from `app://obsidian.md` and `capacitor://localhost` and `http://localhost`. It's unfortunately required, because the plugin sends requests from a browser-like envirement. And those addresses are tested and found on desktop and ios and android.
|
||||
- Download and enable this plugin.
|
||||
- Enter your infomation to the settings of this plugin.
|
||||
- If you want to enable end-to-end encryption, also set a password in settings. If you do not specify a password, the files and folders are synced in plain, original content to the cloud.
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "obsidian-remotely-Save",
|
||||
"id": "obsidian-remotely-save",
|
||||
"name": "Remotely Save",
|
||||
"version": "0.0.16",
|
||||
"version": "0.1.3",
|
||||
"minAppVersion": "0.12.15",
|
||||
"description": "Yet another unofficial plugin allowing users to sync notes between local device and the cloud service.",
|
||||
"author": "fyears",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "obsidian-remotely-save",
|
||||
"version": "0.0.16",
|
||||
"version": "0.1.3",
|
||||
"description": "This is yet another sync plugin for Obsidian app.",
|
||||
"scripts": {
|
||||
"dev": "webpack --mode development --watch",
|
||||
|
||||
+5
-5
@@ -150,10 +150,10 @@ export default class RemotelySavePlugin extends Plugin {
|
||||
|
||||
this.addSettingTab(new RemotelySaveSettingTab(this.app, this));
|
||||
|
||||
this.registerCodeMirror((cm: CodeMirror.Editor) => {
|
||||
this.cm = cm;
|
||||
console.log("codemirror registered.");
|
||||
});
|
||||
// this.registerCodeMirror((cm: CodeMirror.Editor) => {
|
||||
// this.cm = cm;
|
||||
// console.log("codemirror registered.");
|
||||
// });
|
||||
|
||||
// this.registerDomEvent(document, "click", (evt: MouseEvent) => {
|
||||
// console.log("click", evt);
|
||||
@@ -272,7 +272,7 @@ class RemotelySaveSettingTab extends PluginSettingTab {
|
||||
});
|
||||
|
||||
s3Div.createEl("p", {
|
||||
text: "You need to configure CORS to allow requests from origin app://obsidian.md",
|
||||
text: "You need to configure CORS to allow requests from origin app://obsidian.md and capacitor://localhost and http://localhost",
|
||||
});
|
||||
|
||||
s3Div.createEl("p", {
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"0.0.16": "0.12.15"
|
||||
"0.1.3": "0.12.15"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user