Synchronize はてなブックマーク with Pinboard.
bundle install
- Register はてな API as OAuth Consumer.
cp .env{.sample,}
- Add consumer token and secret to
.env
, then run sinatra app withbundle exec ruby app.rb
. - Access localhost:4567 with your browser and get access token and secret.
- Add access token and secret to
.env
. - Get Pinboard API token, then add to
.env
.
- Then
bundle exec ruby sync.rb
.