{"id":23290899,"url":"https://github.com/filippo-orru/fourinarow-server","last_synced_at":"2026-03-16T12:35:16.369Z","repository":{"id":46206815,"uuid":"254802574","full_name":"filippo-orru/fourinarow-server","owner":"filippo-orru","description":"Authoritative game server. Written in Rust using the actor framework actix.","archived":false,"fork":false,"pushed_at":"2024-01-14T20:21:16.000Z","size":6547,"stargazers_count":24,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-14T04:04:39.802Z","etag":null,"topics":["actix","game","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filippo-orru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-04-11T05:52:04.000Z","updated_at":"2024-11-21T13:48:38.000Z","dependencies_parsed_at":"2024-01-05T20:26:54.802Z","dependency_job_id":"161798bd-b298-4ed8-acdc-80d570f7aa0b","html_url":"https://github.com/filippo-orru/fourinarow-server","commit_stats":null,"previous_names":["filippo-orru/fourinarow-server"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-orru%2Ffourinarow-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-orru%2Ffourinarow-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-orru%2Ffourinarow-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-orru%2Ffourinarow-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filippo-orru","download_url":"https://codeload.github.com/filippo-orru/fourinarow-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230537062,"owners_count":18241515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actix","game","rust"],"created_at":"2024-12-20T05:13:24.315Z","updated_at":"2026-03-16T12:35:16.362Z","avatar_url":"https://github.com/filippo-orru.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Four in a Row - Server\n\n![Screenshot of main screen](screenshots/1.png)\n\nAn **online** version of the popular game **four in a row**, written in Rust on the server side and Flutter + Dart on the client.\n\n***Download here: https://play.google.com/store/apps/details?id=ml.fourinarow***\n\n## Related Projects:\n- Clientside: [fourinarow-app](https://github.com/filippo-orru/fourinarow-app)\n\n- Serverside: [fourinarow-server](https://github.com/filippo-orru/fourinarow-server)\n\n- \\[WIP\\] bot / watcher: [fourinarow-bot](https://github.com/filippo-orru/fourinarow-bot)\n\n## Features:\n- world wide online play\n- over 4000 downloads\n- account creation, friends system\n- beautiful, minimalist design\n- subtle animations\n- request to battle your friends\n- local mode: two players - one device\n\n### Under the hood:\n- reliable websocket connection\n- message delivery guarantee\n- message reordering on client and server side\n- clean architecture: state and view completely separate\n- automatic reconnection\n\n![Screenshot of play selection](screenshots/2.png)\n\n![Screenshot of play](screenshots/3.png)\n\n# Deployment\n\n## Prerequisites\n\nBefore getting started, make sure you have Docker with Docker Compose installed on your machine.\n\n## Deploy\n\n1. Set up reverse proxy with traefik: https://github.com/filippo-orru/vps-reverse-proxy. Follow instructions there.\n\n1. Create a deploy key using [this script](https://gist.github.com/filippo-orru/a4dcfc7a68c0b8d35487aa8297e98128) and add it to the Github repository.\n\n1. Clone this repository using the command echoed by the script.\n\n1. Copy the `.env_template` file to `.env` and fill in the values.\n\n    ```bash\n    cp .env_template .env\n    nano .env\n    ```\n    \n1. Create a systemd service file:\n\n    ```bash\n    sudo cp fourinarow-server.service /etc/systemd/system/\n    sudo systemctl daemon-reload\n    sudo systemctl enable fourinarow-server\n    sudo systemctl start fourinarow-server\n    ```\n\n1. Check the status:\n    \n    ```bash\n    sudo systemctl status fourinarow-server\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippo-orru%2Ffourinarow-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilippo-orru%2Ffourinarow-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippo-orru%2Ffourinarow-server/lists"}