migrate: more services for kid

This commit is contained in:
Strix 2023-10-22 16:51:58 +02:00
parent bf1bb72437
commit 48c6a57623
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
10 changed files with 386 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/bin/sh
url="https://bin.ixvd.net"
filepath="$1"
filename=$(basename -- "$filepath")
extension="${filename##*.}"
response=$(curl --data-binary @${filepath:-/dev/stdin} --url $url)
echo "$url$response"".""$extension" | tee >(xclip -selection clipboard)