I am writing a web app with jupyter-lab, ipywidgets, and voila.
In this web app, after taking instructions by the user, the notebook generates some data (a dictionary) that the user needs to download (as a .json file). The simple solution I found online is to write a file on the server with the content and provide the user with a link. However, I think this is super ugly, and very inefficient or dangerous if many users run the web app at the same time. I wonder if there is a way to create a download option for the user without writing anything on the server-side. Does anyone have some clue?
Thanks in advance, Lorenzo