_.====.._
,:._ ~-_
`\ ~-_
| `.
,/ ~-_
-..__..-'' ~~--..__...-
A slow Pixelflut server with some other benefits.
- Not high-performance
- Default Pixelflut commands (
HELP
,SIZE
,PX
) OFFSET
command for setting an offset for allPX
commands on this connection.- Website at http://localhost:8080 for image output and some stats
- The
TOKEN
command. For more see below.
More coming soon...
When the TOKEN
command is enabled with commandline flag --token
every PX
command requires a token to paint.
One token is valid for the ip the request is sent from and will last a specific amount of PX
calls.
The usage count can be changed with the --useCountPerToken <value>
commandline parameter, per default its 100
calls.
To retrieve a token the TOKEN
command can be called. This command is rate-limited to 1 call per second!
In combination with the use count a rate limit for painting actions per host is established.
All PX
painting commands must specify an additional parameter, which is the token.
An example flow:
-> PX 1 1 ff0000
<- ERR Invalid Token
-> TOKEN
<- TOKEN a466bb98-492e-4770-a772-b0b477bf26a7 100
# /\ /\
# || ||
# The token Remaining usage count
-> PX 1 1 ff0000 a466bb98-492e-4770-a772-b0b477bf26a7
<-
The recommended way to run slowwave is a containerized deployment.
Pre-build images can be found in the packages of this project.
For an easy start there is a docker-compose.yaml
in the repository.
The docker images have versioned tags.
But the latest
tag points to the latest dev version (this will be the bloody edge)!
To test the local dev build of slowwave a pixelpawner docker-compose can be found in the test
folder.
For a release execute ./gradlew release
locally, it will create a release with version number.