mirror of https://github.com/Askill/r_place.git
Bumps [on-headers](https://github.com/jshttp/on-headers) and [compression](https://github.com/expressjs/compression). These dependencies needed to be updated together. Updates `on-headers` from 1.0.2 to 1.1.0 - [Release notes](https://github.com/jshttp/on-headers/releases) - [Changelog](https://github.com/jshttp/on-headers/blob/master/HISTORY.md) - [Commits](https://github.com/jshttp/on-headers/compare/v1.0.2...v1.1.0) Updates `compression` from 1.7.4 to 1.8.1 - [Release notes](https://github.com/expressjs/compression/releases) - [Changelog](https://github.com/expressjs/compression/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/compression/compare/1.7.4...v1.8.1) --- updated-dependencies: - dependency-name: on-headers dependency-version: 1.1.0 dependency-type: indirect - dependency-name: compression dependency-version: 1.8.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .github/workflows | ||
| client | ||
| frontend | ||
| images | ||
| server | ||
| .gitignore | ||
| README.md | ||
| colorpalette.txt | ||
README.md
r_place
A go based r/place clone.
The server has 3 endpoints, get, set and getAll:
- get:
- websocket connection
- returns once a second all changes as individual events
- set:
-
websocket connection
-
expects data in the following format:
x: int [0 - 1000] y: int [0 - 1000] color: int [0-15] timestamp: int [unix time] userid: int
-
- getAll:
- returns a jpeg image of current state
Example Image, created by python client:
