This repository contains tools to help send notes (thoughts and ideas) from an Obsidian vault to Napkin.
These tools help us to leverage the best of both of these tools. Obsidian is an amazing long-form note-taking tool, while Napkin helps us in a unique visual way to be inspired and more creative by leveraging the ideas we capture in our life.
Click the image to view it on YouTube:
If you like my work and would like to help support it, please consider signing up for a Medium membership using my referral link: https://bit.ly/o42-medium or buy me a coffee at: https://bit.ly/o42-kofi.
- Templater Plugin installed in Obsidian. It is available from this link.
- We assume you have some basic knowledge of using Templater.
- An active Napkin account. Sign up for Napkin at this link if you do not have an account.
Summary This looks harder than it is. Just follow the steps closely and it will be ready to go quickly.
Time needed 5 to 10 minutes
Overview The Templater Scripts folder of his repository contains example Templater scripts for sending notes from Obsidian to Napkin. These installation instructions will explain the Send selected Obsidian text to Napkin.md, however as we add other scripts in the future to this repository, the installation concepts of these instructions will also apply to them as well.
- Confirm that the Templater Plugin is installed in Obsidian.
- Confirm that a templates folder is defined in the Templater plugin settings, as shown in the following image:
Explanation: Templater looks for templates in this folder defined in the plugin settings. You can have many templates in this folder.
- Copy the file Send selected Obsidian text to Napkin.md file from this repository Templater Scripts folder to the Templates folder as defined in the previous step. It will look something like this in Obsidian after you complete this step:
-
Next, we need to modify the template file that you copied in Step 2 so that it has your Napkin user credentials. Without this information, the script cannot send information to your Napkin database.
-
We need two pieces of information. Your Napkin token and your Napkin email address. This can be found in your profile in Napkin. The token is under the API section. You need to create a new API token. It will look something like this:
-
Once you get this information from your Napkin profile, in the template file add your Napkin credentials into the script's variables, in between the quotes.
NOTE: The token from Napkin gives the script secure access to your notes. You should never share this token with others.
Now that Templater and the template script is all set up, you can use the script to send your ideas from Obsidian to Napkin.
To do this:
- First, select some text in an Obsidian note. Make sure Obsidian is in edit mode for the note, as this script does not work with documents in Preview mode.
- This will then open up a list of templates to run. Select the script we just installed:
That is it! This will send the selected text to Napkin.
Just repeat this step each time you want to send a new thought to Napkin.
This completes the installation of the script. If you run into problems, please start a discussion on this repository and we will help you resolve the problem.
If you develop your own Templater scripts for "Obsidian to Napkin", please consider sharing them with the community in this repository.