diff --git a/README.md b/README.md index 8e2a445..c7e7a98 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,24 @@ -## Phone to Roam to Obsidian +## Phone to Note to Obsidian -This is a Phone to Roam (https://www.phonetoroam.com) client for Obsidian -(https://obsidian.md). Phone to Roam allows sending notes to your note-keeping +This is a Phone to Note (https://phonetonote.com) client for Obsidian +(https://obsidian.md). Phone to Note allows sending notes to your note-keeping software via SMS, Telegram, email, and a few other integrations. -The plugin will periodically fetch new notes from Phone to Roam and append them -to the Daily Note of the day that the message was sent. +The plugin will periodically (one per minute) fetch new notes from Phone to Note +and append them to the Daily Note of the day that the message was sent. ## Configuration -### roam_key +### ptn_key -Get your `roam_key` by signing in to https://www.phonetoroam.com and set it in -the plugin settings. +Get your `ptn_key` by signing in to https://phonetonote.com and set it in the +plugin settings. ### Auto append -Set hashtags or other text to append to every note from Phone to Roam. +Set hashtags or other text to append to every note from Phone to Note. ### Get raw text -Turn this on to get the exact text you sent to Phone to Roam, without any of the -parsing and replacement of dates that Phone to Roam normally performs. \ No newline at end of file +Turn this on to get the exact text you sent to Phone to Note, without any of the +parsing and replacement of dates that Phone to Note normally performs. \ No newline at end of file diff --git a/main.ts b/main.ts index 26ab5d5..633a471 100644 --- a/main.ts +++ b/main.ts @@ -9,7 +9,7 @@ interface PluginSettings { const DEFAULT_SETTINGS: PluginSettings = { roam_key: '', - auto_append: '#phonetoroam', + auto_append: '#phonetonote', use_raw_text: false } @@ -59,7 +59,7 @@ export default class PhoneToRoamPlugin extends Plugin { await obsidianApp.vault.modify(dailyNote, newNoteText); - new Notice('Added new Phone to Roam note to ' + dailyNote.path); + new Notice('Added new Phone to Note note to ' + dailyNote.path); // Mark as synced const messageUrl = 'https://app.phonetonote.com/feed/ptn-' + phoneNote.id + '.json'; @@ -101,11 +101,11 @@ class PhoneToRoamSettingTab extends PluginSettingTab { containerEl.empty(); - containerEl.createEl('h2', { text: 'Phone to Roam to Obsidian Settings' }); + containerEl.createEl('h2', { text: 'Phone to Note to Obsidian Settings' }); new Setting(containerEl) - .setName('roam_key') - .setDesc('From www.phonetoroam.com') + .setName('ptn_key') + .setDesc('From phonetonote.com') .addText(text => text .setPlaceholder('Required') .setValue(this.plugin.settings.roam_key) @@ -118,7 +118,7 @@ class PhoneToRoamSettingTab extends PluginSettingTab { .setName('Auto append') .setDesc('Hashtags or other text to append to every note') .addText(text => text - .setPlaceholder('E.g. #phonetoroam') + .setPlaceholder('E.g. #phonetonote') .setValue(this.plugin.settings.auto_append) .onChange(async (value) => { this.plugin.settings.auto_append = value; @@ -127,7 +127,7 @@ class PhoneToRoamSettingTab extends PluginSettingTab { new Setting(containerEl) .setName('Get raw text') - .setDesc('Ignore Phone to Roam\'s parsed dates, etc') + .setDesc('Ignore Phone to Note\'s parsed dates, etc') .addToggle(toggle => toggle .setValue(this.plugin.settings.use_raw_text) .onChange(async (value) => { diff --git a/manifest.json b/manifest.json index a711e5f..c524c67 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { "id": "phone-to-roam-to-obsidian", - "name": "Phone to Roam to Obsidian", - "version": "1.0.1", + "name": "Phone to Note to Obsidian", + "version": "1.0.2", "minAppVersion": "0.9.12", - "description": "An Obsidian client for phonetoroam.com", + "description": "An unofficial Obsidian client for phonetonote.com", "author": "Dylan Garrett", "authorUrl": "https://dylan-garrett.com", "isDesktopOnly": false -} +} \ No newline at end of file diff --git a/package.json b/package.json index e3f7284..305ddd5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "phone-to-roam-to-obsidian", "version": "1.0.0", - "description": "An Obsidian client for phonetoroam.com", + "description": "An unofficial Obsidian client for phonetonote.com", "main": "main.js", "scripts": { "dev": "rollup --config rollup.config.js -w", diff --git a/versions.json b/versions.json index a950526..2d60654 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ { "1.0.0": "0.9.12", - "1.0.1": "0.9.12" -} + "1.0.1": "0.9.12", + "1.0.2": "0.9.12" +} \ No newline at end of file