{"id":23240826,"url":"https://github.com/brooswit/legendpad","last_synced_at":"2025-04-05T22:32:38.223Z","repository":{"id":90351498,"uuid":"330800651","full_name":"brooswit/LegendPad","owner":"brooswit","description":"Experimental input aggregation software","archived":false,"fork":false,"pushed_at":"2021-02-06T20:37:08.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T16:02:44.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brooswit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-01-18T22:21:15.000Z","updated_at":"2021-02-06T20:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"58aa222c-2a6f-403d-858a-8ef14cf25fdc","html_url":"https://github.com/brooswit/LegendPad","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/brooswit%2FLegendPad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooswit%2FLegendPad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooswit%2FLegendPad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooswit%2FLegendPad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brooswit","download_url":"https://codeload.github.com/brooswit/LegendPad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411236,"owners_count":20934650,"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-12-19T05:14:21.055Z","updated_at":"2025-04-05T22:32:38.214Z","avatar_url":"https://github.com/brooswit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LegendPad\nThis software was inspired by the \"Twitch plays X\" concept. Instead of parsing Twitch chat, I wanted to agregate actual controller inputs from all viewers, and send the average of all analog inputs and set the state of all non-analong buttons to whatever the majority of clients are pressing\n\n\nThis software consists of 3 primary components:\n- A JS/Vue web client which receives inputs, and delivers them to the server via a streaming connection.\n- A NodeJS server which receives the streaming connection, and delivers the agregated input updates to connected clients. Also hosts web server to serve JS/Vue client\n- A Python client which opens the streaming connection, and sends the agregated inputs it receives to the local system.\n\n# Getting started\n## Development\n### Setup\nInstall NodeJS dependencies\n\n```\nnpm i\n```\n### Develop\nRun a development server locally and automatically rebuild everything when there are changes\n\n```\nnpm dev\n```\n\n### Build\n```\nnpm build\n```\n\n# Web Client\nWhen you load the website, you are prompted for which room you want to join.\n\nJoining a room simply redirects you from `/#/` to `/#/ROOM_NAME`\n\nLoading a room shows a table indicating the state of all buttons, and accepts \u0026 sends inputs via streaming connection\n\n# NodeJS\nHosts two interfaces:\n- Static file server\n- Websocket interface\n\nHost on heroku with one-click deploy so others can set up their own easily.\n\n# Python Client\nConnects to stream, sends outputs. EZ\n\nhttps://pythonprogramming.net/direct-input-game-python-plays-gta-v/?completed=/open-cv-basics-python-plays-gta-v/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrooswit%2Flegendpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrooswit%2Flegendpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrooswit%2Flegendpad/lists"}