⚠️ IMPORTANT: This plugin is no longer compatible with self-hosted Flowershow sites. It is now exclusively used as a tool for Flowershow Cloud. Sign up for Flowershow Cloud here
Obsidian Flowershow plugin for publishing with Flowershow direct from your Obsidian vault.
-
Go to our GitHub template repository and click "Use this template" button to create a new repository (can be private if you want). It will be used to synchronize between obsidian and Flowershow (plus it provides a handy backup!).
-
Click here and create a new site from that repository.
-
When the site finishes syncing, click the "Visit" button to open it.
-
If you haven't already, install and enable the Flowershow plugin in your Obsidian vault.
-
In the plugin settings, enter your GitHub username, name of the repository you've created earlier and a GitHub Personal Access Token.
-
Click the Flowershow icon in Obsidian ribbon and use available options to synchronize your vault's content with your site.
Done! Your notes are now ready to be shared with the world! 💐
The Flowershow icon in your ribbon opens the Publication Status panel, which shows:
- Published: the total number of notes that has been published to your Flowershow site
- Changed: the total number of published notes that has been edited locally (+ button to publish them)
- Unpublished: the total number of new notes in your Obsidian vault, that has not yet been published to your site (+ button to publish them)
- Deleted: the total number of notes that has been deleted from your Obsidian vault, but are still published on your site (+ button to unpublish them)
Flowershow: Publish Single Note
- Publishes the current note to your Flowershow siteFlowershow: Publish All Notes
- Publishes all notes in your vault to your Flowershow site
publish
- Set tofalse
to keep the note unpublished from your Flowershow site (or unpublish it if it was published before).
- Clone the repository.
- Run
npm i
to install dependencies. - Run
npm run build
. - Create the plugins directory in your Obsidian vault if it doesn't exist:
mkdir -p /path/to/obsidian-vault/.obsidian/plugins/flowershow
- Create symlinks to the
main.js
,manifest.json
, andstyles.css
files in your Obsidian plugins folder:
ln -s /path/to/obsidian-flowershow/main.js /path/to/obsidian-vault/.obsidian/plugins/flowershow/main.js
ln -s /path/to/obsidian-flowershow/manifest.json /path/to/obsidian-vault/.obsidian/plugins/flowershow/manifest.json
ln -s /path/to/obsidian-flowershow/styles.css /path/to/obsidian-vault/.obsidian/plugins/flowershow/styles.css
- Reload Obsidian, go to Settings > Community Plugins, and enable the plugin.
If you want to automatically rebuild the plugin after you make any changes to the source code, run npm run dev
instead of npm run build
. This will start a server that will watch for changes to the source files and rebuild the plugin automatically. However, you will still need to reload Obsidian manually each time to see the changes.
If you want true hot reloading, i.e. without needing to disable/enable the plugin:
- Install Hot-Reload plugin:
- download the .zip file from the latest release
- extract the .zip file into your Obsidian vault's
.obsidian/plugins
folder - go to Settings > Community Plugins and enable the plugin
- Instead of creating symlinks like in step 4 above, copy/clone the plugin project directly into your Obsidian vault's
.obsidian/plugins
folder:
mv /path/to/obsidian-flowershow /path/to/obsidian-vault/.obsidian/plugins/
- Run
npm i && npm run dev
in the plugin folder to start the development server.
Now, whenever you make any changes to the source code, two things will happen:
- The plugin will be rebuilt automatically.
- The Hot-Reload plugin will detect that the plugin has been rebuilt and will reload it in Obsidian.
Big thanks to Ole Eskild Steensen for his obsidian-digital-garden plugin which inspired us and we got to build on.