Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Support export QBjs projects to single file .htmls like the BASIC Anywhere Machine does #116

Open
SugarRayLua opened this issue Oct 4, 2024 · 4 comments

Comments

@SugarRayLua
Copy link

Great project!

Would be neat if QBjs could also export single file .htmls so that could send projects to others and they are able to open up and run in their browsers independently of having previously installed QBjs or load from the QBjs website as the BASIC Anywhere Machine is able to do:

https://basicanywheremachine.neocities.org/bam-ide

Fyi

Thanks!

@boxgaming
Copy link
Owner

Hi @SugarRayLua thanks for checking out the project and for the suggestion.

QBJS has a few different options for sharing your projects with others. If you click the share button in the toolbar you can create a link that will load your program in QBJS that you can share with others. You can choose whether the link should load in the IDE or just run the program.

If you select the Export button when you have either the "Play" or "Auto" option selected you can download a zip of your program. You can unzip this and run your application standalone on your desktop by opening the index.html file. The zip file is also already in a convenient format for uploading to app/game sharing sites like itch.io.

@SugarRayLua
Copy link
Author

Thanks for your reply, @boxgaming and the great application!

I do see that one can export files that I create; however, I am primarily a mobile user and the export zip/folder that QBJS produces can't be executed on mobile devices (iOS, Android) without setting up a local server on my mobile devices to do so. I don't mind setting up a local server on my device to do so but isn't as practical to instruct others (e.g. friends/family) on how to do so on their devices (and that aren't as computer literate) if I choose to send them projects that I create with QBJS. Thus, I was hoping that in the future QBJS might be able to export single file .htmls that mobile devices could open directly.

@mobluse
Copy link

mobluse commented Oct 7, 2024

You can send them programs in links in e.g. emails.

@SugarRayLua
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants