Skip to content

initialed85/quake-websocket-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quake-websocket-proxy

This repo contains some Go code that can be used to expose a Quake 1 (NetQuake) server via WebSocket.

I played so many hours of Quake 1 as a kid and when I discovered GMH-Code/Quake-WASM I was pretty excited.

The Emscripten magic didn't quite solve networking out of the box so I took the time to make some additions for WebSocket multiplayer which required me to make some small changes to the original Quake dedicated server (shout out to wyatt8740/Quake-LinuxUpdate for the original work to get Quake building for Linux again).

Anyway, how can you use all this?

Well, if the Kubernetes cluster at my house is still working (doubtful), you can go to quake.initialed85.cc and get stuck in.

Alternately, you can spin it all up locally using Docker Compose:

cd repos
git clone https://github.com/initialed85/Quake-WASM.git
git clone https://github.com/initialed85/Quake-LinuxUpdate.git
git clone https://github.com/initialed85/quake-websocket-proxy.git
cd quake-websocket-proxy
docker compose build
docker compose up

If that all works, then you can go to http://localhost:8080 and see it running.

To connect to the server, drop down the console and type connect anything; the server name can actually be anything, all paths lead to the WebSocket proxy.

About

A WebSocket proxy for using with a WASM build of Quake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published