{"id":20347686,"url":"https://github.com/renerocksai/bullets-server","last_synced_at":"2026-03-19T15:25:30.276Z","repository":{"id":108885047,"uuid":"274695036","full_name":"renerocksai/bullets-server","owner":"renerocksai","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-18T00:18:53.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T22:49:55.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"GDScript","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/renerocksai.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":"2020-06-24T14:50:51.000Z","updated_at":"2024-10-18T00:18:56.000Z","dependencies_parsed_at":"2023-03-07T00:30:30.655Z","dependency_job_id":null,"html_url":"https://github.com/renerocksai/bullets-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renerocksai%2Fbullets-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renerocksai%2Fbullets-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renerocksai%2Fbullets-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renerocksai%2Fbullets-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renerocksai","download_url":"https://codeload.github.com/renerocksai/bullets-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241877511,"owners_count":20035417,"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":[],"created_at":"2024-11-14T22:17:46.233Z","updated_at":"2026-03-08T15:36:37.340Z","avatar_url":"https://github.com/renerocksai.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bullets-server\n\nHere is how to build it on your machine and deploy it to a fresh Ubuntu install, with a non-root user.\n\n\n## On your machine\n\n- clone the repository\n- run `./build_docker.sh`\n    - this will buld a docker image that runs the godot server after having exported the godot project to Linux/X11\n- deploy to your server via ssh:\n    - run `./deploy_ssh server-name`\n        - replace server-name with the name of your server (or the alias in your ssh config)\n        - this will copy the docker image and the runner script to your server\n\n## On the server\n### Setup\nThis is for a digitalocean docker droplet running ubuntu 20.04 LTS. Any ubuntu-like with docker will do.\n\nIt is assumed that this is a blank Ubuntu + Docker install, with no webserver running.\n\n### User setup\n- run `useradd bullets` to create a non-root user\n- ssh into the server as that user\n\n### Firewall\nUbuntu runs ufw. Configure ufw like this:\n\n- copy `ufw_app_bullets_server` to `/etc/ufw/applications.d/bullets-server`\n- copy `ufw_app_http_server` to `/etc/ufw/applications.d/http-server`\n    - http is used for letsencrypt to get SSL certificates\n- run `sudo ufw allow HTTP`\n- run `sudo ufw allow bullets-server`\n\n### letsencrypt\nFor SSL.\n\n- `sudo snap install --classic certbot`\n- `sudo certbot certonly --standalone`\n\n#### Note: Check out [the certbot site](https://certbot.eff.org/lets-encrypt/ubuntufocal-other) to set up auto renewal. TODO: Write scripts that restart the container upon renewal!\n\n### Load Docker image\n\n- (You have scp-ed to the server)\n- run `gunzip bullets-server.docker.tar.gz`\n- run `docker load -i bullets-server.docker.tar`\n\n### Run the server\n- run `./run_container.sh your-host.your-domain.com` as user (bullets)\n- you might get prompted for your password, to execute sudo commands\n\n## In your bullets presentation\n- press `M` for multiplayer\n- change the url to `wss://your-host.your-domain.com:9000`\n- click `Join!`\n- repeat in other running presentation\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenerocksai%2Fbullets-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenerocksai%2Fbullets-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenerocksai%2Fbullets-server/lists"}