Hacker News new | past | comments | ask | show | jobs | submit login

Is node and npm required only for building the project, or also for running it?

In other words, can this run if I upload the html, js and other files to static hosting?




I'm not associated with the project, but I found that it's not a static site. Node.js is required for the thin WebSocket layer.

https://github.com/vasanthv/talk/blob/master/server.js

The actual P2P handshake is done through these default ICE servers defined in the client script.

https://github.com/vasanthv/talk/blob/master/www/script.js

  const ICE_SERVERS = [
    { urls: "stun:stun.l.google.com:19302" },
    { urls: "turn:openrelay.metered.ca:443", username: "openrelayproject", credential: "openrelayproject" },
  ];




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: