I make a lot of OC videos to post here on Lemmy. I’m on Nobara, which is currently on Fedora 39. I’m like an intermediate Linux user and mostly have experience with Debian. All of that being said, I’m up at odd hours.
If someone can help me figure out how to make a script to post a video to Lemmy when people are actually awake, that would be fantastic. It could be a lot, I know. I have no idea how to start here. It’d likely need a giant script, and API access along with possible sudo permissions.
I haven’t been a developer since ~2002 and even then it was only Java web stuff. So, while I might understand things with some guidance I can no longer really get things like this running by myself.
If anyone has info or guidance on how to get this done, I would greatly appreciate it. I’m trying to get automatic uploads to at least catbox.moe, and if possible YouTube (though I know that is unlikely).
I know this is an odd one, but I know you all (if anyone) have the technical set to help me out here. I’ll answer any questions I can!
@[email protected]
here’s the script
I wasn’t able to implement catbox nor youtube uploads for a few reasons:
I left in some helpful comments anyway.
All in all a fun exercise that brought me and lemmy closer together, and that’s what really matters. Turns out the real API docs were the friends we made along the way
I got this script to work! Yeah, I apologize for the lack of FOSS hosting for videos specifically, but there really aren’t great options out there unless I run and maintain my own PeerTube instance, which I’m not prepared to do technically or financially. I managed to get it working, so I really thank you for the hours of work you put in! I was able to do two test posts that worked well once I had oauth stuff sorted.
That’s great news! I hope my contributions didn’t require major overhauls on your part, and I’d love to see the end result (scrubbed of any private info of course) if you care to share.
No worries about the FOSS stuff, I was just fishing for excuses to absolve myself of guilt for not finishing it 😬
I really do appreciate the effort! I will take a look at this when I’m next able.