https://github.com/mkapal/node-insim-demo-typescript
Node InSim Demo Application with TypeScript
https://github.com/mkapal/node-insim-demo-typescript
insim lfs live-for-speed simulator typescript
Last synced: 12 months ago
JSON representation
Node InSim Demo Application with TypeScript
- Host: GitHub
- URL: https://github.com/mkapal/node-insim-demo-typescript
- Owner: mkapal
- Created: 2023-12-21T22:30:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-25T22:37:17.000Z (about 1 year ago)
- Last Synced: 2025-04-25T23:25:27.419Z (about 1 year ago)
- Topics: insim, lfs, live-for-speed, simulator, typescript
- Language: TypeScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node InSim Demo Application with TypeScript
A simple demo application using [Node InSim](https://github.com/simbroadcasts/node-insim) to connect to [Live for Speed](https://www.lfs.net/) (LFS).
## Requirements
- [Node.js](https://nodejs.org) 22
- [Live for Speed](https://www.lfs.net/)
## Installation
```shell
npm install
```
## Connecting to LFS
If you want to connect to LFS locally, start LFS and enable InSim by typing `/insim 29999` (or any other port of your choice).
Open the command line and run `npm start`.
This application connects to `127.0.0.1:29999` by default. You can change the host or port by editing [src/index.ts](./src/index.ts).
If you want to connect to a remote LFS host, use the InSim port that is assigned to your LFS host.