p2pic
v1.0.1
Published
Peer-to-peer picture sharing
Maintainers
Readme
P2Pic
Share pictures with family and friends, directly from your computer to their computer or digital photo frame, no servers in between.
Install
npm -g i p2picUsage
Sharing local folders
Add local folders to make available for sharing:
p2pic-config add-local /full/path/to/a/directoryCheck the configuration:
p2pic-config showEach folder you added has its own corresponding key. Share those keys with the people who should mirror the folders.
Note: other people can only see the content of the folders for which they have the keys.
Start sharing:
p2picPipe the output into pino-pretty for human-readable logs (p2pic | pino-pretty).
Any changes you make to the local folders while p2pic is running will be reflected on all machines mirroring them.
Note: Hyperdrive keeps track of history, so double check which files you add to these folders before adding them.
Viewing remote folders
CLI-support is coming. For now, manually edit the config file at ~/.p2pic/config.json, adding entries to the remoteFolders key:
"remoteFolders": {
"<drivekey>": { "targetPath": "/full/path/to/p2pic-remotes/remoteCopy" }
}The target path must include 'p2pic' somewhere in its name. This somewhat protects users from accidentally deleting important files (syncronising from a remote directory includes deleting all files in the target directory that are not present on the remote. So you would not want to sync to your home directory...)
