Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bookmarks

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookmarks

Searchable collection of bookmarks in a webpage

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

bookmarks

Searchable collection of bookmarks in a webpage

The collection presented at http://twolfson.github.io/bookmarks/ is my personal set distilled from Firefox.

Running locally

bookmarks is hosted via GitHub pages meaning it is a set of static files. You can run a local server via a utility like serve.

# Install server if you haven't yet
npm install -g serve
# npm http GET https://registry.npmjs.org/serve
# npm http 200 https://registry.npmjs.org/serve
# ...

# Run serve
serve
# serving /home/todd/github/bookmarks on port 3000

Open http://localhost:3000/ in your browser and you should be presented with the webpage.

Installing your bookmarks

bookmarks.json is agnostic to being Firefox specific and it is planned that we support Pinboard in the future. The current structure is that from firefox-bookmarks' flatten method.

  • bookmarks Object[] - Array of bookmarks
    • Each bookmark should be of the format:
      • title String - Name of the folder
      • uri String - URL that was saved for the bookmark
      • description String - Description for the link
      • dateAdded Number - Microseconds (milliseconds/1000) since Linux epoch that bookmark was added
      • lastModified Number - Microseconds since Linux epoch that bookmark was last updated

Firefox

We provide utility functions to load your Firefox bookmarks.

# Copy latest bookmark backup to `bookmarks.orig.json`
npm run copy-firefox-bookmarks

# Flatten and beautify `bookmarks.orig.json` into `bookmarks.min.json` and `bookmarks.json`
npm run parse-bookmarks

Donating

Support this project and others by twolfson via gittip.

Support via Gittip

License

Copyright (c) 2013 Todd Wolfson

Licensed under the MIT license.

Keywords

FAQs

Package last updated on 22 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc