Scribble.rs is an alternative to the web-based drawing game skribbl.io. My main problems with skribbl.io were the ads and the fact that a disconnect would cause you to lose your points. On top of that, the automatic word choice was quite annoying and caused some frustration.
The site will not display any ads or share any data with third parties.
There are some community hosted versions of the game (feel free to host your own instance and add it here!):
- scribblers.fly.dev (Official instance, Note that the instance may not respond instantly, as it automatically shuts down if no traffic is received.)
- scribble.bixilon.de (community instance maintained by @Bixilon)
- scribble.drifty.win (community instance maintained by @driftywinds for better latency in Asia)
Configuration is read from environment variables or a .env
file located in
the working directory.
Available settings:
Key | Description | Default | Required |
---|---|---|---|
PORT | HTTP port that the server listens to. | 8080 | True |
NETWORK_ADDRESS | TCP address that the server listens to. | False | |
ROOT_PATH | Changes the path (after your domain) that the server listens to. | False | |
CORS_ALLOWED_ORIGINS | * | False | |
CORS_ALLOW_CREDENTIALS | False | ||
LOBBY_CLEANUP_INTERVAL | 90s | False | |
LOBBY_CLEANUP_PLAYER_INACTIVITY_THRESHOLD | 75s | False |
For more up-to-date configuration, read the config.go file.
It is recommended that you run the server via Docker, as this will rule out almost all compatibility issues.
Starting from v0.8.5, docker images are only built on tagged pushes. Each git
tag becomes a docker tag, however latest
will always point to the latest
version released via GitHub.
Download the image:
docker pull biosmarcel/scribble.rs:latest
Only use this one if you want to run a native Windows container. Otherwise use the Linux variant, as that's the default mode on Windows:
docker pull biosmarcel/scribble.rs:windows-latest
Run the following, replacing <port>
with the port you want the container to be
reachable from outside:
docker run --pull always --env PORT=8080 -p <port>:8080 biosmarcel/scribble.rs:latest
For example:
docker run --pull always --env PORT=8080 -p 80:8080 biosmarcel/scribble.rs:latest
Note that you can change 8080
too, but it is the internal port of the
container and you shouldn't have to change it under normal circumstances.
Dependencies:
In order to download and build, open a terminal and execute:
git clone https://github.com/scribble-rs/scribble.rs.git
cd scribble.rs
go build ./cmd/scribblers
This will produce a portable binary called scribblers
or scribblers.exe
if
you are on Windows.
In the Releases section you can find the latest stable release.
Alternatively each commit uploads artifacts which will be available for a certain time.
Note that these binaries might not necessarily be compatible with your system. In this case, please use Docker or compile them yourself.
Since Scribble.rs uses WebSockets, when running it behind an nginx reverse proxy, you have to configure nginx to support that. You will find an example configuration on the related Wiki page.
Other reverse proxies may require similar configuration. If you are using a well known reverse proxy, you are free to contribute a configuration to the wiki.
There are many ways you can contribute:
- Update / Add documentation in the wiki of the GitHub repository
- Extend this README
- Create feature requests and bug reports
- Solve issues by creating Pull Requests
- Tell your friends about the project
These resources are by people unrelated to the project, whilst not every of these resources requires attribution as per license, we'll do it either way ;)
If you happen to find a mistake here, please make a PR. If you are one of the authors and feel like we've wronged you, please reach out.
Some of these were slightly altered if the license allowed it. Treat each of the files in this repository with the same license terms as the original file.
- Logo - All rights reserved, excluded from BSD-3 licensing
- Background - All rights reserved, excluded from BSD-3 licensing
- Favicon - All rights reserved, excluded from BSD-3 licensing
- Rubber Icon - Made by Pixel Buddha from flaticon.com
- Fill Bucket Icon - Made by inipagistudio from flaticon.com
- Kicking Icon - Kicking Icon #309402
- Sound / No sound Icon - Made by Viktor Erikson (If this is you or you know who this is, send me a link to that persons Homepage)
- Profile Icon - Made by kumakamu
- Help Icon - Made by Ionicons
- Fullscreen Icon - Made by Github
- Pencil Icon
- Checkmark Icon
- Fill Icon
- Trash Icon - Made by Yannick Lung
- Undo Icon - Made by Ivan Boyko
- Alarmclock Icon - Made by Kit of Parts
- https://www.iconfinder.com/icons/808399/load_turn_turnaround_icon TODO