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

citizen428-unsavory

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

citizen428-unsavory

  • 0.3.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= unsavory -- get rid of those stale bookmarks!

unsavory is a little Ruby script which checks your Delicious bookmarks for dead links (HTTP status code 404) and removes them. Additionally it will also inform you about links which return a status code other than 200 (OK).

== Usage

After installing unsavory with

$ gem install citizen428-unsavory

you can start it from the command-line like this:

$ unsavory

First the script will check if it can find the configuration file '~/.unsavory', which should have the following format:

user:password

In case this file doesn't exist, HighLine will be used to prompt for login credentials. If this gem isn't available, the script will display an error message and abort.

When run, unsavory will generate output similar to this (the real code does show the URLs):

Enter Delicious username: username Enter Delicious password: *********

username has 664 bookmarks. Processing URL #0001: OK Processing URL #0002: OK Processing URL #0003: OK Processing URL #0004: OK Processing URL #0005: OK ... Processing URL #0013: 405: http://... ... Processing URL #0074: 302: http://... ... Processing URL #0086: Connection reset by peer - https://...

== Warning

Any link that returns an HTTP status code of 404 will be deleted without warning! There's no undo, use at your own risk!

== Todo

None right now

== Author

Michael Kohl <citizen428[at]gmail[dot]com>

FAQs

Package last updated on 11 Aug 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