Comments (9)
This could work well with these features:
- Host static client in GitHub page
- Make it possible to target any websocket proxy (give the choice to the user in the client)
- Provide a short list of websocket proxies that are hosted by people
That way the client always works as long as there is at least one websocket proxy working
I'll set this up I think
from prismarine-web-client.
For auth it can either go through the proxy either ask the user to send his token
from prismarine-web-client.
Let's keep auth in a separate issue since it's a bit different (plus the fact that I sort of want to handle auth once I finish inventory): #13
from prismarine-web-client.
We have a demo now but still worth having also this static demo
from prismarine-web-client.
how :
- patch net-browserify for cors ; make it point to the right thing
- don't use net browserify and use websocket and http proxy ourselves (https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/docs/API.md#mccreateclientoptions connect option)
from prismarine-web-client.
- done
Next steps are:
- hosting a proxy that accept cors requests (not behind cloudflare or configure it properly)
- deploying to github pages (setting the proxy to the right default value)
from prismarine-web-client.
hosting the proxy is done, deploying to gh pages too
remaining is doing the automated gh pages deployment
we need to make it so it builds then amend and push force to gh pages
from prismarine-web-client.
todo:
- add option using webpack DefinePlugin to pass a default proxy
- write yml autodeploy file
- run webpack to generate public
- copy public outside of current folder
- checkout gh-pages
- git rm -rf *
- copy files of public/* to .
- git add .
- git commit --amend -m "updated"
- use https://github.com/ad-m/github-push-action to push
from prismarine-web-client.
done
from prismarine-web-client.
Related Issues (20)
- how do i use it the ip is an ip but it wont load HOT 1
- cant join a server HOT 1
- c
- (console logs) Client not connecting to server. Endless loading screen or p(0) undefined disconnect reason. HOT 2
- Memory leak in prismarine-web-client HOT 8
- pwc uses threejs 0.127.0 and pviewer uses threejs 0.128.0
- NPM install error HOT 2
- Cannot connect to any server HOT 5
- cant connect to the web version HOT 1
- version HOT 2
- Fix publish build
- dmca notice HOT 2
- Menu stuck on white screen HOT 1
- It's Only A Blackscreen HOT 5
- Login with Microsoft
- This project's live preview link is not working HOT 1
- It swears at the nodejs version, and this is in the browser. How so? HOT 9
- build error HOT 2
- default server can't login HOT 2
- have a cron test to make sure this keeps running
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prismarine-web-client.