Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

An enhanced pinboard bookmarklet for the persnickety

Notifications You must be signed in to change notification settings

resonance-cascade/particular-pinboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

particular pinboard

A modification of the pinboard bookmarklet with enhancements that appeal to my fiddly nature.

  • Title is cleaned of extraneous "SEO-junk" through heuristics based on page structure
  • Description field is populated with the selected text, or pulled from description tags in page header
  • Tags are added according to keyword rules setup by the user.

This bookmarklet is based on an existing modification to the pinboard bookmarklet by Ben Ward. The build file makes variants for "Read Later" and for users of Pinswift on iOS.

Bookmarklets

Building

Run build.sh to compile the source file into bookmarklet form. You must have UglifyJS and node installed. To install node I recommend homebrew:

brew install node

To install UglifyJS:

npm install uglify-js

Please note the dash between "uglify" and "js". It is possible to install an older version without using the dash that does include the command line tool.

Customization

You can enable or disable various features by modifying the constants at the top of the source file. These should be well documented in source. Of particular interest for users are keyword rules which determine the tags based on the text of the document.

License

This code is public domain. Fork it as the basis for your own particular pinboard and let me know what you discover.

About

An enhanced pinboard bookmarklet for the persnickety

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.2%
  • Shell 2.8%