Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.
/ pocket2dropbox Public archive

Backup Pocket articles to Dropbox

License

Notifications You must be signed in to change notification settings

msoap/pocket2dropbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pocket2dropbox:

Backup Pocket articles to dropbox.

Install

From source:

go get -u github.com/msoap/pocket2dropbox
ln -s $GOPATH/bin/pocket2dropbox ~/bin/pocket2dropbox

Usage

  • Get Pocket/Dorpbox app_id, keys and tokens - see links below.
  • Create config file.
  • Download wgethtml.pl to PATH dir.
  • Add to cron: 0 * * * * pocket2dropbox

Configuration

By config file ~/.config/pocket2dropbox.cfg (example):

{
    "pocket_key": "***",
    "pocket_token": "***",
    "db_client_id": "***",
    "db_client_secret": "***",
    "db_token": "***",
    "get_since_days": 30,
    "favorites": false
}

or through environment vars:

# Pocket settings
POCKET_KEY
POCKET_TOKEN

# Dropbox settings
DB_CLIENTID
DB_CLIENTSECRET
DB_TOKEN

options:

pocket2dropbox [options]
options
    -favorites        : save favorites articles only
    -get-since-days=N : get articles since this days
    -version
    -help

Dependencies

wgethtml.pl - for download html

Links

TODO

  • Delete deleted articles in Pocket
  • Rewrite wgethtml.pl on Go

About

Backup Pocket articles to Dropbox

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages