Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chauveaul/chatexpire

A proof of concept for a realtime chat app with expiring exchanges using one-time codes
https://github.com/chauveaul/chatexpire

Last synced: about 1 month ago
JSON representation

A proof of concept for a realtime chat app with expiring exchanges using one-time codes

Awesome Lists containing this project

README

        

#

ChatExpire


ChatExpire is a web application that lets users talk in a private lounge with full anonymity, and deletes chat logs after 24 hours of the lounge's craetion






## ๐Ÿค” How to use it

To start using ChatExpire, you can simply head over to this [link](https://www.chatexpire.web.app).

>[!NOTE]
>Make sure to stay on the same ip address for the duration of the conversation, otherwise the server will respond with a 404: Not Found

### Create a Lounge
To create a lounge, you can click on the **Create Lounge** button situated in the main menu, and you will then get redirected to the chat page. Afterwards, you can just send the lounge number or the URL to a friend!

Screenshot 2024-11-05 โ€ฏPM

### Join a Lounge
To join a lounge, you can write the lounge number in the input box in the main menu and click **Join Lounge** to be redirected to the chat room. Alternatively you can also access the chat room through a link that follows this format `https://chatexpire.web.app/lounge/{number}`

Screenshot 2024-11-05 at 2 30 26โ€ฏPM

## ๐Ÿคจ How it was made

### Frontend
The frontend was made with just HTML, CSS, and Vanilla JavaScript. This was then served to the client using Express.js

### Backend
The backend was achieved using Firebase for the database and the server-side functions. The server-side functions were used mostly to communicate with the database. For the database, I used Firestore which proved really useful with its realtime database. Thanks to that, I was able to look for database updates and load the messages accordingly without needing sockets or anything of the likes.

# โš–๏ธ License
ChatExpire is licensed under the [MIT License](LICENSE)