From 8531d09a04def42e6f4ac81f23e656a3fd8aeeaf Mon Sep 17 00:00:00 2001 From: CaffeineFueled Date: Sat, 20 Sep 2025 18:00:15 +0200 Subject: [PATCH] CHANGE env variable DESCRIPTION and FIX README formatting in the LICENSE section --- README.md | 26 ++++++++++++++------------ main.py | 2 +- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index bdc037c..c55e80e 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ ## Usage +Check [linedump.com](https://linedump.com) for now - coming soon. + --- ## Installation @@ -41,7 +43,7 @@ Use with reverse-proxy and HTTPS! | Variable | Description | Default | Required | |----------|-------------|---------|----------| | `DOMAIN` | Domain name used in the application responses and examples | `linedump.com` | No | -| `DESCRIPTION` | Application description displayed in the root endpoint | `(open source*) text-only CLI paste and share application.` | No | +| `DESCRIPTION` | Application description displayed in the root endpoint | `CLI-only pastebin powered by linedump.com` | No | | `MAX_FILE_SIZE_MB` | Maximum file size limit in megabytes | `50` | No | | `RATE_LIMIT` | Rate limit for uploads (format: "requests/timeframe") | `50/hour` | No | | `URL_PATH_LENGTH` | Length of generated URL paths (number of characters) | `6` | No | @@ -57,17 +59,17 @@ For security concerns or reports, please contact via `hello a t uphillsecurity d ## License **Apache License** + Version 2.0, January 2004 + http://www.apache.org/licenses/ -[LICENSE FILE](/LICENSE) - -✅ Commercial use -✅ Modification -✅ Distribution -✅ Patent use -✅ Private use -✅ Limitations -❌Trademark use -❌Liability -❌Warranty +- ✅ Commercial use +- ✅ Modification +- ✅ Distribution +- ✅ Patent use +- ✅ Private use +- ✅ Limitations +- ❌Trademark use +- ❌Liability +- ❌Warranty diff --git a/main.py b/main.py index b603f24..6c0814c 100644 --- a/main.py +++ b/main.py @@ -15,7 +15,7 @@ import threading DOMAIN = os.getenv('DOMAIN', 'linedump.com') -DESCRIPTION = os.getenv('DESCRIPTION', '(open source*) text-only CLI paste and share application.') +DESCRIPTION = os.getenv('DESCRIPTION', 'CLI-only pastebin powered by linedump.com') MAX_FILE_SIZE_MB = int(os.getenv('MAX_FILE_SIZE_MB', '50')) RATE_LIMIT = os.getenv('RATE_LIMIT', '50/hour') URL_PATH_LENGTH = int(os.getenv('URL_PATH_LENGTH', '6'))