{"id":30873684,"url":"https://github.com/hatixntsoa/rust.server","last_synced_at":"2025-09-07T23:48:49.756Z","repository":{"id":262770551,"uuid":"865303311","full_name":"hatixntsoa/rust.server","owner":"hatixntsoa","description":"A Simple Web Server written in Rust","archived":false,"fork":false,"pushed_at":"2025-09-05T10:05:32.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T12:13:22.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/hatixntsoa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-30T10:07:27.000Z","updated_at":"2025-09-05T10:05:36.000Z","dependencies_parsed_at":"2025-09-05T12:13:31.381Z","dependency_job_id":"f743dd35-ca39-48b6-8cbf-6d01f44c358b","html_url":"https://github.com/hatixntsoa/rust.server","commit_stats":null,"previous_names":["h471x/rust_server","hatixntsoa/rust.server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hatixntsoa/rust.server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatixntsoa%2Frust.server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatixntsoa%2Frust.server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatixntsoa%2Frust.server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatixntsoa%2Frust.server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hatixntsoa","download_url":"https://codeload.github.com/hatixntsoa/rust.server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatixntsoa%2Frust.server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274113008,"owners_count":25224333,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-07T23:48:46.765Z","updated_at":"2025-09-07T23:48:49.744Z","avatar_url":"https://github.com/hatixntsoa.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Web Server in Rust\n\nA lightweight web server implemented in Rust, designed to serve static HTML content and handle basic HTTP requests. This server demonstrates the capabilities of Rust for network programming and is suitable for educational purposes or as a starting point for more complex web applications.\n\n## Features\n\n- Serves HTML files from the local file system.\n- Handles basic GET requests, including a sleep route to demonstrate delayed responses.\n- Returns a 404 error page for unrecognized routes.\n\n## Prerequisites\n\n- Rust programming language installed on your machine. You can install Rust by following the instructions on [rust-lang.org](https://www.rust-lang.org/tools/install).\n- Cargo, the Rust package manager, which comes with the Rust installation.\n\n## Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/hatixntsoa/rust.server.git\n   cd rust.server\n   ```\n\n3. **Build the Project**:\n   Run the following command to build the project and download any necessary dependencies:\n   ```bash\n   cargo build\n   ```\n\n## Usage\n\n1. **Run the Server**:\n   Execute the following command to start the server:\n   ```bash\n   cargo run\n   ```\n\n2. **Access the Server**:\n   Open your web browser and navigate to:\n   ```\n   http://127.0.0.1:7878\n   ```\n\n   You can also access the sleep route by navigating to:\n   ```\n   http://127.0.0.1:7878/sleep\n   ```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit issues or pull requests. For major changes, please open an issue first to discuss what you would like to change.\n\n## Acknowledgments\n\n- Inspired by the simplicity and performance of Rust.\n- Thanks to the Rust community for their support and resources.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatixntsoa%2Frust.server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhatixntsoa%2Frust.server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatixntsoa%2Frust.server/lists"}