6 ms·
Piknik – Copy and paste anything over the network
- chrisper 9y agoBetter not have KeePass open while this is open. Accidental leaks are just too risky that way.
- lawl 9y agoI wrote a similar piece of software a few years ago. I solved that by having a config flag for each clipboard agent to disable broadcasting of their clipboard changes and only listening for changes. Then I simply activated that on the box that holds keys/passwords etc.
- sneak 9y agoIt doesn’t interact with the system clipboard.
- michaelcampbell 9y agoUnless I'm missing a subtlety here, the docs indicate it does. https://keepass.info/features.html#lnkclipboard https://keepass.info/features.html#lnkclipboard (at least in Windows)
- crazyhatfish 9y agoI think sneak means Piknik doesn't.
- ijustdontcare 9y agoInstead of local: "rsync content me@target-server" remote: "cat content" we now have different much better commands and need a third server awesome
- deleted 9y ago[deleted]
- andai 9y agohejustdontcare
- upofadown 9y agoWhy yes it is, in the case where one or both of the endpoints are behind a firewall or are plagued by NAT.
- tzahola 9y ago* plagued by firewall/NAT, but connected to the internet
- nerdponx 9y agoIs there a program out there that will expose a Unix socket as a named pipe or something that can be read to and written from like a file? That way you could take care of this with SSH tunneling. edit: I meant "port", not "socket"! But apparently this is basically what netcat does by default.
- jlgaddis 9y agosocat
- sonofgod 9y agomuch doge, wow
- falcolas 9y agoWell, your basic SSH does this pretty much by default. Whatever program you execute remotely is handed stdin/stdout/stderr from your local terminal. That's why you can do things like `ssh <foo> -e 'cat somefile' > some_localfile` It's not always recommended, but possible.
- pleasecalllater 9y agoI love such generalized titles. My mathematically modified brain automatically searches for an example when you cannot copy something, then the whole statement is not true. My dog agrees, he cannot be copied over the network :)
- j_s 9y agoI didn't realize from the title that this was a CLI network clipboard client/server, and another commenter helpfully pointed out it operates independently of the system clipboard.
- pveierland 9y agoPedantically, the state of any material object is just information and should be transferable over a network?
- yesenadam 9y agoNo.."Chaos theory has taught us" that it would take an infinite amount of information to precisely-enough specify 'state'.
- pveierland 9y agoDoesn't this depend on the universe being not entirely discrete? If the universe is entirely discrete, then it should be possible to represent the exact state of it? In any case, I don't think it follows that an infinite amount of information is necessary to describe e.g. a dog to the extent to which it could be transferred and there being no functional difference to the copy, even though the exact state is not represented.
- oedmarap 9y agoVery useful! Also nice that I see this posted soon after CloudFlare Access[0] was launched; which can add good security for Piknik's use case. [0] https://blog.cloudflare.com/introducing-cloudflare-access/ https://blog.cloudflare.com/introducing-cloudflare-access/
- chpatrick 9y agoIt's nice that this is open-source, but if it involves an intermediate server anyway, PushBullet also does a great job, and on various platforms: https://www.pushbullet.com/ https://www.pushbullet.com/ (No affiliation)
- gregknicholson 9y agoCan you host your own PushBullet server?
- jagger27 9y agoNo you cannot.
- Avamander 9y agoSynergy does the same thing but is FOSS and also allows cursor sharing.
- TekMol 9y ago"Installation" - Game over. Relevant: https://xkcd.com/949 https://xkcd.com/949
- deckar01 9y agoYou don't generally use a clipboard to share files with other people, you use it to share files between your desktop applications, and in this case between your computers. I have been emailing myself files, because synergy doesn't copy files and airdropping with an old mac is annoying.
- taneq 9y agoMisread that for a moment as "just drone it over to your house" and pictured a DJI Mavic with a thumb drive taped to it.
- camtarn 9y ago"Never underestimate the bandwidth of a drone covered in micro SD cards hurtling across the city." Relevant: https://what-if.xkcd.com/31/ https://what-if.xkcd.com/31/
- SCHiM 9y agoThank you, thank you, thank you! I've been looking for something like this for ages. I use QubesOS, and copy + paste between HVM(Windows) and paravirtual domains(Linux) just did not work with Windows 10. I previously used a little webserver on a separate VM on my virtual network where I had to go with a browser to copy and paste stuff in a shared chat window. And files were even worse. That solution was not as secure as I'd like and necessitates network connectivity between machine where I want to share data. Piknik is still not secure in that sense, but it is much more seamless and can be installed as a drop-in replacement since the environment is so similar to my current solution!
- falcolas 9y agoHave you tried Synergy? Mostly just works, from my experience. Not to mention, with the Linux subshell, you have the potential to automate a SSH tunnel or tar | nc. Just some thoughts about non-3rd party solutions.
- calandoa 9y agoThere is also Ditto for Windows and Parcittox for Linux which are compatibles: http://ditto-cp.sourceforge.net http://ditto-cp.sourceforge.net https://app.assembla.com/spaces/dittox/wiki https://app.assembla.com/spaces/dittox/wiki
- singularity2001 9y agomobile app would be great! https://github.com/jedisct1/piknik/issues/3 https://github.com/jedisct1/piknik/issues/3
- con 9y agoSame, but different: https://github.com/warner/magic-wormhole https://github.com/warner/magic-wormhole Great to copy from any host to another, just by sharing a short secret.
- StavrosK 9y agoSeconded, and I love magic wormhole. This article's title would be more descriptive as "Network-based shared clipboard"
- xsteadfastx 9y agoI just wish it would support resume
- domenukk 9y agoI used to love https://symless.com/synergy https://symless.com/synergy which includes this feature (if I recall correctly) Pretty useful at times.
- methyl 9y agoIf you just need to quickly share a file from command line, you can use https://transfer.sh https://transfer.sh, I find it quite useful sometimes.
- sogen 9y agoOn iOS/MacOS you can just use the Apple Notes app to share text betweenn your phone and mac, it's updated in Real-time (instantaneous!)
- vram22 9y agoNot the same thing at all, but the title of the post somehow reminded me of the synergy app for mouse and keyboard sharing. Google 'synergy app'. Update: Noticed just after commenting, that user falcolas had also mentioned Synergy here in this thread: https://news.ycombinator.com/item?id=16177216 https://news.ycombinator.com/item?id=16177216 Others too, just noticed.
- styfle 9y agoSimilar tools: https://news.ycombinator.com/item?id=14263881 https://news.ycombinator.com/item?id=14263881 https://news.ycombinator.com/item?id=14649727 https://news.ycombinator.com/item?id=14649727 https://news.ycombinator.com/item?id=16216156 https://news.ycombinator.com/item?id=16216156