Zulip Chat Archive
Stream: Is there code for X?
Topic: importing files from github in Lean 4 Web?
Isabelle Dubois (Feb 25 2025 at 12:15):
Is it possible to import files (or even folders) from a github deposit (or an html address) into Lean 4 Web? (with a command)
Floris van Doorn (Feb 25 2025 at 12:22):
It's not, unless you set up your own instance of the server.
Aaron Liu (Feb 25 2025 at 12:23):
There's the "Load File from Disk", "Load File from URL", and "Load File from Zulip" options on the top right corner, if that's what you want.
Aaron Liu (Feb 25 2025 at 12:24):
You can only have one file though.
Christian K (Feb 25 2025 at 14:25):
I forked the lean4 web server a while ago and created a file picker that could be used to open files in a github repo (but this was quite hacky and it is not online anymore).
Isabelle Dubois (Feb 25 2025 at 14:49):
Floris van Doorn said:
It's not, unless you set up your own instance of the server.
Ok, thanks.
Isabelle Dubois (Feb 25 2025 at 14:50):
Aaron Liu said:
There's the "Load File from Disk", "Load File from URL", and "Load File from Zulip" options on the top right corner, if that's what you want.
I wasn't precise enough: it's not what I wanted. I knew this option, but i wanted to be able to import many files, and if possible with a kind of "import" command.
Isabelle Dubois (Feb 25 2025 at 14:53):
Christian K said:
I forked the lean4 web server a while ago and created a file picker that could be used to open files in a github repo (but this was quite hacky and it is not online anymore).
Interesting indeed. Thanks for the answer!
Last updated: May 02 2025 at 03:31 UTC