GithubHelp home page GithubHelp logo

Comments (9)

rom1504 avatar rom1504 commented on May 23, 2024

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.

rom1504 avatar rom1504 commented on May 23, 2024

For auth it can either go through the proxy either ask the user to send his token

from prismarine-web-client.

AwesomestCode avatar AwesomestCode commented on May 23, 2024

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.

rom1504 avatar rom1504 commented on May 23, 2024

We have a demo now but still worth having also this static demo

from prismarine-web-client.

rom1504 avatar rom1504 commented on May 23, 2024

how :

  1. patch net-browserify for cors ; make it point to the right thing
  2. 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.

Karang avatar Karang commented on May 23, 2024
  1. 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.

rom1504 avatar rom1504 commented on May 23, 2024

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.

rom1504 avatar rom1504 commented on May 23, 2024

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.

Karang avatar Karang commented on May 23, 2024

done

from prismarine-web-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.