Yet another Hastebin alternative... in Go.
You can create pastes directly from stdin:
<command> | nc etc.fstab.me 9999
<command> | curl --data-binary @- https://etc.fstab.meBoth return a paste URL.
Triangle can encrypt stored paste files using AES-256-GCM.
Add this to config.toml:
[filesystem]
root_path = "data"
encryption_key = "<base64 32-byte key>"Generate a key with openssl:
openssl rand -base64 32When encryption is enabled:
- New paste files are stored encrypted.
- Existing plaintext files are still readable.
triangle is licensed under the MIT License.