Hi there!
I want to know if there is a way to use the assets uploaded in one Replit file/project in another file. Since each Replit file has a storage limitation, say 1GB, I want to reuse assets that I am uploading across projects. When I copy the asset link from any project’s file tree and refer to it in another file, it doesn’t work. And when I try to open that link in the browser, it doesn’t work either (screenshot attached).
I cannot find a way to make the project assets public so that they can be reused (what ChatGPT suggested).
I am new to Replit, and I am on the Education plan.
Yes, you can reuse assets. Open a file in your browser (using the repl.co domain), then use it by its URL in your other repl.
Side note: ChatGPT doesn't know what it's talking about. It just outputs the words that are most likely to (a) sound true and (b) make the user happy. It has no idea if its information is accurate, and it doesn't care.
I assumed that you are using static ("HTML/CSS/JS") repls.
Welcome! I see this is your first post. As a note, if an answer matches what you’re looking for, then mark that as “Solution.”
I see that you are grabbing the image straight from replit.com
If you want to upload assets on a repl, I suggest doing it in HTML/CSS/JS language.
Doing so will give you a web page, and on that webpage, and then you get the file by adding the path to the end of the URL.