piche
UwU A localtunnel based pipe tool to share text quickly from terminal. Created with create-pastel-app, inspired by fiche.
Made in roughly 9 hours with the help of the following awesome libraries:
Zero-install Usage
UvU You will need nodejs >= 10
Start piche local tunnel:
npx piche -s
(Optionally) Piche local temp tunnel:
npx piche -st
piche will cleanup all the data piped on SIGINT.
Pipe data to piche and share it with other:
echo hello world | npx piche
(Optionally) Pipe data to piche with a custom name:
echo hello world | npx piche -n="hello.txt"
Why piche?
- The files are all hosted locally. Your data pipe through localtunnel temporarily. Once piche is shutdown, your data remains on your local machine.
- When you want to quickly share some log that carry sensitive data (which you shouldn't in the first place) and disable it right away after recipent has received it.
Install globally
$ npm install -g piche
CLI
$ piche --help
piche
UwU A localtunnel based pipe tool to share text quickly from terminal.
Options:
--help Show help [boolean]
--version Show version number [boolean]
--start, -s Start piche server [boolean] [default: false]
--tmp, -t Use os.tmpdir/.piche instead of os.homedir/.piche
[boolean] [default: false]
--clean, -c Cleanup os.tmpdir/.piche and os.homedir/.piche
[boolean] [default: false]
--name, -n Name of the output file, default: an uuid/v1 [string]
Development
There are 2 available commands:
npm run dev
- Start development mode and recompile on changenpm run build
- Build a final distributable for npm