npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pinteresttopaprika

v1.1.1

Published

save pinterest stuff to paprika cooking app

Readme

pinteresttopaprika

Overview

The script works as an adapter en Pinterest and parika 3 recipe manager. It requires some setup but will emulate the action of using the paprika 3 bookmarklet on an entire pinterest board.

The script uses the url for a public pinterest board to call the Pinterest API to gather all te links found in the board. The links are then opened inside a headless chrome instance using 'puppeteer'. For each link the paprika bookmarklet is used. If any link fails they are retried once after the who initial list has been run through. At the end any failures are printed.

On first run the bookmarklet will create an config.toml file if one doesn't already exist in the directory. After this has been filled with the correct infromation, the application will run and if you don't have a 'cookies.txt', the script will login to Pinterest and save the cookies in a new 'cookies.txt' file in the current directory. In future login to Pinterest in not required.

NOTE: The script is slow and processing each link can take a few seconds or even up to a minute or two. So larger boards can take a while to process

Below is what your config.toml should look like with, 'XXX's should be replaced with apropriate codes

[Pinterest]
PinterestUser = "your login name"
PinterestPassword = "passoword"
[Paprika]
PaprikaBookmarkletToken = "XXXXXXXXXXXXXXXX"
PaprikaUser = "your login name"
PaprikaPassword = "password"
[Dev]
PinterestAppID = "XXXXXXXXXXXXXXXXXXX"
PinterestAppSecret = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
PinterestToken = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Instructions for codes

  • PaprikaBookmarkletToken can be retrived from "https://www.paprikaapp.com/bookmarklet/"
    • once logged in go copy from the "iPhone/iPad Installation" code the code preceded by '//www.paprikaapp.com/bookmarklet/v1/?token='.
    • the token looks something like this "787659f80afba450"
  • PinterestAppID, PinterestAppSecret, PinterestToken (OAUTH access token) can be created by following instructions from here "https://developers.pinterest.com/docs/api/overview/?"
    • To use a GUI to get the access token, consider scrolling down to the section "Using Postman to get an auth token"

Know problems

  • Currently there 'cookies.txt' will be assumed to have active pinterest credentials, if there are any issues with all links grabbed from board failing and 404'ing then this is likely due to wrong or outdated cookies. Please delete the file.
  • Opening each page in a chromium instance may not be the most efficient way of adding links to paprika. Will look into it.
  • Some failed links may actually be possible to manually add to paprika with the bookrmarklet, but failed due to the script not accepting possible gdpr prompts
    • Further note, due try to add the links manually using the apps own interface.
  • The script has some waits and timeouts that might benefit from lowering their values, the machine I wrote this in is 10 years old and having larger waits seemed beneficial.