{"id":23525428,"url":"https://github.com/openlegends/server","last_synced_at":"2026-02-24T15:35:54.512Z","repository":{"id":269062875,"uuid":"906320340","full_name":"openlegends/server","owner":"openlegends","description":"OpenLegends Game Server","archived":false,"fork":false,"pushed_at":"2025-03-01T15:50:43.000Z","size":139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T13:12:11.687Z","etag":null,"topics":["api","diesel","game","game-server","openlegends","rust","server","socket","sqlite","tls"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/openlegends-server","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openlegends.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-20T16:26:52.000Z","updated_at":"2025-03-01T15:50:46.000Z","dependencies_parsed_at":"2024-12-20T16:49:40.244Z","dependency_job_id":"a23196bd-406f-4a54-af11-882437522d49","html_url":"https://github.com/openlegends/server","commit_stats":null,"previous_names":["openlegends/server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlegends%2Fserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlegends%2Fserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlegends%2Fserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlegends%2Fserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlegends","download_url":"https://codeload.github.com/openlegends/server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250231358,"owners_count":21396453,"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":["api","diesel","game","game-server","openlegends","rust","server","socket","sqlite","tls"],"created_at":"2024-12-25T19:09:27.130Z","updated_at":"2026-02-24T15:35:49.493Z","avatar_url":"https://github.com/openlegends.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenLegends Game Server\n\n![Build](https://github.com/openlegends/server/actions/workflows/build.yml/badge.svg)\n[![Dependencies](https://deps.rs/repo/github/openlegends/server/status.svg)](https://deps.rs/repo/github/openlegends/server)\n[![crates.io](https://img.shields.io/crates/v/openlegends-server.svg)](https://crates.io/crates/openlegends-server)\n\nA lightweight, power-efficient server with in-memory session storage for playing multiplayer games using the local [Asset API](https://github.com/openlegends/asset)\n\n\u003e [!IMPORTANT]\n\u003e Project in development!\n\u003e\n\n## Install\n\n### Dependencies\n\n\u003cdetails\u003e\n\u003csummary\u003eDebian\u003c/summary\u003e\n\u003cpre\u003e\nsudo apt install curl\u003c/pre\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eFedora\u003c/summary\u003e\n\u003cpre\u003e\nsudo dnf install curl\u003c/pre\u003e\n\u003c/details\u003e\n\n### Rust\n\nUse [rustup](https://rustup.rs) installer to setup latest Rust environment:\n\n``` bash\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\n### Server\n\n``` bash\ncargo install openlegends-server\n```\n\n## Launch\n\n### Arguments\n\n* `--asset`, `-a` required, game [Asset](https://github.com/openlegends/asset)\n* `--bind`, `-b` required, bind server `host:port` to listen incoming connections on it\n* `--log`, `-l` optional, log level (`ednw` by default):\n  * `e` error\n  * `d` debug\n  * `n` notice\n  * `w` warning\n\n### Start\n\n``` bash\nopenlegends-server --bind 127.0.0.1:4321 --asset test\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eTest connection\u003c/summary\u003e\n\u003cpre\u003e\nnc 127.0.0.1 4321\u003c/pre\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eCreate systemd service\u003c/summary\u003e\n\n1. Install openlegends-server by copy the binary compiled into the native system apps destination:\n\n``` bash\ncp /home/openlegends/.cargo/bin/openlegends-server /usr/local/bin\n```\n\n2. Create configuration file:\n\n``` openlegends-server.service\n# /etc/systemd/system/openlegends-server.service\n\n[Unit]\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nType=simple\nUser=openlegends\nGroup=openlegends\nExecStart=/usr/local/bin/openlegends-server -b 127.0.0.1:4321 -a test\n\n[Install]\nWantedBy=multi-user.target\n```\n\n3. Run in priority:\n\n* `systemctl daemon-reload` - reload systemd configuration\n* `systemctl enable openlegends-server` - enable new service\n* `systemctl start openlegends-server` - start the process\n* `systemctl status openlegends-server` - check process launched\n\u003c/details\u003e\n\n## See also\n\n* [OpenLegends Client Library](https://github.com/openlegends/client)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlegends%2Fserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlegends%2Fserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlegends%2Fserver/lists"}