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

Offline Mode (Electron Wrapper) #4410

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ChinmayVS
Copy link

@ChinmayVS ChinmayVS commented Feb 14, 2025

offline-mode-demo.mp4

Closes #4409

How To test :

npm i
npm start

Demo:

@ChinmayVS
Copy link
Author

@walterbender @pikurasa I want you to explore this idea of mine. Locally running Music Blocks as a desktop application. Allows the users to install through Microsoft Store and Linux Snap store being one the future implication.

@ChinmayVS ChinmayVS changed the title Add electron wrapper (offline) Offline Mode (Electron Wrapper) Feb 14, 2025
@omsuneri
Copy link
Member

@ChinmayVS i have a question that do we still can launch the web app locally on browser or not ??
again if yes then i think it need to be dicussed but if no then we should not do that as directly migrating from the webapp to the local app is difficult in many terms as from users' perspective
more discussion is needed before this..

@ChinmayVS
Copy link
Author

Hey @omsuneri if I'm understanding you right, you can run the desktop app from npm start and the local browser development stays as usual (launch from index.html or python script or docker). We should totally have discussions on this and implications next steps. Consider this to be an addition of offline mode so it can reach more users.

@omsuneri
Copy link
Member

@ChinmayVS I m curious about knowing how this would be beneficial as I feel web app more comfortable from a children's perspective also if it resolves the performance issue like reducing loading and import export time then we can think of it

@Commanderk3
Copy link
Contributor

@ChinmayVS I suspected we could save or download MB, and my assumption was true. Have a look at this video :->

mb.mp4

@ChinmayVS
Copy link
Author

@ChinmayVS I m curious about knowing how this would be beneficial as I feel web app more comfortable from a children's perspective also if it resolves the performance issue like reducing loading and import export time then we can think of it

Hey I completely hear you, but I think the point I'm pushing here is quite different from abandoning the web app. The idea is to be seen as an addition where the user gets the opportunity to make projects even without internet services.

@pikurasa
Copy link
Collaborator

I'm not quite sure where this is going, but please be aware of https://github.com/ukkari/musicblocks-electron and MB in the Google Play store, as well as MB in flatpak

@ChinmayVS
Copy link
Author

I'm not quite sure where this is going, but please be aware of https://github.com/ukkari/musicblocks-electron and MB in the Google Play store, as well as MB in flatpak

Hey, I wasn't aware of this. However after setting up the repository locally, I figured out that it does not work, maybe as it points to commit which was made 6 years ago, also other dependencies and lockfile are outdated as well as the project is not maintained.

old-electron

By adding the electron wrapper in the main repository:

  • The desktop application will always point to the latest commit/work with the latest release
  • No need to maintain a different repository (no need to care about things getting outdated)

I'm aware about the app on play store and flatpak release , however it would also be a good idea to bundle it as a snap as it is used more in linux based os, and bundle it as a Windows version (.exe) and macOS version (.dmg)

This would help increase the project use in offline use-cases and make it available on every OS. Hence,
reaching more people

@arjunjayan999
Copy link
Contributor

I'm not quite sure where this is going, but please be aware of https://github.com/ukkari/musicblocks-electron and MB in the Google Play store, as well as MB in flatpak

@pikurasa I was checking the android version out, and it isn't updated for the newer android versions.
24f2b1b0-3e35-4b34-a4bb-97ca3e706e7d
I used the link in the README.md, does it need to be updated?

@pikurasa
Copy link
Collaborator

I used the link in the README.md, does it need to be updated?

You are looking at the right spot. I've asked @fakela for assistance.

@pikurasa
Copy link
Collaborator

By adding the electron wrapper in the main repository:

Sure.

I was sending the link so you had additional context. That was for an offline version that was requested by the Japanese government when we were working for them.

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

Successfully merging this pull request may close these issues.

Add Offline mode to musicblocks
5 participants