dat-pin

1.0.1 • Public • Published

dat-pin

An extension for the Dat CLI to support Pinning Services

npm install -g dat-pin
 
# Run a pinning service on http://localhost:3282 
dat-pin run-service
 
# Add a dat to the pinning service so it's always being shared 
dat-pin add dat://0a9e202b8055721bd2bc93b3c9bbc03efdbda9cfee91f01a123fdeaadeba303e/
 
# Install local pinning service 
dat-pin install-service

Commands

Commands:
  dat-pin add                Pin a `dat://` read key to your pinning service to
                             keep it online
  dat-pin remove             Remove a `dat://` read key from your pinning
                             service
  dat-pin list               List the `dat://` read keys that you've pinned
  dat-pin set-service        Set the URL of the pinning service you want to use
  dat-pin unset-service      Resets your preferences to use your local pinning
                             service
  dat-pin get-service        Get the URL for your pinning service
  dat-pin login              Logs you into the configured pinning service. Not
                             necessary for local services
  dat-pin logout             Logs you out of the pinning service
  dat-pin run-service        Runs the pinning service without installing it in
                             the background.
  dat-pin install-service    Installs a local pinning service on your computer.
                             This will run in the background while your computer
                             is active.
  dat-pin uninstall-service  Uninstalls your local pinning service.

How it works:

Dependencies (11)

Dev Dependencies (3)

Package Sidebar

Install

npm i dat-pin

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

16.1 kB

Total Files

9

Last publish

Collaborators

  • rangermauve