gosling-lang / gos

A declarative interactive genomics visualization library for Python.
https://gosling-lang.github.io/gos
MIT License
218 stars 14 forks source link

Suggestion: embed local data when exporting (if possible) #153

Open manzt opened 6 months ago

manzt commented 6 months ago

For simple text-based datasets (e.g., tsv/csv), it would be nice to just embed the data in the final HTML to avoid needing a server. We could add an extra option to render html (e.g., embed_data) to embed data in the HTML and include a data URL.

https://github.com/gosling-lang/gos/blob/2bef69b4d756f17ebfea8f231e694f7bb844ea38/gosling/display.py#L13-L77

cc: @maxgmarin