Hello all. I found this edited resource: https://github.com/jonassvensson4/screenshot-basic
Since wew.wtf is down for image uploads then i decided to try imgur, but most of the scripts like gcphone or EasyAdmin are in lua. But in readme is only JS export. Can anybody help me that export to LUA, please? Im talking about this:
// Imgur client ID
const CLIENT_ID = 'changeThis';
exports['screenshot-basic'].requestScreenshotUpload(`https://api.imgur.com/3/upload`, 'imgur', {
headers: {
'authorization': `Client-ID ${ CLIENT_ID }`,
'content-type': 'multipart/form-data'
}
}, ( data ) => {
console.log(JSON.parse(data).data.link);
});
Thanks for any try