this post was submitted on 22 Feb 2024
23 points (96.0% liked)

Linux

8210 readers
556 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
23
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/linux
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 9 months ago (2 children)

Out of interest, why do the videos need to be posted at a specific time? As the world rotates, different people are awake all the time. Are they specific to your local area?

[–] meekah 5 points 9 months ago (1 children)

The land, and thus the population of the earth aren't distrubuted equally across the globe. This causes a day-night cycle for online communities, despite being international, just due to the fact that the majority of humans live somewhat close together on a global scale.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

That's true, I hadn't thought of that. So the optimal time to get the most people waking up to your content is about 01:30 UTC for India waking up from 7am (UTC+5:30), or 23:00 UTC for China at UTC+8!

https://distributionofthings.com/world-population-by-time-zone/

[–] meekah 1 points 9 months ago (1 children)

If there really is an equal distribution of users across the globe, yes. But you also need to consider that most users here are probably from Europe or north america, but I'm not sure about that.

[–] [email protected] 1 points 9 months ago (1 children)

Yeah, and there's no way to know.

[–] meekah 1 points 9 months ago

Not without asking all instances to pile together the IPs that access them, I suppose. But there are ways to make educated guesses, like using polls and interpolating that data.

[–] [email protected] 4 points 9 months ago

It is entirely me wanting people to see them. Many sort by new, hot, top x hours etc. I'd just like to make people happy by posting stuff at an optimized time.