{"id":26854778,"url":"https://github.com/newtypegeek/web-rust","last_synced_at":"2025-08-19T08:08:11.972Z","repository":{"id":65967716,"uuid":"603612434","full_name":"newTypeGeek/web-rust","owner":"newTypeGeek","description":"Trial on Rust Actix-Web ","archived":false,"fork":false,"pushed_at":"2023-02-26T07:42:40.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T23:28:36.660Z","etag":null,"topics":["actix-web","rust"],"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/newTypeGeek.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-19T03:23:11.000Z","updated_at":"2023-02-19T06:54:14.000Z","dependencies_parsed_at":"2023-03-02T11:45:51.390Z","dependency_job_id":null,"html_url":"https://github.com/newTypeGeek/web-rust","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/newTypeGeek/web-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newTypeGeek%2Fweb-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newTypeGeek%2Fweb-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newTypeGeek%2Fweb-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newTypeGeek%2Fweb-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newTypeGeek","download_url":"https://codeload.github.com/newTypeGeek/web-rust/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newTypeGeek%2Fweb-rust/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271121168,"owners_count":24702723,"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-08-19T02:00:09.176Z","response_time":63,"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":["actix-web","rust"],"created_at":"2025-03-30T23:28:05.545Z","updated_at":"2025-08-19T08:08:11.963Z","avatar_url":"https://github.com/newTypeGeek.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# web-rust\n\nTrial on web-server using Rust\n\n## Getting Started\n\n1. Clone this repository\n\n   `git clone https://github.com/newTypeGeek/web-rust.git`\n\n2. Install Rust: https://www.rust-lang.org/tools/install\n\n3. Build the executable binary using `Cargo`\n\n   `cd /path/to/web-rust/`\n\n   `cargo build`\n4. Run the compiled binary file\n\n   ```commandline\n    ❯ target/debug/web-rust\n    [2023-02-26T07:31:22.538Z INFO  actix_server::builder] starting 4 workers\n    [2023-02-26T07:31:22.538Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime\n   ```\n\n5. Open a web browser and type `http://0.0.0.0:8080`. You would see `Hello world!`  \n\n## Run in Docker\n\n1. Install Docker https://docs.docker.com/get-docker/\n2. Build a docker image\n\n   `cd /path/to/web-rust/`\n\n   `docker build --rm -t web-rust -f Dockerfile .`\n\n3. Create a docker container\n\n   `docker run -p 8080:8080 --name web-rust web-rust:latest`\n\n4. Check the docker container is running normally\n\n   ```commandline\n    ❯ docker logs web-rust\n    [2023-02-26T07:38:05.092Z INFO  actix_server::builder] starting 2 workers\n    [2023-02-26T07:38:05.092Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime\n   ```\n\n5. Open a web browser and type `http://0.0.0.0:8080`. You would see `Hello world!`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewtypegeek%2Fweb-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewtypegeek%2Fweb-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewtypegeek%2Fweb-rust/lists"}