{"id":21515736,"url":"https://github.com/v-sekai/uro","last_synced_at":"2025-08-26T14:24:28.275Z","repository":{"id":39614683,"uuid":"281441667","full_name":"V-Sekai/uro","owner":"V-Sekai","description":"Provides functionality needed to run your V-Sekai backend. It will serve custom game content, support content caching, and provide a user authentication system","archived":false,"fork":false,"pushed_at":"2025-06-06T21:20:43.000Z","size":37296,"stargazers_count":9,"open_issues_count":47,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T22:27:47.440Z","etag":null,"topics":["elixir","phoenix","phoenix-framework"],"latest_commit_sha":null,"homepage":"https://v-sekai.org","language":"Elixir","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/V-Sekai.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,"zenodo":null}},"created_at":"2020-07-21T15:55:24.000Z","updated_at":"2025-06-06T21:20:45.000Z","dependencies_parsed_at":"2025-05-14T20:47:02.737Z","dependency_job_id":null,"html_url":"https://github.com/V-Sekai/uro","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/V-Sekai/uro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-Sekai%2Furo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-Sekai%2Furo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-Sekai%2Furo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-Sekai%2Furo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/V-Sekai","download_url":"https://codeload.github.com/V-Sekai/uro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/V-Sekai%2Furo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272228793,"owners_count":24895870,"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","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["elixir","phoenix","phoenix-framework"],"created_at":"2024-11-23T23:56:36.152Z","updated_at":"2025-08-26T14:24:28.254Z","avatar_url":"https://github.com/V-Sekai.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uro Server\n## Docker Quick Setup\n\nTo run the entire stack locally with Docker, use these commands:\n\n### Windows/Mac\n\nAdd these lines to your **hosts** file\n```\n0.0.0.0 vsekai.local\n0.0.0.0 uro.v-sekai.cloud\n```\nthen\n```\nmv frontend/.env.example frontend/.env\nmv .env.example .env\ndocker compose up\n```\n### Linux\n```\n# From repository root\nmv frontend/.env.example frontend/.env\nmv .env.example .env\n\n# Setup hosts file on Linux\n# Server runs on 0.0.0.0 port 80 and 443\n# Frontend server\nsudo bash -c 'echo \"0.0.0.0 vsekai.local\" \u003e\u003e /etc/hosts'\n\n# Point V-Sekai game to your local server\nsudo bash -c 'echo \"0.0.0.0 uro.v-sekai.cloud\" \u003e\u003e /etc/hosts'\n\n# Run frontend and backend server\ndocker compose up\n```\n\nServer will be available at **http://vsekai.local**\n\nAuto generated root CA will be in `./caddy/data/caddy/pki/authorities/local/root.crt` after you run `docker compose up`.\n\n## Contributing\n\n### Setup\n\nTo run the entire stack locally with Docker in **development** mode, use the command:\n```\ndocker compose -f docker-compose.development.yml up\n```\n\nBy default, the stack uses [Caddy](https://caddyserver.com/) as a reverse proxy and is accessible at http://vsekai.local. You can adjust the values by setting the `ROOT_ORIGIN`, `URL`, and `FRONTEND_URL` environment variables in `.env` and `NEXT_PUBLIC_ORIGIN`, `NEXT_PUBLIC_API_ORIGIN` in `frontend/.env`. Also you will need to set it in `Caddyfile`.\n\nIf you want to configure **captcha** for registration, you need to set `TURNSTILE_SECRET_KEY` and `NEXT_PUBLIC_TURNSTILE_SITEKEY` ([Cloudflare Turnstile](https://developers.cloudflare.com/turnstile/get-started/))\n\nOnce configured, access the application at:\n- http://vsekai.local/\n- http://vsekai.local/api/v1/\n\n### OpenAPI Specification\n\nWhen making changes to Uro, update the OpenAPI specification by running:\n```\nmix uro.apigen\n```\nThis command generates the OpenAPI specification in `frontend/src/__generated/openapi.json`. The Uro API serves this specification at http://vsekai.local/api/v1/openapi, with documentation available at http://vsekai.local/api/v1/docs.\n\nOnce you have updated the OpenAPI specification, to regenerate the client in the frontend (and your editor), run:\n```\ndocker compose -f docker-compose.development.yml up nextjs --build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-sekai%2Furo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv-sekai%2Furo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-sekai%2Furo/lists"}