Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Script to pin files via ipns and keep them updated. Feedback appreciated : )

License

Notifications You must be signed in to change notification settings

justicenode/node-ipns-pin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipns-pin

A small script that updates pins for ipns addresses. Should be set up as a cron job.

Requirements

  • a running ipfs node

Usage

Note: You'll probably want to set up a cron job for the update command

Command Description
ipns-pin version Prints current version
ipns-pin update Updates pins
ipns-pin ls lists all pins
ipns-pin add {nodeid/dnslink} add new ipns pin
ipns-pin rm {nodeid/dnslink} remove a ipns pin
ipns-pin ipfs {api address} set which ipfs node to use

Examples:

  • ipns-pin add ipfs.io
  • ipns-pin add QmQH5NZmPByoGokbhTWduMxMCanewdZrt3PBK7xi3nAQJv
  • ipns-pin ipfs http://localhost:5001/api/v0

If I use this thing enough I'll probably add cli commands to add/remove pins. Boredom also works

About

Script to pin files via ipns and keep them updated. Feedback appreciated : )

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published