11-22-2023, 10:58 PM
Hi @JamesAlexander,
Yes, you can run a local version of QBJS. Just do the following:
1) Download the zip from the latest release: https://github.com/boxgaming/qbjs/releases/latest
2) Unzip it to your preferred location
3) Open the index.html in a browser
You can run much of the functionality with this simple approach. For the full functionality you will need to run a local webserver. For convenience, there is a simple one included in the project. Just compile the webserver.bas in the tools directory (with QB64). Then from a command line, run the following command from the directory where you unzipped the project:
c:\users\dbox\qbjs> tools\webserver.exe 8888
Then you can open up a new browser to the local URL: http://localhost:8888/index.html
Now you've got the whole app running on your desktop.
(There has also been some preliminary work by @grymmjack to create a version of QBJS which can run inside VSCode as an alternative to the method I described above. It has been discussed here in another thread.)
For clarity... QBJS is a separate, open source project, independent from QB64(PE). The source is available to anyone on github.
Yes, you can run a local version of QBJS. Just do the following:
1) Download the zip from the latest release: https://github.com/boxgaming/qbjs/releases/latest
2) Unzip it to your preferred location
3) Open the index.html in a browser
You can run much of the functionality with this simple approach. For the full functionality you will need to run a local webserver. For convenience, there is a simple one included in the project. Just compile the webserver.bas in the tools directory (with QB64). Then from a command line, run the following command from the directory where you unzipped the project:
c:\users\dbox\qbjs> tools\webserver.exe 8888
Then you can open up a new browser to the local URL: http://localhost:8888/index.html
Now you've got the whole app running on your desktop.
(There has also been some preliminary work by @grymmjack to create a version of QBJS which can run inside VSCode as an alternative to the method I described above. It has been discussed here in another thread.)
For clarity... QBJS is a separate, open source project, independent from QB64(PE). The source is available to anyone on github.