NetOpWibby / arena-import

Import Are.na blocks from Pinboard JSON export

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pinboard → Are.na

Get your Pinboard bookmarks into Are.na

First

Then

  • Create an Are.na application:
    • Set the name as "Import Pinboard," or whatever you want
    • For the Redirect URL/Webiste, set it to your personal website or anywhere. Doesn't matter, you're the only one using this.
    • Description? Put anything.
    • Make sure your "Pinboard" channel is set to Private.
  • Authorize the application so you can start using it, and peep that sweet Personal Access Token.
  • Go to your new Are.na channel and copy the text after your username (should look like pinboard-ss89ud9uvds). That's your channel slug.
  • Rename .env.sample to .env:
    • Add your access token and channel slug info
  • Place your Pinboard JSON export in the same folder this README exists and rename it to pinboard.json. Or, update import.ts to whatever your export's name is.

Finally

deno run --allow-env --allow-net --allow-read import.ts

This…is gonna take awhile (especially if you've been an an active Pinboard customer). Make sure your computer doesn't fall asleep.

Note

Turns out, a channel with 9k+ bookmarks in it makes the site sluggish. You'll want to create channels for all your Pinboard tags and update the map function in import.ts. Are.na is more for collaborative bookmarking though, so this may not be the service to replace Pinboard.

About

Import Are.na blocks from Pinboard JSON export


Languages

Language:TypeScript 100.0%