pianoverse_client/readme.md

26 lines
829 B
Markdown
Raw Normal View History

2024-11-25 09:52:32 +00:00
# [Pianoverse Client for pianoverse.me](https://pianoverse.me/)
2024-07-17 10:13:45 +00:00
2024-11-25 08:45:54 +00:00
Extracted from the https://pianoverse.net site at 10:33, November 25.
2024-11-25 09:52:32 +00:00
Bundle.js has modifications to point towards "api.pianoverse.me"
2024-11-25 08:45:54 +00:00
Commit ID: 6202927ae53e43bafd8b8fd3be1ffcaaa45426a3
```
let wsurl = "";
if(!localStorage.host){
2024-11-25 09:52:32 +00:00
wsurl = "wss://api.pianoverse.me";
2024-11-25 08:45:54 +00:00
} else if(localStorage.host == "mainline") {
wsurl = "wss://pianoverse.net"
} else if(localStorage.host == "dev") {
wsurl = "ws://127.0.0.1:8081"
};
this._ws=new WebSocket(wsurl,"pianoverse")
```
2024-07-19 01:31:01 +00:00
To reverse these modifications, run `localStorage.host = "mainline"`. You can also make it point towards 127.0.0.1:8081 with `localStorage.host = "dev"`
2024-07-17 10:13:45 +00:00
Nushell script for downloading all sounds:
```nu
for $x in 21..108 {wget $"https://pianoverse.net/sounds/salamander/($x).mp3"}
```