Update README.md

This commit is contained in:
Mateusz Kaczanowski 2020-05-10 03:14:04 +02:00 committed by GitHub
parent 02ffa0aaf3
commit 1b4f8e7d82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,11 +14,11 @@
Simple, fast, standalone pastebin service.
## Why?
Whenever you need to share a code snippet, diff, logs or a secret with another human being, the pastebin service is invaluable. However using public services such as pastebin.com, privnote.com etc. should be avoided whenever you're sharing data that should be available only for a selected audience (ie. your company, private network). Instead of trusting external providers, you could host your own pastebin service and take the ownership of all your data!
Whenever you need to share a code snippet, diff, logs, or a secret with another human being, the Pastebin service is invaluable. However, using public services such as pastebin.com, privnote.com, etc. should be avoided whenever you're sharing data that should be available only for a selected audience (i.e., your company, private network). Instead of trusting external providers, you could host your own Pastebin service and take ownership of all your data!
**There are numerous [Pastebin implementations](https://github.com/awesome-selfhosted/awesome-selfhosted#pastebins) out there, why would you implement another one?**
While the other implementation are great, I couldn't find one that would satisfy my requirements:
While the other implementation is great, I couldn't find one that would satisfy my requirements:
* no dependencies - one binary is all I want, no python libs, ruby runtime magic, no javascript or external databases to setup
* storage - fast, lightweight, self-hosted key-value storage able to hold a lot of data.
* speed - it must be fast. Once deployed in a mid-sized company you can expect high(er) traffic with low latency expectations from users
@ -28,7 +28,7 @@ While the other implementation are great, I couldn't find one that would satisfy
* other features:
** on-demand encryption
** syntax highlighting
** destroy after read
** destroy after reading
** destroy after expiration date
This Pastebin implementation satisfies all of the above requirements!
@ -43,7 +43,7 @@ This is a rust version of Pastebin service with [rocksdb](https://rocksdb.org/)
* Encryption - password-protected pastes are AES encrypted/decprypted in the browser via [CryptoJS](https://code.google.com/archive/p/crypto-js/)
## Usage
Pastebin build only with `rust-nightly` version and requires `llvm` compiler to be present (rocksdb deps). To skip the build process you can use the docker image.
Pastebin builds only with `rust-nightly` version and requires `llvm` compiler to be present (rocksdb deps). To skip the build process, you can use the docker image.
### Cargo
```