Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-09-20 14:41:29 +03:00
parent e0c1c7e4dd
commit 68bc0ff636
4 changed files with 7 additions and 2 deletions

2
.envrc Normal file
View File

@@ -0,0 +1,2 @@
use flake

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
static static
result result
.direnv

View File

@@ -17,7 +17,7 @@
packages = rec { packages = rec {
slenpaste = pkgs.buildGoModule { slenpaste = pkgs.buildGoModule {
pname = "slenpaste"; pname = "slenpaste";
version = "0.2.1"; version = "0.2.2";
src = ./.; src = ./.;
goPackagePath = "github.com/slendidev/slenpaste"; goPackagePath = "github.com/slendidev/slenpaste";
vendorHash = "sha256-MUvodL6K71SCfxu51T/Ka2/w32Kz+IXem1bYqXQLSaU="; vendorHash = "sha256-MUvodL6K71SCfxu51T/Ka2/w32Kz+IXem1bYqXQLSaU=";

View File

@@ -131,7 +131,9 @@ Upload from stdin and expire on first view:
cat yourfile.txt | curl --data-binary @- "%s/?expiry=view" cat yourfile.txt | curl --data-binary @- "%s/?expiry=view"
</pre> </pre>
<form id="form" enctype="multipart/form-data" method="post"> <a href="https://git.slendi.dev/Slendi/slenpaste.koplugin">Download the new KOReader plugin!</a>
<form id="form" enctype="multipart/form-data" method="post" style="margin-top: 13px;">
<input type="file" name="file" id="fileInput"> <input type="file" name="file" id="fileInput">
<div class="controls" style="margin-top: .75rem"> <div class="controls" style="margin-top: .75rem">