Command line interface to LinkSync.
See config.json.example for configuration settings. Save this file as config.json to override the defaults that are defined in lib/settings.js.
Help and examples on various commands can be queried after installing dependencies and running with the --help option:
$ npm install $ node linksync.js --help
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.
$ 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
GNU GPL version 2.