CloudBot icon indicating copy to clipboard operation
CloudBot copied to clipboard

Pastebins are broken

Open linuxdaemon opened this issue 1 year ago • 3 comments

Both hastebin and sprunge are non-functional now, so pastes aren't working again. I have plans for the Snoonet instance of gonzobot to use a google cloud storage bucket for pastes but as that is a paid service and requires a lot of setup, I think we need to replace the existing pastebins in the core.

I'm not sure what the best pastebins are these days, which ones have APIs, etc. so any help or input would be welcome.

linuxdaemon avatar May 31 '24 20:05 linuxdaemon

You have some services such as Termbin, but I think this could probably use more research. These pastes are mostly useful for debugging anyway, so there is no need to have them retained for very long in most cases.

Another option could be to have the bot log the full error text to channels.

Techman avatar Jul 29 '24 22:07 Techman

what is the workaround to this? im getting errors about sprunge and hastebin unauthorized.

d0rq avatar Aug 25 '24 15:08 d0rq

rentry.co is a good pastebin project to support

while they do not have an API, here is a python library that allows access to it from CLI: https://pypi.org/project/rentry/

there is also a script that utilizes it: https://github.com/radude/rentry

i believe rentry.co does use ads on pastes but they're managed with an adblocker without a problem.

this is something you can easily incorporate into the bot

hazeyez avatar Oct 23 '24 03:10 hazeyez