segs.lol
Settings
ShareX
Chatterino
Settings; External Tools; Image Uploader
| Request URL: | https://segs.lol/api/upload |
|---|---|
| Form field: | file |
| Image link: | {link} |
| Deletion link: | {delete} |
DankChat
Native Twitch chat client for mobile --
Same configuration
format as Chatterino, uploader defaults to
i.supa.dog.
API
| Upload: | curl "https://i.supa.dog/api/upload" -F "file=@/home/supa/dog.png" |
|---|
content-type: application/json
{
"id": "${id}",
"ext": ".png",
"type": "image/png",
"checksum": "${md5}",
"key": "${key}",
"link": "https://i.supa.dog/${id}",
"delete": "https://i.supa.dog/delete?${key}"
}| Delete: | curl "https://i.supa.dog/api/delete?key=$fileKey" |
|---|
content-type: application/json
{
"success": true
}| Object: | curl "https://i.supa.dog/api/object?id=$fileId" |
|---|
content-type: application/json
{
"id": "${id}",
"type": "${mimetype}",
"date": "${Number(unixUploadTimeMS)}",
"size": "${Number(bytes)}",
"checksums": {
"md5": "${md5}"
},
"name": "${filename} (nullable)"
}