{"id":28400203,"url":"https://github.com/marceickhoff/train-controller","last_synced_at":"2025-10-16T13:08:22.958Z","repository":{"id":41771526,"uuid":"206628754","full_name":"marceickhoff/train-controller","owner":"marceickhoff","description":"Node.js app that provides a touch interface for tablet devices that allows to remotely control trains in Train Simulator 2019.","archived":false,"fork":false,"pushed_at":"2022-12-10T06:02:37.000Z","size":195,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T16:40:30.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/marceickhoff.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}},"created_at":"2019-09-05T18:14:28.000Z","updated_at":"2019-09-15T12:13:12.000Z","dependencies_parsed_at":"2023-01-26T03:46:15.009Z","dependency_job_id":null,"html_url":"https://github.com/marceickhoff/train-controller","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marceickhoff/train-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceickhoff%2Ftrain-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceickhoff%2Ftrain-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceickhoff%2Ftrain-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceickhoff%2Ftrain-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marceickhoff","download_url":"https://codeload.github.com/marceickhoff/train-controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marceickhoff%2Ftrain-controller/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262363847,"owners_count":23299477,"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":"2025-06-01T09:15:01.679Z","updated_at":"2025-10-16T13:08:22.860Z","avatar_url":"https://github.com/marceickhoff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Train Controller\nThis Node.js app allows you to control locomotives in Train Simulator 2019 using your tablet or smartphone device as a remote. It utilizes the [TS4J Train Simulator Java Interface](https://github.com/marvk/ts4j) by [marvk](https://github.com/marvk) to allow communication between the Node server and the TS2019 application.\n\n*Work in progress.*\n\n## Setup\n1. Download and build the [TS4J Train Simulator Java Interface](https://github.com/marvk/ts4j).\n2. Move the resulting ``.jar`` file into the Train Controller root directory.\n2. Run ``npm install``\n3. Open ``config.json`` and make sure the path to your Train Simulator 2019 installation and the name/location of the ``ts4j.jar`` is correct\n3. Run ``npm start``\n4. Go to [http://localhost:3000](http://localhost:3000)\n6. Launch Train Simulator 2019\n7. Control your train!\n\n## Control Panels\nSince different locos have different controls, you need a matching controller for each loco. This is especially true since the internal naming and handling of buttons and levers may vary from loco to loco.\n\nThis is a list of locos with pre-built control panels:\n\n* *Work in progress.*\n\n### Create your own Control Panels\nThere probably no pre-built control panel for your favourite loco. But with a bit of JavaScript, HTML and CSS knowledge, you can create your own control panels to match the controls of your loco. Here is how:\n\n*Work in progress.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceickhoff%2Ftrain-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarceickhoff%2Ftrain-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarceickhoff%2Ftrain-controller/lists"}