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]
|
[dependencies]
|
||||||
chrono = "0.4.40"
|
chrono = "0.4.40"
|
||||||
md-5 = "0.10.6"
|
md-5 = "0.10.6"
|
||||||
rand = "0.9.0"
|
rand = "0.9.1"
|
||||||
clap = { version = "4.5.36", features = ["derive"] }
|
clap = { version = "4.5.36", features = ["derive"] }
|
||||||
rustls = "0.23.25"
|
rustls = "0.23.25"
|
||||||
tungstenite = "0.27.0"
|
tungstenite = "0.27.0"
|
||||||
@ -14,4 +14,5 @@ colog = "1.3.0"
|
|||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
regex = "1.11.1"
|
regex = "1.11.1"
|
||||||
colored = "3.0.0"
|
colored = "3.0.0"
|
||||||
lazy_static = "1.5.0"
|
lazy_static = "1.5.0"
|
||||||
|
bRAC = { git = "https://github.com/MeexReay/bRAC.git" }
|
39
README.md
39
README.md
@ -1,29 +1,32 @@
|
|||||||
# sRAC
|
# sRAC
|
||||||
simple server for RAC
|
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
|
```bash
|
||||||
git clone https://github.com/MeexReay/sRAC
|
git clone https://github.com/MeexReay/sRAC.git; cd sRAC
|
||||||
cd sRAC
|
cargo run -- -H rac://127.0.0.1:42666
|
||||||
cargo run -- -H 127.0.0.1:42666
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### My server config
|
## roadmap
|
||||||
|
|
||||||
```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
|
|
||||||
|
|
||||||
|
- [ ] Proxy-mode
|
||||||
- [ ] Notifications by ip
|
- [ ] Notifications by ip
|
||||||
- [ ] Server commands
|
- [ ] Server commands
|
||||||
- [x] WRAC protocol
|
- [x] WRAC protocol
|
||||||
- [x] RACS 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