Core libraries & basic server/client apps for lodge
- Rust 99.1%
- Shell 0.9%
| lodge-client | ||
| lodge-client-tui | ||
| lodge-protocol | ||
| lodge-server | ||
| lodge-server-cli | ||
| scripts | ||
| .gitignore | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| mise.toml | ||
| README.md | ||
Lodge core libraries & binaries
Contains core protocol, client & server libraries along with start of some CLI/TUI apps for both.
NOTE: IPv4 only for now, dual stack is a little weird in Rust, so maybe need to bind 2x or try socket2 crate?
Server CLI Configuration
| Config File Key | Description | ENV | Default |
|---|---|---|---|
| server_name | User facing title of server | LODGE_SERVER_NAME | The Lodge |
| listen_addr | IP:Port server binds to | LODGE_LISTEN_ADDR | 0.0.0.0:4444 |
| Log/tracing level/directive | RUST_LOG | info | |
| allow_multiple_room_join | If users are allowed to be in more than 1 room at once | LODGE_ALLOW_MULTIPLE_ROOM_JOIN | true |
| visual_rooms | If server supports visual rooms with images & user avatars | LODGE_VISUAL_ROOMS | false |
Future Auth Thoughts
- https://crates.io/crates/rusty_paseto for PASETO tokens
- Maybe just user/pass auth method to start
- Add other auth methods down the road?