https://github.com/foxt/rblxrp
Roblox Rich Presence
https://github.com/foxt/rblxrp
Last synced: about 1 month ago
JSON representation
Roblox Rich Presence
- Host: GitHub
- URL: https://github.com/foxt/rblxrp
- Owner: foxt
- License: gpl-3.0
- Archived: true
- Created: 2018-08-26T00:36:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-29T16:07:36.000Z (almost 2 years ago)
- Last Synced: 2025-03-11T19:46:36.277Z (2 months ago)
- Language: TypeScript
- Size: 53.2 MB
- Stars: 22
- Watchers: 3
- Forks: 5
- Open Issues: 51
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## [Downloads here](http://rblxrp.xyz)
# rblxRP 3.0
Adds Discord rich presence for Roblox.[Join the Discord server](https://discord.gg/5aQSDGCTX6)
## Building
### Install dependencies
```
npm i
npm i -g pkg
```
### Dev
```
tsc --watch
```### Build
```
tsc
bash build.sh
```
## File structure
Root directory of code is `src/`.`state/providers/gameDetection.ts` handles the detection of Roblox game instances
`state/providers/gameInfo.ts` handles the fetching of Roblox game information
`state/stateManager.ts` is the main business logic for managing states and reducing them to the currently published state.
`config.ts` handles saving & loading of user configuration data
`discord.ts` handles publishing the state to Discord. (see also, [`@rblxrp/easy-presence`](https://github.com/rblxrp/easy-presence))
`icon.ts` contains the app icon
`index.ts` handles the user interface and initialises everything
`webserver.ts` handles the creation of the web server.