{"id":20585956,"url":"https://github.com/mrdotb/leagueofreplays","last_synced_at":"2025-05-09T22:31:27.510Z","repository":{"id":215816040,"uuid":"723107595","full_name":"mrdotb/leagueofreplays","owner":"mrdotb","description":":eye: Record \u0026 Replay league of legends games","archived":true,"fork":false,"pushed_at":"2025-01-04T15:44:58.000Z","size":1067,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-09T19:12:35.844Z","etag":null,"topics":["ash","elixir","league-of-legends","liveview","phoenix","recording","replays"],"latest_commit_sha":null,"homepage":"https://leagueofreplays.co","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrdotb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-11-24T17:49:32.000Z","updated_at":"2025-03-09T14:54:32.000Z","dependencies_parsed_at":"2024-02-17T23:21:18.838Z","dependency_job_id":"ec0b1d20-5cff-4d72-a621-0aeb9deb3dfe","html_url":"https://github.com/mrdotb/leagueofreplays","commit_stats":null,"previous_names":["mrdotb/leagueofreplays"],"tags_count":53,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdotb%2Fleagueofreplays","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdotb%2Fleagueofreplays/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdotb%2Fleagueofreplays/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrdotb%2Fleagueofreplays/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrdotb","download_url":"https://codeload.github.com/mrdotb/leagueofreplays/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253335649,"owners_count":21892709,"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":["ash","elixir","league-of-legends","liveview","phoenix","recording","replays"],"created_at":"2024-11-16T07:09:50.052Z","updated_at":"2025-05-09T22:31:27.504Z","avatar_url":"https://github.com/mrdotb.png","language":"Elixir","funding_links":[],"categories":["Demo projects"],"sub_categories":["Phoenix LiveView Components"],"readme":"Archived the 4 January 2025.\nIt will continue as a closed source.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://leagueofreplays.co/\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/mrdotb/leagueofreplays/main/priv/static/images/logo.svg\" width=\"140px\" alt=\"League of Replays\" /\u003e\n  \u003c/a\u003e\n\n\n  \u003ch3 align=\"center\"\u003eLeague of Replays\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Record and replay league of legends game.\n    \u003cbr /\u003e\n    \u003ca href=\"https://youtu.be/vXCb2LyK_gg\"\u003eYoutube demo\u003c/a\u003e\n    .\n    \u003ca href=\"https://github.com/mrdotb/leagueofreplays/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/mrdotb/leagueofreplays/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n### Built With\n\nLeagueofreplay is proudly powered by Phoenix and Elixir.\n\n* [![Phoenix][Phoenix]][Phoenix-url]\n* [![Ash][Ash]][Ash-url]\n* [![Elixir][Elixir]][Elixir-url]\n* [![Tailwind][Tailwind]][Tailwind-url]\n\n## Getting Started\n\nWatching the [youtube demo](https://youtu.be/vXCb2LyK_gg) is a good way to understand how the project works and how you can setup it locally.\nTo get a local copy up and running follow these simple example steps.\n\n### Running locally using Docker Compose\n\nA Docker Compose [reference file](https://github.com/mrdotb/leagueofreplays/blob/main/docker-compose.yml) is provided in the repository. You can use it to run leagueofreplays with Docker Compose.\n\n```sh\ngit clone https://github.com/mrdotb/leagueofreplays.git\ncd leagueofreplays\ncp .env.sample .env\n```\n\nGet your riot token on [developer.riotgames.com](https://developer.riotgames.com/).\nAdd the token to the `.env` file on `RIOT_TOKEN`\n\n```sh\ndocker compose --env-file .env up\n```\n\nYou can now access the leagueofreplays on [localhost:4000](http://localhost:4000)\nThe admin is on [localhost:4000/admin](http://localhost:4000/admin)\n\n### Running on a server using Docker Compose\n\nFollow the step to run the project locally.\n\nIf you use a firewall you have to expose the port 4000, 3000 and 9000.\n\n**Be careful if you are not using a firewall these ports will be exposed to the world 5432, 9000, 9090, 3000, 4000.**\n\nEdit `.env`\n\n```sh\nHOST=your_domain\nPOSTGRES_PASSWORD= # a hard password\nMINIO_ROOT_PASSWORD= # a hard password\nS3_ACCESS_KEY= # cat /dev/urandom | tr -dc '[:alnum:]' | head -c 16\nS3_SECRET_KEY= # cat /dev/urandom | tr -dc '[:alnum:]' | head -c 32\nSECRET_KEY_BASE= # cat /dev/urandom | tr -dc '[:alnum:]' | head -c 64\nADMIN_PASSWORD= # cat /dev/urandom | tr -dc '[:alnum:]' | head -c 16\n```\n\nYou can now access the leagueofreplays on `your_domain:4000`\nThe admin is on `http://your_domain:4000/admin` the login is admin and the password is the value your put in `ADMIN_PASSWORD`.\n\n### How to Dev ?\n\n#### Prerequisites\n\nTo run leagueofreplays on your local environment you need to have:\n* Postgres\n* Elixir\n* Erlang\n* NodeJS\n\nThis project use asdf with the following [`tool-versions`](https://github.com/mrdotb/leagueofreplays/blob/main/.tool-versions).\n\nInstall [asdf](https://asdf-vm.com/guide/getting-started.html) and the differents plugins.\n\n```sh\nasdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git\nasdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git\nasdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git\n```\n\nInstall [docker](https://docs.docker.com/engine/install/) and [docker compose](https://docs.docker.com/compose/install/)\n\nClone the repo\n\n```sh\ngit clone https://github.com/mrdotb/leagueofreplays.git\n```\n\nThen you can use install the elixir / erlang / nodejs version.\n\n```sh\nasdf install\n```\nRun postgres and minio\n\n```sh\ndocker compose -f docker-compose.dev.yml up\n```\n\nInstall project deps\n\n```sh\nnpm i --prefix assets\nmix deps.get\n```\n\nRun project\n```sh\niex -S mix phx.server\n```\n\n### Configuration\n\nYou can find the env configuration [here](https://github.com/mrdotb/leagueofreplays/blob/main/doc/env.md).\n\n### Inspirations\n\nThanks to [lol-replay](https://github.com/1lann/lol-replay), [UGG](https://u.gg) and [league of graphs](https://www.leagueofgraphs.com/)\n\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[Elixir]: https://img.shields.io/badge/elixir-4B275F?style=for-the-badge\u0026logo=elixir\u0026logoColor=white\n[Elixir-url]: https://elixir-lang.org/\n[Tailwind]: https://img.shields.io/badge/tailwind-06B6D4?style=for-the-badge\u0026logo=tailwindcss\u0026logoColor=white\n[Tailwind-url]: https://tailwindcss.com/\n[Phoenix]: https://img.shields.io/badge/phoenix-f35424?style=for-the-badge\u0026logo=\u0026logoColor=white\n[Phoenix-url]: https://www.phoenixframework.org/\n[Ash]: https://img.shields.io/badge/ash-ff5757?style=for-the-badge\u0026logoColor=white\n[Ash-url]: https://ash-hq.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdotb%2Fleagueofreplays","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrdotb%2Fleagueofreplays","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrdotb%2Fleagueofreplays/lists"}