Command line interface to LinkSync
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
config.json.example
linksync.js
package.json

README.md

linksync-commander

Command line interface to LinkSync.

Configuration

See config.json.example for configuration settings. Save this file as config.json to override the defaults that are defined in lib/settings.js.

Running

Help and examples on various commands can be queried after installing dependencies and running with the --help option:

$ npm install
$ node linksync.js --help

Export/Import

The default path for exports and imports lives under ./exports/, which will have exports.zip when you run the exporter command against the API:

$ node linksync.js exporter

For importing, the same file will be unzipped to exports/import.json, and then streamed to oboe so we don't load a potentially large JSON object in memory:

$ node linksync.js importer

The import process will also wipe the database behind the API.

Examples

$ linksync add -t programming,technology,aggregator https://lobste.rs "A technology-focused link-aggregation site."
$ linksync findtag aggregator
$ linksync list
$ linksync remove https://lobste.rs # or by ID
$ linksync add https://vimeo.com/62232896 "Mr. Sprinkles"
$ linksync sync 1 # download mr sprinkles media via vimeo plugin

License

GNU GPL version 2.