Imports bookmarks into your kippt.com account in bulk
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Guardfile
LICENSE.txt
README.md
Rakefile
bulkippt.gemspec

README.md

Bulkippt

Code Climate Build Status

Allows you to upload your bookmarks to kippt.com in bulk. You'll need a kippt.com account (of course) from which you'll obtain your API token along with your username. From there, all you need is a CSV file with url, title and description headers and the loader will push those links to kippt.com on your behalf.

Installation

Add this line to your application's Gemfile:

gem 'bulkippt'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bulkippt

Usage

require 'kippt'
require 'bulkippt'
require 'yaml' # if you store your creds in a yaml file

creds = YAML.load(File.open(File.expand_path('./config/my_kippt_creds.yml')))
service = Kippt::Client.new(username: creds['username'], token: creds['token'])
loader = Bulkippt::Loader.new(service, Logger.new(STDOUT))
csv_path = File.expand_path('./my_bookmarks.csv')
bookmarks = loader.extract_bookmarks csv_path
submitted = loader.submit_bookmarks bookmarks

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request