{"id":13525899,"url":"https://github.com/smallstepman/ic-mnist","last_synced_at":"2025-08-09T23:06:52.155Z","repository":{"id":169433933,"uuid":"645334750","full_name":"smallstepman/ic-mnist","owner":"smallstepman","description":"Machine Learning's \"hello world\" on ICP ","archived":false,"fork":false,"pushed_at":"2023-05-25T15:40:11.000Z","size":1489,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-03T05:59:23.717Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallstepman.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}},"created_at":"2023-05-25T12:27:50.000Z","updated_at":"2025-01-15T16:24:34.000Z","dependencies_parsed_at":"2024-01-13T22:53:28.485Z","dependency_job_id":"3f9726a5-af7a-40d5-a9de-0aebe73f46d6","html_url":"https://github.com/smallstepman/ic-mnist","commit_stats":null,"previous_names":["smallstepman/ic-mnist"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smallstepman/ic-mnist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fic-mnist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fic-mnist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fic-mnist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fic-mnist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallstepman","download_url":"https://codeload.github.com/smallstepman/ic-mnist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallstepman%2Fic-mnist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269649848,"owners_count":24453541,"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-09T02:00:10.424Z","response_time":111,"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":"2024-08-01T06:01:23.320Z","updated_at":"2025-08-09T23:06:52.131Z","avatar_url":"https://github.com/smallstepman.png","language":"Rust","funding_links":[],"categories":["Decentralized AI"],"sub_categories":["TON"],"readme":"# ic-mnist\n\n1. The frontend provides a canvas where users can draw a digit. \n2. The drawn digit is then sent to the backend canister running `burn-rs` for inference using a pretrained MNIST model. \n3. The backend performs the inference and returns the predicted digit to the frontend.\n\n# Installation \n\nTo set up the project, follow these steps:\n0. Have Rust and Nodejs installed.\n1. Installl [IC-SDK](https://github.com/dfinity/sdk/) (building from `master` branch because we need `gzip` feature which is not available in the latest release) \n``` bash\ngit clone https://github.com/dfinity/sdk.git ./ic-sdk\ncargo build --manifest-path=ic-sdk/Cargo.toml -p dfx\n```\n2. Clone and deploy this project\n``` bash\ngit clone https://github.com/smallstepman/ic-mnist.git ./ic-mnist\ncd ic-mnist\n../ic-sdk/target/debug/dfx start --background --clean\n../ic-sdk/target/debug/dfx deploy\n```\n\n# License\nThe code in this repository is licensed under the MIT License.\n\n# Acknowledgements\nBased on `burn` (https://burn-rs.github.io), backend and frontend implementation copied from this example https://github.com/burn-rs/burn/tree/main/examples/mnist-inference-web, \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallstepman%2Fic-mnist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallstepman%2Fic-mnist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallstepman%2Fic-mnist/lists"}