{"id":26719812,"url":"https://github.com/bromaniac/smolest","last_synced_at":"2026-05-06T07:33:44.267Z","repository":{"id":217267511,"uuid":"742403642","full_name":"bromaniac/smolest","owner":"bromaniac","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-21T19:08:51.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T20:22:07.055Z","etag":null,"topics":["docker","experiment","rust","toy","unlicense","web"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bromaniac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-12T11:58:17.000Z","updated_at":"2025-02-21T19:08:55.000Z","dependencies_parsed_at":"2024-01-15T11:05:15.538Z","dependency_job_id":"3e142258-cec8-4eb3-acbb-af05c247074b","html_url":"https://github.com/bromaniac/smolest","commit_stats":null,"previous_names":["bromaniac/smolest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bromaniac%2Fsmolest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bromaniac%2Fsmolest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bromaniac%2Fsmolest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bromaniac%2Fsmolest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bromaniac","download_url":"https://codeload.github.com/bromaniac/smolest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245901456,"owners_count":20691036,"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":["docker","experiment","rust","toy","unlicense","web"],"created_at":"2025-03-27T18:29:24.655Z","updated_at":"2026-05-06T07:33:44.069Z","avatar_url":"https://github.com/bromaniac.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"This was created for a fun challenge from a colleague:\n\nCreate the smallest possible Docker image for a web application written in Rust that:\n\nReplies HTTP 200 for /\n\nReplies HTTP 200 \"OK\" for /health\n\nI couldn't get cross compilation to work so build this in an Alpine container:\n\ndocker run --rm -it -v .:/mnt alpine sh\n\nAll deps needed are in the alpine.sh script, so run that:\n\n$ sh alpine.sh\n\nBuild command:\n\nRUSTFLAGS=\"-Zlocation-detail=none\" cargo +nightly build -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target x86_64-unknown-linux-gnu --release\n\nThen build the Docker image on any system:\n\ndocker build -t smolest .\n\nRun it:\n\ndocker run --rm -it --init -p 8000:8000 smolest\n\nTo make this even smaller probably involves using no_std... good luck!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbromaniac%2Fsmolest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbromaniac%2Fsmolest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbromaniac%2Fsmolest/lists"}