{"id":26955260,"url":"https://github.com/programordie2/swagchat","last_synced_at":"2025-04-03T02:29:54.596Z","repository":{"id":243142839,"uuid":"811593265","full_name":"programORdie2/SwagChat","owner":"programORdie2","description":"SwagChat is a secure way to chat with your friends, right in your browser!","archived":false,"fork":false,"pushed_at":"2024-06-28T21:52:21.000Z","size":3775,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-28T22:49:23.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/programORdie2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-06T22:57:05.000Z","updated_at":"2024-06-28T21:52:25.000Z","dependencies_parsed_at":"2024-06-07T00:21:39.385Z","dependency_job_id":"3841c561-cac7-4539-97f7-1ecc2f708a08","html_url":"https://github.com/programORdie2/SwagChat","commit_stats":null,"previous_names":["programordie2/swagchat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programORdie2%2FSwagChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programORdie2%2FSwagChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programORdie2%2FSwagChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programORdie2%2FSwagChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/programORdie2","download_url":"https://codeload.github.com/programORdie2/SwagChat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246924995,"owners_count":20855822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-03T02:29:54.204Z","updated_at":"2025-04-03T02:29:54.557Z","avatar_url":"https://github.com/programORdie2.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/programORdie2/SwagChat\"\u003e\n    \u003cimg src=\"images/logo.png\" alt=\"Logo\" width=\"200\" height=\"80\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\n    A secure chat application for all your friends\n  \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Platforms-Linux%20%7C%20macOS%20%7C%20Windows-blue.svg?style=flat\"alt=\"Platforms\"\u003e\n    \u003ca href=\"https://github.com/programordie2/swagchat/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/programordie2/swagchat.svg?style=flat\" alt=\"license\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003c!--\n\u003cdetails\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#roadmap\"\u003eRoadmap\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n--\u003e\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\n![Product Name Screen Shot][product-screenshot]\n\nSwagChat 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.\n\nKey Features:\n- **End-to-End Encryption:** All messages are encrypted to ensure complete privacy.\n- **Cross-Platform Support:** Available on Linux, macOS, and Windows.\n- **Customizable:** Add custom wallpapers and personalize your chat experience.\n- **Authentication:** Secure login system to protect your data.\n- **Real-time Messaging:** Instant messaging with real-time updates.\n\n\n\n### Built With\n\n* [![Node][Node.js]][Node-url]\n* ![JavaScript][Javascript]\n* [![Socket.io][Socket.io]][Socketio-url]\n* [![Express.js][Express.io]][Express-url]\n\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nI 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.\u003cbr /\u003e\nTo get a local copy up and running follow these simple steps.\n\n### Prerequisites\n\nThis is an example of how to list things you need to use the software and how to install them.\n* npm\n  ```sh\n  npm install npm@latest -g\n  ```\n\n### Installation\n1. Clone the repo\n   ```sh\n   git clone https://github.com/programORdie2/SwagChat.git\n   ```\n2. Install NPM packages\n   ```sh\n   npm install\n   ```\n3. Run the project\n   ```sh\n   npm ./backend/app.js\n   ```\n\n\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\nThis site works easy; just chat! You can add custom wallpapers in the right top of a server.\n\nMake sure you don't forgot to change the JWT keys in the `.env` file!\n\nThat's it, I hope you enjoy it!\n\n\n\u003c!-- ROADMAP --\u003e\n## Roadmap\n\n- [x] Add basic Auth\n    - [x] Make backend only send index.html when succesfully authenciated.\n    - [x] Make sure not-authenciated users can't access the WebSocket.\n    - [x] Upload pfp on signup.\n\n- [x] Room backgound image resizing on upload (backend and frontend, for faster upload speed and type safety)\n- [x] Room bg preview for all screens\n- [x] Organize db script better\n- [x] Rooms db\n- [x] Same name login rate limiting\n- [x] Reqister/login error showing in frontend\n- [x] Sanitize user input\n- [x] Add 404 page\n- [x] Prevent email \"+\" hack\n- [x] Add logout button in frontend\n- [x] Make uuid secret and identify user by other public id\n- [x] Add ws rate limiting\n- [x] Add overlay when ws isn't connected\n- [x] Beter UI\n- [ ] Make phone friendly (current phone view is sh!t)\n- [x] Login with both username and email\n- [x] Room creation\n- [x] Room invitation\n- [ ] Invitation management\n- [ ] Notifications\n- [ ] Rooms browser\n- [ ] Email verification\n\nSee the [open issues](https://github.com/programORdie2/SwagChat/issues) for a full list of proposed features (and known issues).\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf 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\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the GPLv3 License. See `LICENSE` for more information.\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nContact me on discord - @programordie\n\n\u003c!-- MARKDOWN LINKS \u0026 IMAGES --\u003e\n\u003c!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --\u003e\n[product-screenshot]: images/screenshot.png\n\n[Node.js]: https://img.shields.io/badge/node.js-35495E?style=for-the-badge\u0026logo=nodedotjs\u0026logoColor=4FC08D\n[Node-url]: https://nodejs.org/\n\n[JavaScript]: https://img.shields.io/badge/JavaScript-35495E?style=for-the-badge\u0026logo=javascript\u0026logoColor=F7DF1E\n\n[Socket.io]: https://img.shields.io/badge/Socket.io-35495E?style=for-the-badge\u0026logo=socketdotio\u0026logoColor=4FC08D\n[Socketio-url]: https://socket.io/\n\n[Express.io]: https://img.shields.io/badge/Express.js-35495E?style=for-the-badge\u0026logo=express\u0026logoColor=white\n[Express-url]: https://expressjs.com/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramordie2%2Fswagchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogramordie2%2Fswagchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogramordie2%2Fswagchat/lists"}