Devlog #3 | Big milestone
What’s up buttercup
Okay, so 1. I found out that devlogs should be shorter than what I am doing, but I realised that other people are doing the same so I don’t know if I should make it shorter or no, but I’ll try to reduce it. 2. I just realised I probably shouldn’t have explained that part because now it’s longer. 3. I just did it again I am super sorry.
Okay fr now what’s up
I’ve finally implemented FILE TRANSFERS yay!! But why not earlier? I need to first implement basic security measures, authentication and where each file belongs to. If I hadn’t made that part yet, then I’d be stuck having a bigger headache than I already have. I’ve also added device information in order to display what devices share the same room. I’ve ALSO also added some new templates for flask to render_template() with and display new information.
Stubbornness
My biggest issue that I’ve encountered by far was downloading multiple files at a time. And I find it kind of stupid because why can I upload multiple files but not download them??? I’ve scoured the internet and found the same suggestion: “just make it so you download a zip brah”. But I did not like that idea, it was so stupid and just ruined usability. So after a while of thinking, I realised I would probably make multiple download links and return them to the user for them to install the files, but what python command/feature could do a sorta thing.. hmmm. what python command could bundle up strings into one big string that can be analysed piece by piece, like some sort of… list… (say that again..). Anywho, yeah so I made a function where it puts all the links it generated into one list and that way another function (at the moment it’s a render_template) can take all of the links and download each file individually in the same page without redirecting the user constantly and without the user knowing. Although at the moment it’s just one page that displays all of the links and you have to download them manually by clicking the links but that will change later. The app now also contains a license (GPL-3.0) that will get distributed with it once it releases.
What’s next?
Right now, all of my functions have to be accessed manually (so I have to go to one link to create a room, another to upload, etc, etc), I’ll change it to be one continuous smooth process. At the same time, I’ll implement approving connections and various other minor stuff.
What’s attached?
This is some brand-new stuff: I’m attaching a video that both shows the file transfer working AND promotes my app. (I was going to use Bobby brown’s song “that’s the way love is” because he’s the goat but because of copyright I can’t, so take this audioless video instead.)