Show HN: Turn your GitHub Gist into a live dashboard
github.com
github.com
Here's another example that is just a slightly more complex: http://bottoml.in/e/kantord/57ec4e9533fcc91f8d413cc760fd9bcd
And here's the source: https://gist.github.com/kantord/57ec4e9533fcc91f8d413cc760fd...
This example uses JSON format instead of YAML though.
Turns out it is using my jq/emscripten wrapper. Pure magic of the destiny.
By the way I'm also working on a Javascript jq port. The main reason I'm doing that is that I want to reduce file size. Here's the repo in case you want to take a look at it. https://github.com/kantord/jq-in-the-browser
I initially didn't think it would be as powerful as jq. I've seen many people claiming to be doing "jq in Javascript", but they were only implementing the path searching part. Yours is truly amazing, it implements all the filters and the quirks of | syntax. I'll watch it.
About the jq-web size, it is greatly reduced in the minified version, but much better is the WASM version, not much for the size, but for the speed. Things are probably 10x or more faster there.
(Couldn't find that in the docs; please forgive me if I missed it.)
no. I think the question is more "how do i replicate the stuff going on at http://bottoml.in/e/ so that i can have these show up under my domain" and that little code snippet falls very short.
it was also my first question when i looked at it, and the lack of answer part of why i wandered off.
Actually, that code snippet is pretty much what's going on at https://bottoml.in/e/. There are 2 things I've removed from the example code because I thought they were irrelevant: 1) Loading GitHub Gists through their API 2) A code snippet that makes it possible to host single page apps on GitHub Pages.
I thought both of those things would be irrelevant because most probably you don't need either if you have your own backend.
In case you do need that code it's here: https://github.com/kantord/bottoml.in-e/blob/master/src/inde...
That is what I used to create this project :-) Of course that only works if you have access to the source code / can embed your own code/dependencies somehow.
It is possible to embed visualizations using just-dashboard too, but you don't necessarily need to do that if you only need a pie chart on your blog or whatnot.
I think my project is more useful for quickly creating standalone shareable data oriented pages. Of course I don't want to discourage you from using my own project, I'm just suggesting an alternative. Nevertheless, improving embed-ability is a low-hanging fruit so I'll probably work in that.