Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Grab recent bookmarks from Pinboard for use within Gatsby.

Notifications You must be signed in to change notification settings

danoc/gatsby-source-pinboard

Repository files navigation

gatsby-source-pinboard

NPM version Test build status

To use, install the package and add to gatsby-config.js:

yarn add gatsby-source-pinboard
npm install gatsby-source-pinboard
{
    resolve: "gatsby-source-pinboard",
    options: {
        authToken: "", // required authentication token
        tags: "" // optional tag to filter links
    }
}

You can query the data with:

allPinboardBookmark(limit: 3) {
    edges {
        node {
            href
            description
        }
    }
}