Skip to content

SwagChat is a secure way to chat with your friends, right in your browser!

License

Notifications You must be signed in to change notification settings

programORdie2/SwagChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A secure chat application for all your friends

Platforms license

About The Project

Product Name Screen Shot

SwagChat is a secure chat application designed to provide a seamless and safe communication experience for you and your friends. Whether you're discussing the latest trends or planning a group event, SwagChat ensures your conversations remain private and secure.

Key Features:

  • End-to-End Encryption: All messages are encrypted to ensure complete privacy.
  • Cross-Platform Support: Available on Linux, macOS, and Windows.
  • Customizable: Add custom wallpapers and personalize your chat experience.
  • Authentication: Secure login system to protect your data.
  • Real-time Messaging: Instant messaging with real-time updates.

Built With

  • Node
  • JavaScript
  • Socket.io
  • Express.js

Getting Started

I can't run my server 24/7, so if you want to try out this cool app, you need to fork this repo and run it locally.
To get a local copy up and running follow these simple steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/programORdie2/SwagChat.git
  2. Install NPM packages
    npm install
  3. Run the project
    npm ./backend/app.js

Usage

This site works easy; just chat! You can add custom wallpapers in the right top of a server.

Make sure you don't forgot to change the JWT keys in the .env file!

That's it, I hope you enjoy it!

Roadmap

  • Add basic Auth

    • Make backend only send index.html when succesfully authenciated.
    • Make sure not-authenciated users can't access the WebSocket.
    • Upload pfp on signup.
  • Room backgound image resizing on upload (backend and frontend, for faster upload speed and type safety)

  • Room bg preview for all screens

  • Organize db script better

  • Rooms db

  • Same name login rate limiting

  • Reqister/login error showing in frontend

  • Sanitize user input

  • Add 404 page

  • Prevent email "+" hack

  • Add logout button in frontend

  • Make uuid secret and identify user by other public id

  • Add ws rate limiting

  • Add overlay when ws isn't connected

  • Beter UI

  • Make phone friendly (current phone view is sh!t)

  • Login with both username and email

  • Room creation

  • Room invitation

  • Invitation management

  • Notifications

  • Rooms browser

  • Email verification

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPLv3 License. See LICENSE for more information.

Contact

Contact me on discord - @programordie

About

SwagChat is a secure way to chat with your friends, right in your browser!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published