From 553b1a12dbf52339079b65a02ec09971e071a9cb Mon Sep 17 00:00:00 2001
From: whoswhip <124531971+whoswhip@users.noreply.github.com>
Date: Sat, 19 Oct 2024 00:12:01 -0400
Subject: [PATCH 1/4] Update install.sh
---
PasteBin/install.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/PasteBin/install.sh b/PasteBin/install.sh
index 4f88950..54e5204 100644
--- a/PasteBin/install.sh
+++ b/PasteBin/install.sh
@@ -6,8 +6,8 @@
## This is a semi completed script to install Sharpbin on Linux, however it does not set it as a system daemon/service, cause idk how to do that lol
##
-sudo mkdir -p /usr/local/bin/Sharpbin
-cd /usr/local/bin/Sharpbin
+mkdir sharpbin
+cd sharpbin
curl -s "https://api.github.com/repos/whoswhip/Sharpbin/releases/latest" | jq -r '.assets[] | select(.name | test("sharpbin-linux.tar$")) | .browser_download_url' | xargs -I {} curl -L -o sharpbin-linux.tar {}
@@ -20,4 +20,4 @@ echo "Enter your cloudflare secretkey: "
read secretkey
-echo "{ \"CF_TurnstileSiteKey\": \"$sitekey\", \"CF_TurnstileSecret\": \"$secretkey\" }" > config.json
\ No newline at end of file
+echo "{ \"CF_TurnstileSiteKey\": \"$sitekey\", \"CF_TurnstileSecret\": \"$secretkey\" }" > config.json
From 92f1ef1dbfffd734ae3665af0e1f9b8042fb1b62 Mon Sep 17 00:00:00 2001
From: whoswhip <124531971+whoswhip@users.noreply.github.com>
Date: Sat, 19 Oct 2024 00:14:23 -0400
Subject: [PATCH 2/4] Update install.sh
---
PasteBin/install.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PasteBin/install.sh b/PasteBin/install.sh
index 54e5204..1984893 100644
--- a/PasteBin/install.sh
+++ b/PasteBin/install.sh
@@ -9,7 +9,7 @@
mkdir sharpbin
cd sharpbin
-curl -s "https://api.github.com/repos/whoswhip/Sharpbin/releases/latest" | jq -r '.assets[] | select(.name | test("sharpbin-linux.tar$")) | .browser_download_url' | xargs -I {} curl -L -o sharpbin-linux.tar {}
+curl -s "https://api.github.com/repos/whoswhip/Sharpbin/releases/latest" | jq -r '.assets[] | select(.name | test("sharpbin-linux-.*\\.tar$")) | .browser_download_url' | xargs -I {} curl -L -o sharpbin-linux.tar {}
tar -xvf sharpbin-linux.tar
chmod +x Sharpbin
From c90bd84ad7ddd15ba76ed1313b00b2002eeac10c Mon Sep 17 00:00:00 2001
From: whoswhip <124531971+whoswhip@users.noreply.github.com>
Date: Sat, 19 Oct 2024 00:56:02 -0400
Subject: [PATCH 3/4] Update README.md
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 32399d0..201a62d 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,7 @@ Sharpbin can be used for sharing large amounts of text.
- Private encrypted pastes, sadly the encryption is server side, although client side may be soon!
- Mobile Support
- Captchas for logins and sign ups
+- Editable pastes
... And more to come!
# Demo Website & Screenshots
@@ -24,4 +25,6 @@ You can find the test website at https://bin.whoswhip.top , there is no removed
-
+# TODO
+- Fix css on the confirmations
+- Update file size when an edit is made in the database
From b872de29d27a5c517e49008f175d6965251642e7 Mon Sep 17 00:00:00 2001
From: whoswhip <124531971+whoswhip@users.noreply.github.com>
Date: Sat, 19 Oct 2024 00:56:34 -0400
Subject: [PATCH 4/4] Update README.md
---
README.md | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 201a62d..ef600b4 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,10 @@ Sharpbin can be used for sharing large amounts of text.
- Editable pastes
... And more to come!
+# TODO
+- Fix css on the confirmations
+- Update file size when an edit is made in the database
+
# Demo Website & Screenshots
You can find the test website at https://bin.whoswhip.top , there is no removed functionality and is the exact same code in this repo.