gzuidhof / starboard-notebook

In-browser literate notebooks
Mozilla Public License 2.0
1.21k stars 95 forks source link

Import functionality for exported notebooks #79

Open bartbroere opened 2 years ago

bartbroere commented 2 years ago

As far as I know, the self-hosted version of Starboard Notebook does not have import functionality for .sb-files yet. Could this be added? I'm willing to work on this myself too, if that helps.

Also, @gzuidhof, do you happen to have new Discord invite links? Me and some colleagues might want to build some features into Starboard Notebook, and the Discord could be a nice place to share progress.

gzuidhof commented 2 years ago

Here's a discord invite :) https://discord.gg/A8rMjSEC

There are currently two "self hosted" versions of Starboard that take a folder of notebooks and serve them, there's starboard-cli and starlit. I think starlit is the better choice, but it's definitely a work in progress (and I'm having a hard time finding time for that project specifically).

Perhaps Starboard Editor is a good fit for what you are trying to do, it allows you to upload sb files: https://stefnotch.github.io/starboard-editor/

bartbroere commented 2 years ago

Thanks a lot for these tips! We'll go and find out what works for us. I'm afraid this can't be any out-of-the-box solution, because we most likely want to integrate saving notebooks with an existing service that's basically a large key-value store.

gzuidhof commented 2 years ago

That's cool, and to be honest that's the intention behind Starboard anyway: it is really designed to be integratable into your own "app" or website, instead of owning the entire experience. The starboard-wrap library has most of the boilerplate you will need to hook it up to your own webapp (such as hooks for when the user wants to "save" and tracking saves/unsaved changes).