{"id":41738534,"url":"https://github.com/playliga/prototype","last_synced_at":"2026-05-27T04:05:29.542Z","repository":{"id":265694611,"uuid":"23799698","full_name":"playliga/prototype","owner":"playliga","description":"Application prototype for LIGA Esports Manager","archived":false,"fork":false,"pushed_at":"2026-02-06T00:35:20.000Z","size":181091,"stargazers_count":10,"open_issues_count":47,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-06T10:36:08.120Z","etag":null,"topics":["cs16","cs2","csgo","cssource","czero","esports","simulator"],"latest_commit_sha":null,"homepage":"https://playliga.gg","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playliga.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":"2014-09-08T17:00:57.000Z","updated_at":"2026-02-06T00:35:24.000Z","dependencies_parsed_at":"2025-05-09T13:38:30.155Z","dependency_job_id":"514fdb84-8859-4081-9ec5-5e786d212616","html_url":"https://github.com/playliga/prototype","commit_stats":null,"previous_names":["playliga/application","playliga/prototype"],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/playliga/prototype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playliga%2Fprototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playliga%2Fprototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playliga%2Fprototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playliga%2Fprototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playliga","download_url":"https://codeload.github.com/playliga/prototype/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playliga%2Fprototype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29184977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"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":["cs16","cs2","csgo","cssource","czero","esports","simulator"],"created_at":"2026-01-25T00:10:17.538Z","updated_at":"2026-02-07T02:05:19.200Z","avatar_url":"https://github.com/playliga.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://discord.gg/ZaEwHfDD5N\"\u003e\u003cimg src=\"https://img.shields.io/discord/1296858234853789826?style=for-the-badge\u0026label=Discord\u0026logo=discord\u0026logoColor=white\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://playliga.gg/#/#download\"\u003e\u003cimg src=\"https://img.shields.io/badge/download-latest-salmon?style=for-the-badge\u0026logo=github\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/playliga/prototype/milestones\"\u003e\u003cimg src=\"https://img.shields.io/badge/view_the-roadmap-blue?style=for-the-badge\u0026logo=rocket\u0026logoColor=white\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003eThe world's first Esports simulator for Counter-Strike where you can play your matches in-game or simulate them, you choose!\u003c/p\u003e\n\u003c/div\u003e\n\n# APIs and Technologies\n\n- Node `v24.11.1`.\n- Electron `v40.0.0`.\n- SQLite `v5.x`.\n  - On Windows, Python `3.10` or above [is required](https://github.com/nodejs/node-gyp#on-windows).\n\n# Getting Started\n\n\u003e [!IMPORTANT]\n\u003e On windows, `npm start` must be run from CMD.exe, Powershell, or WSL2. [More Info](https://www.electronforge.io/templates/typescript-+-webpack-template).\n\n```bash\nnpm install\nnpm start\n```\n\n# Resetting the Database\n\n\u003e [!IMPORTANT]\n\u003e A [Pandascore Access Token](https://app.pandascore.co/dashboard/main) is required.\n\nThis application uses [Prisma ORM](https://www.prisma.io/) to manage its database interactions.\n\nA unique Prisma Client is generated from the schema defined in source control which sometimes may need to be regenerated along with the database for troubleshooting purposes.\n\n```bash\nnpm run db:reset\n```\n\nAfter resetting the database the teams and players data will be repopulated using [PandaScore API](https://pandascore.co). A token must be provided in the `.env` file in order for this to work.\n\n# Development CLI\n\nProvides convenience wrappers and business logic for common development tasks.\n\n```bash\nnpm run cli help\n```\n\n# Building\n\nGenerate platform specific distributables.\n\n[More Info](https://www.electronforge.io/config/makers).\n\n```bash\nnpm run make\n```\n\n## Publishing\n\n\u003e [!IMPORTANT]\n\u003e A [Github Access Token](https://github.com/settings/tokens) is required.\n\nThe publish command will build the application and publish it to Github as a draft release.\n\n```bash\nexport GITHUB_TOKEN=\"\u003c...\u003e\"\nnpm run publish\n```\n\n## Updating Application Icon\n\nThe installers only accept an `.ico` file so it must be manually converted from the base `assets/icon.png` image.\n\n[More Info](https://www.electronforge.io/guides/create-and-add-icons#configuring-installer-icons).\n\n```bash\nnpm run gen:icon\n```\n\n# Miscellaneous\n\n## Marketing\n\nThe resolution used for games and the app should be set to `1280x960`.\n\nThe game being demoed should also be running in window mode so that the transition between app and game is seamless when taking videos.\n\n## Transcoding Videos\n\n`.webm` format should be used for videos such as the one used in the landing page because `.mp4` has stuttering and performance issues.\n\nVP9 prefers to encode in two passes so the first pass compiles a log file with statistics about the video file which is then used in the second pass to make the video.\n\n```bash\nffmpeg -i landing.mp4 -b:v 0 -crf 30 -pass 1 -an -f webm -y /dev/null\nffmpeg -i landing.mp4 -b:v 0 -crf 30 -pass 2 landing.webm\n```\n\nFor VP9, the CRF can range from 0 (best quality) to 63 (smallest file size). It is set to `30` above for roughly, medium quality.\n\n## Converting PNG to SVG\n\nSVGs are great for responsive apps so if it's feasible, consider converting that PNG to an SVG using [ImageMagick](http://www.imagemagick.org/Usage/draw/#svg_output) and [AutoTrace](https://github.com/autotrace/autotrace).\n\n```bash\nconvert autotrace:src/assets/logo.png src/icons/logo.svg\n```\n\n# Troubleshooting\n\n## Error: Cannot find module 'undefinedbuild/Release/node_sqlite3.node'\n\nThis is caused by editing files while the app is transpiling.\n\n## Error: Could not detect abi for version and runtime electron\n\n```bash\nrm -rf package-lock.json node_modules\nnpm install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayliga%2Fprototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplayliga%2Fprototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplayliga%2Fprototype/lists"}