QB64 Phoenix Edition
Portable QBJS - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: QBJS, BAM, and Other BASICs (https://qb64phoenix.com/forum/forumdisplay.php?fid=50)
+--- Thread: Portable QBJS (/showthread.php?tid=1695)



Portable QBJS - mnrvovrfc - 05-22-2023

QBJS is a good idea in this burgeoning world.

Soon I'm not going to be able to have my own online connection. Pretty much for the rest of this year but really uncertain the next.

Therefore, my question is this: could QBJS be used totally offline? If so, how?

I support this because I prefer something as compatible with QB64 as possible, if I have to use it only inside a web browser.


RE: Portable QBJS - dbox - 05-22-2023

Yes, you can run QBJS locally if you want.

Just download the latest release here: https://github.com/boxgaming/qbjs/releases/latest

Then unzip it to your preferred location on the file system.

Much of the application can be used just by opening the index.html file in a web browser.

However, if you want the full functionality locally, you can run the included webserver.  (It is a slightly modified version of luke's HTTP web server example that he posted some time ago on the qb64.org forum.)

Just compile the tools/webserver.bas file and then run it from the main directory where you unzipped the project:

tools\webserver 8888

Then you can open your browser to the local instance: http://localhost:8888/index.html.


RE: Portable QBJS - mnrvovrfc - 05-22-2023

Thank you for your answer. Smile