aiden2480 / sleuth

A simple chat app I'm working on made in aiohttp

Home Page:https://sleuth-chat.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

<style> * { color: #34475e; font-family: "Consolas"; text-align: center; } </style>

SLEUTH CHAT APP

Project description

A simple chat app I've created with user authentication to only allow certain people to join. I created it because Discord, the regular chat is blocked on school wifi and I couldn't find a decent chat that was unblocked, so I created my own 😉

Inspiration

I created my chat off this template, one of the only ones I could find that wasn't outdated.

Config options

All config options are read from the environment using python's inbuilt method os.getenv. The current supported settings are;

Setting Description Default value
DATABASE_URL The postgres formatted URL of the database to connect to Required - no default
HOST The host on which to run the server localhost
PORT The port on which to run the server 80
PRINT_MESSAGES Specefies if the messages sent in chat should be logged in the console True
MAX_CACHE_MESSAGE_LENGTH The maximum number of messages for the server to hold in the cache before deleting the oldest one 0 (infinite)
LOG_PINGS Specefies if keepalive pings from the client should be logged False
DEVELOPMENT Specefies if the server is being used in a testing environment. This enables extra debug-only settings False
COMMAND_PREFIX The prefix of the commands used in chat !
NICKNAME_COOLDOWN The number of seconds a user must wait between each change before being able to change it again 0 (No cooldown)

About

A simple chat app I'm working on made in aiohttp

https://sleuth-chat.herokuapp.com


Languages

Language:Python 51.7%Language:JavaScript 21.1%Language:Jinja 20.9%Language:CSS 6.4%