Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor20272dThis is how nice an YouTube embedding is displayed when a YouTube url is included: https://devrant.molodetz.nl/preview...
So, now it's easy to just watch it quickly in app without navigating somewhere else. -
The more people use unofficial clients the easier it will be to switch to an unofficial backend one day.
-
@Lensflare I've been somewhat toying with the idea in between other things, I wanna back up the entirety of devrant (all posts, collabs, users), and make a publicly accessible database (that is kept updated with devRant) and an API, so that if/when devRant gets shut down, all the actual posts are backed up and whoever(me included, if the time would allow me) would make the replacement, could include "Legacy Posts" in the new app and build the backend on top of the backup's backend (instead of writing it completely from scratch), I'm currently designing a crawler to be able to reach older rants (since devrant's API for some reason only shows VERY recent rants, I'm getting no further than ~40 rants back on the feed) but I'm at least listening to new rants.
-
And if I'll have time in the next months (I am way too busy and I still have the Android client as a higher priority) I'll also make a small web-client of my own on top of the backup to be able to launch it as a zero-day replacement in case devRant shuts down.
But since that is for a further future this is providing devRant survives for at least half a year (Which I feel is a valid expectation, but also if/when devRant shuts down it would probably be unexpectedly so tomorrow, in a week, in a month, in half a year, and in 5 years all seem equally probable to me) -
retoor202721h@Lensflare don't tell the people our dark plan!
@SoldierOfCode is already done. See the example directory of https://retoor.molodetz.nl/retoor/... and there is an aiohttp crawler that will download whole reachable devrant. It will go from rant to users to their last rants and so on. In the end you end up with 30gb database of rants. You only have to start the script. -
@retoor @whimsical I think you will be pleased to hear the crawler is written in the python that you like so much
-
@retoor Oh, okay, an already existing crawler is great(one less thing to work on would be amazing), but how did you get to 30GB???
I have downloaded slightly less than 50,000 rants and it only weights 35.8 MB
Also a question about your crawler, took a quick peek at it and it looks like while crawling through users there is only one API request, and I didn't see any loops to crawl through the user's entire rant/comment history (The API only spits up the last 30 rants and comments in the respose, to get the all you need to keep requesting with `skip=[number]` in the same way as the main feed), so my question is does your crawler actually go through the entire user's history or only recent rants?
Related Rants

It all makes sense now...
Hi party people,
Very nice new updates to Rantii app, it's maturing.
Now, in exception of only markdown / syntax highlighting,
it also does embed youtube / image (even from external urls, like devrant.molodetz.nl, so it looks like native devRant image upload).
The preview links are fixed and the shortened link in text is clickable and will navigate to the right url.
Example of how previews are displayed within the app: https://devrant.molodetz.nl/preview...
This is zoomed out from desktop but on phone looks even nicer.
Also, a big feature is that it remembers scroll positions now so you don't lose track of where you are in the main rant list after opening a rant and going back.
This feature makes it really worth to upgrade.
Important: if you have installed it as PWA in android, you have to go to it's icon, press down long on the icon and you'll see options to delete data. Do that. Then refresh the app main page and you'll have the version. Else, it's cached hardcore.
For the people not knowing the rantii app, it's android PWA solution (installable trough the settings page) on https://rantii.molodetz.nl.
It also has 7 color schemes under settings for the people not liking the original one.
By my knowing, it seems bugfree now? Any requests / idea's? (**Just see one: rant type selection when posting...**)
Hopefully made some people happii.
rant
devrant
image
client
youtube
bugfix
embedding
features
android
rantii
pwa
update