New approach to rendering in TB
I got stuck on rendering as it was too hard to implement, and i couldn’t find any support for it as it’s kind of a niche project.
I “abandoned” the project for a few months, which I regret, but I also had tons of stuff to do in the meantime, such as studying for my high school final exam, going on vacations and such, and also participating in a hackathon.
The hackathon#
I recently took part in the summer hackathon organized by NOI in the Lido of Schenna. I participated together with my friends and, although we did not win, we did very well and are very satisfied with it.
We will definitely take part in more hackathons, as NOI holds 2 events a year.
We were really proud of ourselves because our project’s mentor told us that he noticed that we were really well organized and managed time really well.
Our project#
The project we chose was to build a “collective radio station”, where users can add new songs, up- or downvote them and an algorithm would choose the best songs to play next.
We built ChillBox.
The killer feature is how it uses the Geolocation
API to make sure that users joining
a certain station must physically be present in that location to be able to add new songs etc.
tb, the new approach#
Back to tb, I decided to change approach to rendering in tb: instead of trying to render the page “1:1”, which other than being really hard, would probably not end up usable, i decided to instead go for a “reader mode” kind of approach, where i take the main content of a page, do some tree flattening stuff to then render it in a format that is readable. Of course this means that not every website will be recognizable, but i think it’s a much better fit for a terminal browser.