[Siege, do not ship] SoM devlog CLI

[Siege, do not ship] SoM devlog CLI

6 devlogs
8h 7m
Created by aaa

CLI that lets you post a SoM devlog for your projects

Timeline

(test devlog for SoM ship showcase) I considered the potential of users and reviewers alike not reading the conveniently named README,
so I added some checks that tell the user to fix their session.json if it is missing or broken

Update attachment

I added argparse support, the tool now takes project ID+devlog image+devlog text (or a readable file). well, let's test it :P

Update attachment

(this is a test devlog) if you're seeing this, i fiddled around with multipart forms enough to get this devlog submitted

Update attachment
aaa aaa 9 months ago

wuh, forgot to actually write my text for this… apologies. the image here would have been a screenshot of the last post, since that’s a pretty clear demonstration. for this update, I made added the filename to the request (the last devlog has a “devlog[file]“ filename inherited from the request field :P ), and found a way to get the server response (redirect) back

(this is a test devlog) if you're seeing this, i fiddled around with multipart forms enough to get this devlog submitted

Update attachment
aaa
aaa
4h 59m 9 months ago

Made the functions that write my own multipart form data (apparently, requests can do that itself? woah,,,), but the server was always returning 400 (Bad Request). I found a way to probably fix this. posting this devlog so that the next one can be testing

Update attachment

All this beautifulsoup work just to get the csrf token pf
I also got cookies kind of set up with a separate session.json file so that i don't leak my session cookies :p

Update attachment