Giter Site home page Giter Site logo

obsidian-pinboard-sync's Introduction

Obsidian Pinboard Sync

An Obsidian plugin that adds links you've saved with Pinboard to your Obsidian Daily Notes, synchronizing periodically.

Why?

I've been using Pinboard to store links to interesting websites from the web for years, and from iOS devices with the help of the wonderful app Pinner. I would like Obsidian to store these links as part of my Daily Notes to remind me to refer back to them, and also so that I can add some notes about each site.

Disclaimer ๐Ÿšจ

The initial sync will backfill your recent posts from Pinboard into Obsidian. This potentially means creating/modifying up to a hundred files. I recommend testing this plugin out in a new vault first to make sure you're happy with the result. You may not want Daily Notes with Pinboard links going that far back in time.

Usage

This plugin will fetches recent links posted to your Pinboard and dumps them into the Daily Note corresponding to the date the link was stored.

It also displays any tags associated to the links.

It will refetch the posts at a designated interval.

Settings

Setting Description
Token API token from your Pinbord account. Available in settings/password
Section Heading Controls where the links will be displayed within your daily notes. Defaults to ## Pinboard
Sync Frequency How often you want to fetch the posts from the Pinboard API
Tag Prefix You may prefix your Pinboard tags with a parent tag (e.g. #pinboard/work #pinboard/school)
Recent Posts Number of recent posts to use when syncing. Up to the last 100 posts can be retreived.

Limitations

This plugin currently only syncs the last xx posts, where xx <100. Why? I just switched over to using Obsidian from Roam, and I didn't want 1000 of Daily Notes that were only old Pinboard links.

This doesn't currently support "Pinboard Notes" because I never used those.

Gratitude ๐Ÿ™

This plugin was made possible by the awesome work by liamcain and mrled. Thank you!

Contributing

To make changes to this plugin, first ensure you have the dependencies installed.

yarn install

Development

To start building the plugin with what mode enabled run the following command:

yarn dev

Note: If you haven't already installed the hot-reload-plugin you'll be prompted to. You need to enable that plugin in your obsidian vault before hot-reloading will start. You might need to refresh your plugin list for it to show up.

Releasing

To start a release build run the following command:

yarn build

This plugin was generated by (create-obsidian-plugin)[https://www.npmjs.com/package/create-obsidian-plugin]

obsidian-pinboard-sync's People

Contributors

automatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

obsidian-pinboard-sync's Issues

Won't sync. What am I missing?

Installed current version (1.0.2) into a new Obsidian install on my Android device (Samsung 22 Ultra). Enabled and input my PB API Token. Tapped the sync toggle, and got [Pnboard Sync] failed. ScreenShot of Error

Are there sync longs somewhere I can inspect for hints on how to fix this?

Tags with colons in them don't work in Obsidian

I had to change my writing:fiction tag to writing_fiction manually after importing pins with them, since they don't work in Obsidian Markdown. A regex replacement would suffice to make those work.

first/initial sync failed on Mac - missing daily note location?

my environment

  • using plugin version 1.02 -
  • Obsidian 0.15.9
  • all updated
  • trying within a separate vault with minimal plugins

Plugin Settings

  • default (besides Pinboard Api token of course)

Problem

Error message

  • [Pinboard sync] failed

Screenshot of Obsidian

hint

  • it works in an entire new vault
  • could have to do with the daily note location
  • surprisingly there is no setting to direct the plugin to the daily note location
    • is this the missing part?

Any clue what I am missing?

doesn't sync - also no creation of daily note

I am also a passionate user of pinboard. wanted to integrate pinboard and obsidian

Now

  • have correctly entered all the plugin settings and Api-key (which works fine with other apps)
  • a manual initiated sync via the command results in an error message
    • Screenshot of Obsidian
  • the scheduled sync presumably never happens

I am I missing out on anything?

using

on Mac M1

  • Obsidian Version 1.1.8 (Installer 0.15.6)
  • with the following settings

Screenshot of Obsidian

One-time Sync all links

Hi,

would be great to have an opportunity to once sync all links. Only last 100 is kind of a low limit.
There is also an api for that, however I don't understand the code enough to adapt it.

Daniel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.