• Stars
    star
    149
  • Rank 247,140 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 14 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Stale identifies (and optionally deletes) stale Delicious and Pinboard links.

Stale

Stale identifies and deletes stale Pinboard links.

You can grab the latest code package by cloning this repository:

$ git clone https://github.com/jparise/stale.git

... or by downloading the latest tarball.

Usage

usage: stale.py [-h] [-t TOKEN] [--ignore REGEX [REGEX ...]] [-d] [-e] [-v]
                [--version]

Identify (and optionally delete) stale Pinboard links.

optional arguments:
-h, --help            show this help message and exit
-t TOKEN, --token TOKEN
                      your Pinboard API token ('username:hex-values')
--ignore REGEX [REGEX ...]
                      ignore links from these hosts
-d, --delete          delete stale links
-e                    equate errors with staleness
-v                    enable verbose output
--version             show program's version number and exit

You can find your personal Pinboard API token in your Settings. It will look like <pinboard-username>:<long-string-of-hex-values>.

SSL Certificates

Stale visits each link to verify that it is still active. Because most hosts use SSL, it's important for your Python environment to have a current set of SSL certificates. Otherwise, the connection attempt might fail with an error like [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed.

For macOS, you can update your certificates by running this command:

/Applications/Python\ 3.7/Install\ Certificates.command

More Repositories

1

chrome-utm-stripper

Browser extension that strips Google Analytics (UTM) parameters, and various other click tracking tokens, from URL query strings
JavaScript
702
star
2

vim-graphql

A Vim plugin that provides GraphQL file detection, syntax highlighting, and indentation.
Vim Script
482
star
3

python-reloader

Dependency-based Python Module Reloader
Python
136
star
4

php-python

Embedded Python Extension for PHP
C
68
star
5

gmail-fixed-font

Use your browser's monospace font for message body text in Gmail
JavaScript
60
star
6

AFHTTPClientLogger

Configurable HTTP request logger for AFNetworking
Objective-C
41
star
7

apprankings

App Store Rankings Scraper
Python
40
star
8

flake8-assertive

Flake8 unittest assert method checker
Python
31
star
9

vim-phabricator

Vim plugin for Phabricator and Arcanist
Vim Script
18
star
10

vesta

Vestaboard client library for Python
Python
17
star
11

PropertyKit

PropertyKit provides tools for working with Objective-C Declared Properties
Objective-C
12
star
12

dotfiles

My public dotfiles
Vim Script
6
star
13

flask-facebook

Facebook Support for Flask
Python
4
star
14

haitwu-appengine

Haitwu - Find Haikus in Tweets
Python
4
star
15

indelible-ink

Indelible Ink
Python
3
star
16

flake8-author

Flake8 extension that checks Python modules for __author__ attributes
Python
3
star
17

pwdcomposer

Password Composer for iOS
3
star
18

tgprot

The Telegard Protocol Pack
3
star
19

django-ink

Ink is a blogging application for Django.
Python
3
star
20

dammit-winamp

DAMMIT WinAMP plugin that Soco and I wrote at Computer Science House in the fall of 1998
C++
2
star
21

MIDI

MIDI Input Library for Windows
C++
2
star
22

gh-cat

Concatenate and print the contents of files from a remote GitHub repository
Shell
1
star
23

pygame-starfield

PyGame Starfield Example
Python
1
star
24

brightkite-python

Python library for the Brightkite API
Python
1
star
25

jparise.github.com

Indelible.org
HTML
1
star
26

yuri

Yuri is a URI manipulation library for Python
Python
1
star
27

marconi

Marconi is a network media server.
Python
1
star
28

indelible-django

Indelible.org Django Site
Python
1
star
29

evite-gcal

A Greasemonkey script that replaces the Outlook Calendar link in Evite invitations with a Google Calendar link.
JavaScript
1
star
30

caching-dns

Caching DNS Server in Visual Basic
Visual Basic
1
star
31

rugen.org

Rugen.org
1
star