Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Liamballin committed Oct 31, 2020
1 parent c32b84c commit f9839ef
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 4 deletions.
Binary file added docs/serverSettings.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed extension/icons/android-chrome-192x192.png
Binary file not shown.
20 changes: 20 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,23 @@ Until Obsidian supports adding new notes through their custom `Obsidian://` URL

Inspired by jplattel's [Obsidian clipper](https://github.com/jplattel/obsidian-clipper) - a much less janky solution.

## Usage

With the node server running, clicking the extension icon will save the current page as a markdown bookmark.

Any selected text or images will be included in the note.


## Installation

- Chrome extension:

Open `chrome://extensions` and select `load unpacked`. Select the extension folder.

- Node server:

Running ObsidianBookmark.exe will open the server settings.

![settings](docs/serverSettings.png)

On starting the server, the app will minimize to the tray and can be accessed from there.
2 changes: 1 addition & 1 deletion server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<link rel="stylesheet" href="index.css">
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">


<title>Obsidian Bookmark server</title>

<script>
const {ipcRenderer} = require('electron')
Expand Down
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function createWindow(){
}
})

// win.removeMenu()
win.removeMenu()
// win.webContents.openDevTools()

win.on('minimize',function(event){
Expand Down
4 changes: 2 additions & 2 deletions server/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"close_to_tray": false,
"close_to_tray": true,
"port": "43110",
"vault_location": "C:\\Users\\Liam\\Desktop\\obsidianClip\\vault",
"save_location": "C:\\Users\\Liam\\Desktop\\obsidianClip\\vault\\Nice new bookmarks"
"save_location": "C:\\Users\\Liam\\Desktop\\obsidianClip\\vault\\bookmarks"
}

0 comments on commit f9839ef

Please sign in to comment.