No description
Find a file
Alan Grainger a70e70bea4 0.3.0
Set theme mode on upload
2023-09-20 13:03:04 +02:00
docs Update Running your own server.md 2023-09-12 20:53:35 +02:00
src 0.3.0 2023-09-20 13:03:04 +02:00
.eslintignore Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
.eslintrc Toggle mobile classes 2023-09-17 13:15:17 +02:00
.gitignore Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
.hotreload Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
.npmrc Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
esbuild.config.mjs Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
LICENSE Create LICENSE 2023-09-07 12:18:56 +02:00
manifest.json 0.3.0 2023-09-20 13:03:04 +02:00
package-lock.json 0.3.0 2023-09-20 13:03:04 +02:00
package.json 0.3.0 2023-09-20 13:03:04 +02:00
README.md Add optional sharing of plaintext notes 2023-09-15 15:21:57 +02:00
styles.css 0.2.2 2023-09-12 17:18:13 +02:00
tsconfig.json Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
version-bump.mjs Rebuilt the codebase as a plugin 2023-09-07 12:07:54 +02:00
versions.json 0.3.0 2023-09-20 13:03:04 +02:00

Share Note

Free, encrypted public note sharing for Obsidian. Notes are encrypted on your device before being sent to the server, and the decryption key is never sent to the server - it only exists inside the note in your vault.

Features

  • Uploads using your current theme.
  • Local and remote image support.
  • Supports anything that Obsidian Preview mode does, like rendered Dataview queries and any custom CSS you might have enabled.
  • Supports callouts with full styling.
  • If your shared note links to another note which is also shared, that link will also function on the public page.
  • Frontmatter is stripped on upload by default to avoid leaking unwanted data.

Encryption

  • Your notes are encrypted on your device with a key that only you have.
  • Each note is encrypted with its own random key. A key from one of your notes cannot be used to decrypt another of your notes.
  • The key is never sent to the server, it only exists as part of the share link created inside your device.

Installation

The plugin is awaiting review for the Community store. In the meantime you can install it using BRAT, see the instructions here.

I have a server set up to host the shared notes. This is a free service for Obsidian users, as I already had the server and the costs to me are negligible.

Connect your plugin by clicking the "Connect plugin" button on the Settings page.

Usage

Use the Share Note command from the Command Palette. You can map it to a hotkey to make things faster.

The first time a file is shared, the plugin will automatically upload all your theme styles. The next time you share a file, it will use the previously uploaded theme files.

If you want to force the theme CSS to update, use the command Force re-upload of all data for this note.

Sharing a note unencrypted

If you want to share a note without any encryption, you can set a frontmatter checkbox property:

share_unencrypted = true

Running your own server

See the docs here.

Attributions

Encryption code is based with thanks on code from https://github.com/mcndt/obsidian-quickshare