Crates.io | roast-bin |
lib.rs | roast-bin |
version | 0.3.0 |
source | src |
created_at | 2024-01-26 16:51:34.470949 |
updated_at | 2024-03-20 20:28:45.531931 |
description | Web based server handler for ANY runnable file! |
homepage | |
repository | https://github.com/TheEmeraldBee/roast |
max_upload_size | |
id | 1115697 |
size | 82,156 |
Roast is a binary that allows you to host other binaries as a website!
I originally made it for myself, as a binary that would allow me to
host a minecraft server, and allow my friends to open the server with the
main_user
and main_pass
Currently, running cargo install roast-bin
is the only way to get the program.
Typing roast
, it will attempt to run your server.
However, without having both a roast-options.toml file, a runnable script, and cert.pem and key.pem, the server will be unable to run. In whatever directory you want to host your server, you can type
roast --gen-tls # This will generate the cert.pem and key.pem files.
roast --gen-config # This will put an EXAMPLE config file into your directory (Please change the passwords at least.)
After running these two commands, open the config with your favorite text editor, and change some of the parameters.
Ok, so now that you have your server ready to run, how do I run it? In the roast-options.toml file you have, change the run path to be to a local script folder which runs your server.
Example for a minecraft server:
java -jar server.jar
Put this into a script file, and change the run path to be the location of the file!