Access Repl file from HTML website
Hi all, I am trying to create a very basic HTML website including only one of my Repl (embedded into the webpage) and an image generated by the Repl when it's run (Graph.png).
I am a beginner in HTML and i do not know whether this would be easily possible ?
Ideally, every time the Repl is run, I would like the image to be updated.
Thanks for any suggestion :)
Ben
Hello. Click
Hi @Coder100 thank you very much for your answer !
However I would like the rest of the files to remain hidden. I would love to have it as simple as possible :
- The command console
- The Figure below being updated every time the script is run
In python it would be straight forward to access the "fig" but in HTML I guess it is not that simple. I tried copying the whole figure address but it is specific to a single graph which is not being updated every time.
ah, you can have: outputonly=1
@BenjaminPS
example:
https://repl.it/@HahaYes/Dark-Clock-UI?lite=true&outputonly=1 (i just took a random person's repl lol) @BenjaminPS
Hi @Coder100 thank you again ! I'm afraid this person does not have an embedded Repl. He just uploaded a png file to his HTML folder :(
I'm afraid that What I'm trying to do is gonna be harder (his stuff looks awesome though !)
Yep it is possible. You will need to know a bit of HTML and JavaScript
Hi @VulcanWM thank you very much for your answer !
Could you give me a hit on how to begin ?
Umm... I don't know Javascript, but you can use the embed tag to put one of your repls. Look at this for more information @BenjaminPS
wait so you want help with what my reading skills are
badd