{"id":48600877,"url":"https://github.com/255doesnotexist/lyrio-ui","last_synced_at":"2026-04-08T22:02:54.763Z","repository":{"id":325353826,"uuid":"1098817267","full_name":"255doesnotexist/lyrio-ui","owner":"255doesnotexist","description":"Lyrio UI Reloaded with Contest and Codeforces legacy like rating @ Node 24 \u0026 React 18","archived":false,"fork":false,"pushed_at":"2025-11-27T12:21:23.000Z","size":3913,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-29T13:51:02.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/255doesnotexist.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-18T07:20:14.000Z","updated_at":"2025-11-27T12:21:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/255doesnotexist/lyrio-ui","commit_stats":null,"previous_names":["255doesnotexist/lyrio-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/255doesnotexist/lyrio-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/255doesnotexist%2Flyrio-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/255doesnotexist%2Flyrio-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/255doesnotexist%2Flyrio-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/255doesnotexist%2Flyrio-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/255doesnotexist","download_url":"https://codeload.github.com/255doesnotexist/lyrio-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/255doesnotexist%2Flyrio-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-08T22:02:34.542Z","updated_at":"2026-04-08T22:02:54.758Z","avatar_url":"https://github.com/255doesnotexist.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lyrio UI\n\n[![Build Status](https://img.shields.io/github/workflow/status/lyrio-dev/ui/CI?style=flat-square)](https://github.com/lyrio-dev/ui/actions?query=workflow%3ABuild)\n[![Dependencies](https://img.shields.io/david/lyrio-dev/ui?style=flat-square)](https://david-dm.org/lyrio-dev/ui)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![License](https://img.shields.io/github/license/lyrio-dev/ui?style=flat-square)](LICENSE)\n[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/@lyrio/ui/badge)](https://www.jsdelivr.com/package/npm/@lyrio/ui)\n\nThe web frontend of Lyrio.\n\n# Development\nClone this git repo and install dependencies:\n\n```bash\n$ git clone git@github.com:lyrio-dev/ui.git lyrio-ui\n$ cd lyrio-ui\n$ yarn\n```\n\nBy default this app listens on `0.0.0.0:3000`, you can change this with the environment variables `PORT` and `HOST`. You can use nginx as reversed proxy to access the app with a domain name like `lyrio-ui.test`.\n\nStart [lyrio](https://github.com/lyrio-dev/lyrio) API server. For example, if the API server in accessible on `http://lyrio.test`, the API endpoint is actually `http://lyrio.test` (without `/api`).\n\n* If the API endpoint is not the same as the lyrio-ui's root url, you should replace the `__api_endpoint__` string in lyrio-ui's HTML (e.g. with Nginx's `ngx_http_sub_module` module) with the API endpoint (in the form of JS expression, e.g. `\"http://lyrio.test\"`).\n* To change the initial title of the page, replace `__default_title__`.\n* To load compiled frontend resources from another host, replace `__public_path__`.\n* To change the favicon, replace `__favicon__`.\n\nAll these replacements work in development or production environment.\n\nHere's a Nginx development configuration file for reference (don't forget to add the `.test` domains to your `hosts` or local DNS server):\n\n```nginx\nmap $http_upgrade $connection_upgrade {\n    default upgrade;\n    '' close;\n}\n\nserver {\n    server_name lyrio-ui.test;\n    listen 80;\n\n    location / {\n        proxy_read_timeout 300s;\n        proxy_send_timeout 300s;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection $connection_upgrade;\n        proxy_set_header Accept-Encoding \"\";\n\n        sub_filter '__default_title__' '\"Default Title\"';\n        sub_filter '__api_endpoint__' '\"http://lyrio.test\"';\n        sub_filter_once on;\n\n        proxy_pass http://127.0.0.1:3000;\n    }\n}\n\nserver {\n    server_name lyrio.test;\n    listen 80;\n\n    location / {\n        proxy_read_timeout 300s;\n        proxy_send_timeout 300s;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection $connection_upgrade;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n\n        proxy_pass http://127.0.0.1:2002;\n    }\n}\n```\n\nIf you run API server and the frontend app server on different [origins](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) like me, you should enable `crossOrigin` in this server's config and configure the API server to white list this server's origin. For example, if you access this server on `http://lyrio-ui.test`:\n\n```yaml\nsecurity:\n  crossOrigin:\n    enabled: true\n    whiteList:\n      - http://lyrio-ui.test\n```\n\nStart the development server:\n\n```bash\n$ yarn start\n```\n\nWait for Vite to finish compilation and the development server to start, then open `http://lyrio-ui.test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F255doesnotexist%2Flyrio-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F255doesnotexist%2Flyrio-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F255doesnotexist%2Flyrio-ui/lists"}