Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pukoren/rust-skins-config
https://github.com/pukoren/rust-skins-config
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pukoren/rust-skins-config
- Owner: PuKoren
- Created: 2023-10-16T16:25:49.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-16T09:51:56.000Z (9 months ago)
- Last Synced: 2024-05-16T10:54:52.186Z (9 months ago)
- Language: JavaScript
- Size: 445 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust labs skins crawler
Node.js crawler to fetch approved workshop skins list from https://rustlabs.com/skins and generate a config file for the Rust mod "Skins".
Skins IDs already known will not be fetched again to avoid using Rustlabs resources and allow easy collaboration.
A future version using Steam Workshop API might be done, in order to not use Rustlabs and avoid crawling.
## How to use
Simply run the index.js script. You need to have node.js installed on your system.
```js
node index.js
```Once the script finished, you can use the config file generated (`Skins.json`) nd place it in the oxide config folder. The script generates a minimal config file, so if you want to customize other options such as the Skins UI or commands, add it manually or edit the file after reloading the plugin (the plugin will complete the config file with defaults).
If the server is already running, you can reload the plugin on your server with the command `o.reload Skins` after copying the Skins.json file.
## Re-generate the skin list to fetch new skins
Once in a while, delete the "skinlist.json" file and restart the program. New skins will be added to the config.## Known issues
There is some skins that are not yet handled by the script as they require a special crawling. There is only a handful of them so it can be done by hand for now, until I add it to the script.