mirror of https://github.com/Askill/r_place.git
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 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:
