Skip to content

jonesd/feedbin-archiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feedbin Starred Article Archiver

Archive a local copy of online starred posts collected by Feedbin. Solves the problem of web content going offline. The local copy can also be used for local searching and processing.

Download Starred Articles

The archiver processes a starred.json as downloaded from Feedbin.

  • Browse to https://feedbin.com
  • Login
  • From the Settings Menu, choose Import/Export
  • Click Starred Articles Export

This will trigger the creation of the export file. After a few minutes an email with a download link will be sent to you. Download the referenced file to your machine.

You should end up with a file name starred.json

Docker

The easiest way to run the archiver is to use the Docker image.

$ docker run --rm -ti -v $PWD/archive-starred:/data/archive -v $PWD/starred.json:/data/source.json -u `id -u` --group-add `id -g`  jonesd/feedbin-archive node lib/feedbin-archiver -v /data/archive /data/source.json

Where archive-starred is a directory where the downloaded articles will be stored, and starred.json is the unzipped starred link from the feedbin email.

On linux you can define a bash function to make it easier to run:

$ feedbin-archive() { docker run --rm -ti -v $1:/data/archive -v $2:/data/source.json -u `id -u` --group-add `id -g`  jonesd/feedbin-archive node lib/feedbin-archiver -v /data/archive /data/source.json; }

Then to run it:

$ feedbin-archive $PWD/archive-starred $PWD/starred.json

Build and Run

Download your Starred items for FeedBin, and unzip the result. Should have a Starred.json file.

Install NodeJS 6 or newer.

$ npm install
$ node lib/feedbin-archive archive-starred starred.json

Command Line Help

$ node lib/feedbin-archive -h

Usage: lib/feedbin-archiver.js [options] <archive directory> <source.json>

Options:
  -t, --template  Article HTML output template                          [string]
  -f, --force     Download article eve if local copy exists            [boolean]
  -v, --verbose   Verbose logging                                      [boolean]
  -h, --help      Show help                                            [boolean]
  --version       Show version number                                  [boolean]

Copyright 2017 David G Jones

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published