mirror of https://github.com/Askill/r_place.git
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together. Updates `body-parser` from 1.20.0 to 1.20.3 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/body-parser/compare/1.20.0...1.20.3) Updates `express` from 4.18.1 to 4.21.0 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md) - [Commits](https://github.com/expressjs/express/compare/4.18.1...4.21.0) --- updated-dependencies: - dependency-name: body-parser dependency-type: indirect - dependency-name: express 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:
