I looked into it a bit and this shouldn’t be too bad. Use rss to get new hexbear posts, check links against a whitelist of sites that should be archived, check archive.ph/latest/<url> to find an existing archive. If you get one (302 response) post it, otherwise (404 response) use https://archive.ph/submit/?url=<url> to request an archive. Wait 5 minutes, then query archive.ph/latest/<url> to get the url and post that.
I might try to throw something together in the next week.
https://archive.ph/eUUH3
(hmm would be kinda cool if we had a bot that checked archive for already-saved copies and posted the link…)
Thank you.
would be kinda cool if OP just fucking did this themselves
I’ll be over here beating myself up because I’m too demoralized to write a bot
I looked into it a bit and this shouldn’t be too bad. Use rss to get new hexbear posts, check links against a whitelist of sites that should be archived, check archive.ph/latest/<url> to find an existing archive. If you get one (302 response) post it, otherwise (404 response) use https://archive.ph/submit/?url=<url> to request an archive. Wait 5 minutes, then query archive.ph/latest/<url> to get the url and post that.
I might try to throw something together in the next week.