35
submitted 1 year ago* (last edited 1 year ago) by Disabled@burggit.moe to c/announcements@burggit.moe

People have been having issues with uploading images/videos to Burggit sometimes, usually a lemmy issue that we have no control over. Well now we have https://shota.nu feel free to upload your embeddable files there and embed them directly into Burggit! think of it as Imgur, but less retarded!

Check it out: https://shota.nu Keep uploaded content within Burggit Rules

important note: uploaded data is NOT encrypted. For encrypted temporary file sharing, try Shota Send instead.

Important note #2: Make sure to use the direct link when embedding files! It will look something like https://shota.nu/ss/yourfileid.extension. If it does not have the /ss/ it's not a direct link and will not embed properly on lemmy.

For ShareX Users (Click to expand)

ShareX Config Provided by: @Sheep@burggit.moe

Download link. Or just import the following from your clipboard into sharex:

{
  "Version": "13.1.0",
  "DestinationType": "ImageUploader, TextUploader, FileUploader",
  "RequestMethod": "PUT",
  "RequestURL": "https://shota.nu/upload/",
  "Headers": {
    "Accept": "application/json",
    "Linx-Delete-Key": null,
    "Linx-Access-Key": null
  },
  "Body": "Binary",
  "URL": "$json:direct_url$",
  "DeletionURL": "https://shota.nu/delete/$json:filename$?linx-delete-key=$json:delete_key$"
}

you are viewing a single comment's thread
view the rest of the comments
[-] Sheep@burggit.moe 1 points 1 year ago* (last edited 1 year ago)

Awesome. Is there any chance you can make a sharex config for it?

[-] Disabled@burggit.moe 1 points 1 year ago

I don't use ShareX it's probably possible, I enabled API usage of the service, however since I don't have a Windows machine I don't really have any means of testing this.

[-] Sheep@burggit.moe 2 points 1 year ago* (last edited 1 year ago)

I managed to get a config working. Feel free to include it in the main post for people on windows who do use sharex.

Download link. Or just import the following from your clipboard into sharex:

{
  "Version": "13.1.0",
  "DestinationType": "ImageUploader, TextUploader, FileUploader",
  "RequestMethod": "PUT",
  "RequestURL": "https://shota.nu/upload/",
  "Headers": {
    "Accept": "application/json",
    "Linx-Delete-Key": null,
    "Linx-Access-Key": null
  },
  "Body": "Binary",
  "URL": "$json:direct_url$",
  "DeletionURL": "https://shota.nu/delete/$json:filename$?linx-delete-key=$json:delete_key$"
}
[-] Disabled@burggit.moe 1 points 1 year ago

I've added this to the main post and credited you for it. Thank you! Very much appreciated.

[-] Sheep@burggit.moe 1 points 1 year ago* (last edited 1 year ago)

I just realized I made a "mistake" and used url instead of direct_url for the response which will cause issues in lemmy specifically as it has to be the direct url being posted. I've fixed my post and download link. If you could update it in the OP as well that would be much appreciated!

[-] Disabled@burggit.moe 2 points 1 year ago

I've updated the post with the latest script.

this post was submitted on 30 Jun 2023
35 points (100.0% liked)

Announcements

177 readers
2 users here now

Announcements/Changelogs go here.

founded 1 year ago
MODERATORS