Skip to content

hugolundin/pinboard-digest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pinboard Digest

A script that will email a digest of Pinboard bookmarks that have been saved during a given time period.

All too often, I find myself saving bookmarks for later and then never reading them. With this script on a cronjob, I can give myself things to read at a more convenient time.

Environment variables

The script expects a number of variables to be defined:

PINBOARD_API_TOKEN=
PINBOARD_DIGEST_DAYS=2

PINBOARD_DIGEST_SMTP_FROM_NAME=Pinboard Digest
PINBOARD_DIGEST_SMTP_FROM_EMAIL=source@email.com
PINBOARD_DIGEST_SMTP_TO=destination@email.com
PINBOARD_DIGEST_SMTP_SERVER=
PINBOARD_DIGEST_SMTP_PORT=587
PINBOARD_DIGEST_SMTP_LOGIN=
PINBOARD_DIGEST_SMTP_PASSWORD=

They will be either be read from the environment or from a file called .env.

Usage

The script is run with python3 main.py. No flags exist at the moment.

About

Script for emailing a digest of Pinboard bookmarks saved during a given period.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages