Skip to content

jasonqiao36/obsidian-linkstowr

 
 

Repository files navigation

Obsidian LinkStowr

This repository is the Obsidian plugin for LinkStowr. LinkStowr is a free, open source and privacy-friendly set of tools (Chrome Extension + Obsidian plugin) designed to make it extremely easy to capture and store your valuable online resources in a structured and meaningful way.

Save important bookmarks along with a simple note using the Chrome Extension:

chrome-extension

Periodically sync your links with your Obsidian vault.

linkshelf-obsidian.webm

NOTE: This is a very new tool and there may be some bugs and missing functionality.

Usage

Prerequisites

  1. Create an account at https://linkstowr.com/ and generate an Access Token.
  2. Download the Chrome Extension and input your Access Token.
  3. Start saving links using the Chrome Extension.

Using the plugin

  1. Install this plugin.
  2. Go to the Settings > Community Plugins > Installed and ensure "LinkStowr" is enabled.
  3. Navigate to the settings for the plugin and configure the plugin:
    • Input the Access Token that you previously generated. In case you forgot or lost the one you previously generated, you can create a new one and use that.
    • Add the folder path to save links to. IMPORTANT: Make sure this folder exists.
    • (Optional) Add the path to a template file to use. See instructions below for creating a template file.
  4. Once you have everything configured, run the "Sync" command to sync your saved links using either Command palette (cmd/ctrl+P) or using the ribbon icon "LinkStowr sync" on the sidebar.

Once your links have successfully synced to your Obsidian vault, LinkStowr will no longer store your links. This ensures that your vault is the only long term home for your links!

Templates

LinkStowr allows you to customize the final output of your link file using a template file provided in the plugin's settings. The following variables are available to be used in your template file:

  • title: The title that your link was saved with in the Chrome Extension. This usually defaults to the title of the tab the link was saved from.
  • url: The url of the link.
  • note: The note that you added for your link using the Chrome Extension.

Here's the default template that files get saved with. Feel free to tweak it to your requirements:

---
tags: bookmark
title: "{{title}}"
url: {{url}}
---

# {{title}}

url: {{url}}

{{note}}

Tips

The main use case that I created LinkStowr for is to have a way for me to easily store useful links that integrates well with my existing workflow (which relies heavily on Obsidian) and makes it very easy to query for and organize later. I use it as a bookmarking tool by adding some relevant information in the note like the person that shared that link with me or certain tags like #health, #tech, #learning. I also use it as a read/watch it later tool by adding a #later on the note. With these hashtags and my link template, I can then use this to create Dataview queries. Example:

Find a list of the links marked as later (this assumes you have a "bookmark" tag added to your links which is in the default template).

TABLE url, note
FROM #bookmark and #later

Related repos

Thanks

The following resources were very helpful resources to look at for learning how to create this plugin:

About

Effortlessly save and organize your web links in Obsidian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.0%
  • JavaScript 15.7%
  • CSS 1.3%