A lot of my time being semi productive on the indieweb is a product of me being bored in school so from 8:00 a.m. to 2:00 p.m are the times where I most focus on coding and talking in forums
but when it comes to doing sillier stuff like playing videogames, watching YouTube, coding (again, I'm addicted to editing my site) and that sort of things I mostly do it during the weekends, more specifically in the evening so somewhere between 3:00 p.m. and 9:00 p.m.
in terms of the settings (aside from school as I mentioned before) I'm mostly either on my bedroom (pros: cozy temperature my room is always cold for some reason, really pretty and colorful cons: really small bed, kinda messy) or the guest's bedroom (pros: there's a TV I use for background noise, big and comfy bed cons: less cozy than my bedroom)