{"id":22412485,"url":"https://github.com/tusharpamnani/chat-room","last_synced_at":"2025-03-27T03:22:28.131Z","repository":{"id":215624303,"uuid":"739400343","full_name":"tusharpamnani/Chat-Room","owner":"tusharpamnani","description":"A simple chat room application developed using Rust and Rocket, a web framework for Rust.","archived":false,"fork":false,"pushed_at":"2024-01-05T13:41:21.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T08:46:26.823Z","etag":null,"topics":["project"],"latest_commit_sha":null,"homepage":"https://chat-room-alpha-five.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tusharpamnani.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-01-05T13:28:35.000Z","updated_at":"2024-08-30T14:02:18.000Z","dependencies_parsed_at":"2024-01-05T14:45:22.264Z","dependency_job_id":null,"html_url":"https://github.com/tusharpamnani/Chat-Room","commit_stats":null,"previous_names":["tusharpamnani/chat-room"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FChat-Room","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FChat-Room/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FChat-Room/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tusharpamnani%2FChat-Room/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tusharpamnani","download_url":"https://codeload.github.com/tusharpamnani/Chat-Room/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773699,"owners_count":20669836,"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":["project"],"created_at":"2024-12-05T14:09:02.439Z","updated_at":"2025-03-27T03:22:28.109Z","avatar_url":"https://github.com/tusharpamnani.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rocket Chat Room Application\n\n## Overview\n\nThis is a simple chat room application built with the [Rocket](https://rocket.rs/) web framework in Rust. The application allows users to post messages to chat rooms and view real-time updates using server-sent events (SSE).\n\n## Features\n\n- **Chat Messages:** Users can post messages to specific chat rooms.\n- **Real-Time Updates:** Chat messages are broadcasted to clients in real-time using SSE.\n- **Simple UI:** The application includes a minimalistic user interface for posting and viewing messages.\n\n## Prerequisites\n\nBefore running the application, make sure you have the following installed:\n\n- [Rust](https://www.rust-lang.org/): The programming language used to build the application.\n\n## Getting Started\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/tusharpamnani/Chat-Room.git\n    cd Chat-Room\n    ```\n\n2. Build and run the application:\n\n    ```bash\n    cargo run\n    ```\n\n3. Open your web browser and navigate to [http://localhost:8000](http://localhost:8000) to access the chat room.\n\n## Usage\n\n- **Posting Messages:** Enter your username, select a chat room, and type your message. Click the \"Send\" button to post your message.\n\n- **Real-Time Updates:** Open multiple browser tabs to the same chat room to see real-time updates as messages are posted.\n\n## Project Structure\n\n- **src/main.rs:** Main entry point for the Rocket application. This also defines the routes, handlers, and state.\n\n- **static/:** Directory containing static files for the frontend.\n  - **index.html:** HTML file for the main page.\n  - **reset.css:** CSS file for resetting default styles.\n  - **style.css:** CSS file for styling the chat room.\n  - **script.js:** JavaScript file for client-side functionality.\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests to improve the application.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusharpamnani%2Fchat-room","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftusharpamnani%2Fchat-room","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftusharpamnani%2Fchat-room/lists"}