Hi, I would like to create a program that uploads files to GitHub. I managed to do it using JavaScript. However, I can’t figure out how to do it with GDscript. So, I would like to run the JavaScript code on Godot. I don’t know if that is possible. If it is not, could anyone tell me how do make the program that uploads files using GDscript?
However, if you only want to have Godot run JavaScript, then you could export the game “for web”. This exports it into an HTML page that you could convert to an exe file, there are a number of projects that could do that.
You can’t use JavaScript in Godot unless it’s exported for the Web. You may be able to use it as an scripting language but it won’t have support for uploading files. That’s not a language feature but an implementation.
You can upload files directly with HTTPRequest but you’ll need to create the http request payload by hand.