You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,20 @@ A minimal pastebin with a design shamelessly copied from
12
12
13
13
## Features
14
14
15
-
* axum and sqlite3 backend storing compressed paste data
16
-
* single binary with low memory footprint
17
-
* drag 'n' drop upload
18
-
* deletion after expiration, reading or by owners
19
-
* light/dark mode according to browser settings
20
-
* highlightable line numbers
21
-
* QR code to browse a paste's URL on mobile devices
22
-
* optional encryption with argon2 hashing and ChaCha20Poly1305 encryption
15
+
*[axum](https://github.com/tokio-rs/axum) and [sqlite3](https://www.sqlite.org) backend
16
+
* comes as a single binary with low memory footprint
17
+
* provides paste compression using [zstd](https://github.com/facebook/zstd)
18
+
* highlights entries with [syntect](https://github.com/trishume/syntect)
19
+
* has seven color themes in light and dark mode
20
+
* encrypts entries using ChaCha20Poly1305 and argon2 hashed passwords
21
+
* allows deletion after expiration, after reading or by anonymous owners
22
+
* shows QR code to browse a paste's URL on mobile devices
23
+
24
+
### Non-features
25
+
26
+
* user authentication and admin functionality
27
+
* arbitrary file uploads
28
+
* mitigations for all kinds of DoS attack vectors
23
29
24
30
25
31
## Installation
@@ -145,9 +151,9 @@ run-time behavior:
145
151
|`WASTEBIN_MAX_PASTE_EXPIRATION`| Maximum allowed lifetime of a paste in seconds. Disable with 0. |`0`|
146
152
|`WASTEBIN_PASSWORD_SALT`| Salt used to hash user passwords used for encrypting pastes. |`somesalt`|
147
153
|`WASTEBIN_SIGNING_KEY`| Key to sign cookies. Must be at least 64 bytes long. | Random key generated at startup, i.e. cookies will become invalid after restarts and paste creators will not be able to delete their pastes. |
148
-
|`WASTEBIN_THEME`| Theme colors and one of `ayu`, `base16ocean`, `coldark`, `gruvbox`, `monokai`, `onehalf`, `solarized`. |`ayu`|
154
+
|`WASTEBIN_THEME`| Theme colors, one of `ayu`, `base16ocean`, `coldark`, `gruvbox`, `monokai`, `onehalf`, `solarized`. |`ayu`|
149
155
|`WASTEBIN_TITLE`| HTML page title. |`wastebin`|
150
-
|`RUST_LOG`| Log level. Besides the typical `trace`, `debug`, `info` etc. keys, you can also set the `tower_http` key to a log level to get additional request and response logs. |---|
156
+
|`RUST_LOG`| Log level. Besides the typical `trace`, `debug`, `info` etc. keys, you can also set the `tower_http` key to a log level to get additional request and response logs. ||
0 commit comments