Video Preview
https://www.youtube.com/watch?v=gq852Cxr980
Just another centralized chat system.
Authentication is done through Discord's OAuth2 API. The chat messages are transmitted through gRPC. The status of everything is kept up to date with Redis.
Nice and simple. I think.
The only external dependency you need is Redis.
- Install Redis
REDIS_HOST = ""
REDIS_USERNAME = ""
REDIS_PASSWORD = ""
REDIS_PORT = ""
REDIS_DATABASE = ""
OAUTH2_ENDPOINT = "https://discord.com/api/v10"
OAUTH2_AUTHORIZE = "https://discord.com/oauth2/authorize"
OAUTH2_TOKEN = "https://discord.com/api/oauth2/token"
OAUTH2_SCOPES = "identify"
OAUTH2_CLIENT_ID = ""
OAUTH2_CLIENT_SECRET = ""
OAUTH2_REDIRECT_URI = ""
WEB_SECRET_KEY = "RANDOM VALUE HERE."
git clone https://github.com/chomnr/ChatNexus.git
cd chatnexus
cargo build
# Running the chat server.
cd chatnexus-chat
cargo run
# Running the web server.
cd chatnexus-web
cargo run
# Running the client.
cd chatnexus-client
cargo run