Hello World

Last message ago

Here come the random thoughts ...

Inspired by Linus's stream

I'm typing this on Telegram xD I've got a bot that saves the messages to MontoDB (yeah :shrug:) and then they get rendered by Next.js whenever I /publish that way I can keep some of them private.

Messages are grouped in "threads" to allow for related thoughts or ideas to go together. They get reset after 30min of no messages but can by continued by Replying to an older message. There's also /new to start a new thread right away.

There's one small issue thought, the Telegram bot library (https://github.com/teloxide/teloxide), which is amazing btw and also Rust btw, doesn't give you the message's markdown, either plain text with the format stripped away or a list of entities that have to be manually processed to get the nice markdown.

It wasn't that hard to process these entities though, so now we've got markdown working 🚀

https://gist.github.com/gillchristian/98d1d2cbb86a8a77f108980da2a4585f