mirror of
https://github.com/MeexReay/sRAC.git
synced 2025-06-24 02:22:57 +03:00
brac import and more readme stuff
This commit is contained in:
parent
f262536e39
commit
245c677c4c
976
Cargo.lock
generated
976
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ edition = "2024"
|
||||
[dependencies]
|
||||
chrono = "0.4.40"
|
||||
md-5 = "0.10.6"
|
||||
rand = "0.9.0"
|
||||
rand = "0.9.1"
|
||||
clap = { version = "4.5.36", features = ["derive"] }
|
||||
rustls = "0.23.25"
|
||||
tungstenite = "0.27.0"
|
||||
@ -15,3 +15,4 @@ log = "0.4.27"
|
||||
regex = "1.11.1"
|
||||
colored = "3.0.0"
|
||||
lazy_static = "1.5.0"
|
||||
bRAC = { git = "https://github.com/MeexReay/bRAC.git" }
|
37
README.md
37
README.md
@ -1,29 +1,32 @@
|
||||
# sRAC
|
||||
simple server for RAC
|
||||
|
||||
## Usage
|
||||
## features
|
||||
|
||||
- RACv2.0 and WRACv2.0 protocols
|
||||
- SSL encryption (via rustls)
|
||||
- messages limits by size
|
||||
- splash message
|
||||
- message sanitizing (removes all shit)
|
||||
- auth-only mode and accounts
|
||||
- messages saving into file
|
||||
- register and message timeouts
|
||||
|
||||
## usage
|
||||
|
||||
```bash
|
||||
git clone https://github.com/MeexReay/sRAC
|
||||
cd sRAC
|
||||
cargo run -- -H 127.0.0.1:42666
|
||||
git clone https://github.com/MeexReay/sRAC.git; cd sRAC
|
||||
cargo run -- -H rac://127.0.0.1:42666
|
||||
```
|
||||
|
||||
### My server config
|
||||
|
||||
```bash
|
||||
cargo run -- \
|
||||
--host 127.0.0.1:42666 \
|
||||
--splash "please register (/register and /login commands in bRAC)" \
|
||||
--messages-file "messages.txt" \
|
||||
--accounts-file "accounts.txt" \
|
||||
--register-timeout 3600 \
|
||||
--sanitize \
|
||||
--auth-only
|
||||
```
|
||||
## Roadmap
|
||||
## roadmap
|
||||
|
||||
- [ ] Proxy-mode
|
||||
- [ ] Notifications by ip
|
||||
- [ ] Server commands
|
||||
- [x] WRAC protocol
|
||||
- [x] RACS protocol
|
||||
|
||||
## license
|
||||
|
||||
This project is licensed under the WTFPL. Do what the fuck you want to.
|
Loading…
x
Reference in New Issue
Block a user