Hello!
While I've been working on a chdig (top for clickhouse), I needed a way to share flamegraphs easily.
The problem is that speedscope can only open profiles via URLs, so you need some kind of copy-paste service to upload the profile and then generate a link like https://www.speedscope.app/#profileURL=....
There is already a copy-paste service with end-to-end encryption — pastila.nl (which is also built on top of ClickHouse). However, it requires JavaScript execution, so links from pastila.nl cannot be opened directly in speedscope at the moment.
But, it requires execution of JavaScript, so you won't be able to open links from pastila.nl in speedscope right now.
Since I do not write in TypeScript/JavaScript, I've asked Claude to implement it here - azat-ch#2 (it just copy-paste the logic of pastila.nl)
Will you be interested in this integration?