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

Trying to use glicol offline #159

Closed
asorc opened this issue May 15, 2024 · 3 comments
Closed

Trying to use glicol offline #159

asorc opened this issue May 15, 2024 · 3 comments

Comments

@asorc
Copy link

asorc commented May 15, 2024

Hello,

I have all the files of the cdn repository mirrored on my hard disk.

I manage to open the index.html with the minimal example, but when I try the hello world code o1: sin 440, and press the run button, I don't get any sound.

Any advice on what's not working?

I would like to use glicol on my browser offline.

Thank you very much for your attention.

Regards

@chaosprint
Copy link
Owner

chaosprint commented May 15, 2024

to use the js folder offline you need to have pnpm installed.

  • cd js
  • pnpm i
  • pnpm dev --open

however, this will also require the usage of cdn.

to get rid of that completely, you need to comment out this line:

window.version = "v0.13.5"

I also recommend glicol-cli for offline usage

@asorc
Copy link
Author

asorc commented May 15, 2024

I see. Thanks a lot. I have installed rust on Windows 7 following the steps on the link, but I am not sure If Cargo is already installed, or what what are the steps to install Cargo.

On the link It says:

"On Windows, download and run rustup-init.exe. It will start the installation in a console and present the above message on success.

After this, you can use the rustup command to also install beta or nightly channels for Rust and Cargo."

I have run cargo on the command line, and It gives me an error. It tells me to run "rustup default stable". When I run It, the link to download It fails.

@chaosprint
Copy link
Owner

chaosprint commented May 15, 2024

I see. Thanks a lot. I have installed rust on Windows 7 following the steps on the link, but I am not sure If Cargo is already installed, or what what are the steps to install Cargo.

On the link It says:

"On Windows, download and run rustup-init.exe. It will start the installation in a console and present the above message on success.

After this, you can use the rustup command to also install beta or nightly channels for Rust and Cargo."

I have run cargo on the command line, and It gives me an error. It tells me to run "rustup default stable". When I run It, the link to download It fails.

not sure how to solve it. Windows 7 may be challenging for development as far as I know.

maybe you can ask here https://users.rust-lang.org/

https://chat.openai.com/
or
https://www.perplexity.ai/

may also be helpful

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

2 participants