Fork me on GitHub
#portal
<
2023-03-28
>
djblue05:03:52

Datafy / Nav and other runtime facilities are coming to Portal + Calva notebooks in the next release https://github.com/djblue/portal/pull/173

2
👍 4
2
p-himik21:03:59

I'm thinking of making a web app for a comfortable Transit data browsing. The current plan is to parse Transit and then simply visualize the resulting EDN in a nice way. Tried with zprint but it takes a long time for a piece of test data that I have. I was wondering - Portal has really nice features and works just fine with the data of that size. Is it possible to embed just its viewer on a web page, without all the server-related functionality? If so, what's the right place to start?

djblue22:03:34

That's essentially how https://djblue.github.io/portal/ works. Portal doesn't currently have an embedding API but it should be relatively easy to add 👌

djblue22:03:56

How would you like to consume it? Did you want to pull in the cljs code and build it yourself into your app or did you want to load the pre-built js and interop via js and edn/transit/json strings?

p-himik04:03:12

The former - I think it makes the most sense to bundle everything that I'll end up using in a proper build stage.