I’m new to svelte, and I need to develop an Amazon Turk application that presents videos (which are basically stils located under a dir on GitHub
here), and the user should interact with this video and mark several locations.
I have the skeleton of the program redy, and available here, but I stuck at getting all the dir URLs from the GitHub.
Of course I could manually type all the dir ids, but I’m sure there is a better way for doing it.
What I have by now:
- I saw this answer that use the
import.meta.glob()
module to
list local files / dirs. - I tried using the root URL with this
command like
const imageDirs = import.meta.glob("/https://raw.githubusercontent.com/lieldvd/mturk/main/*.jpg");
but without luck.
Is there a way to come to the desired outcome?
Thanks in advance