{"id":21805771,"url":"https://github.com/bestia-dev/counter_iced","last_synced_at":"2025-03-21T07:43:37.414Z","repository":{"id":264849585,"uuid":"894466624","full_name":"bestia-dev/counter_iced","owner":"bestia-dev","description":"counter GUI with iced","archived":false,"fork":false,"pushed_at":"2025-02-12T10:23:49.000Z","size":1279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T11:35:51.859Z","etag":null,"topics":["gui","iced","maintained","ready-for-use","rust","tutorial"],"latest_commit_sha":null,"homepage":"https://bestia-dev.github.io/counter_iced/","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/bestia-dev.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":"2024-11-26T12:05:30.000Z","updated_at":"2025-02-12T10:24:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"799adab4-4933-49ad-9f08-5430f2051dd7","html_url":"https://github.com/bestia-dev/counter_iced","commit_stats":null,"previous_names":["bestia-dev/counter_iced"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestia-dev%2Fcounter_iced","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestia-dev%2Fcounter_iced/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestia-dev%2Fcounter_iced/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestia-dev%2Fcounter_iced/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestia-dev","download_url":"https://codeload.github.com/bestia-dev/counter_iced/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759817,"owners_count":20505710,"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":["gui","iced","maintained","ready-for-use","rust","tutorial"],"created_at":"2024-11-27T12:15:31.844Z","updated_at":"2025-03-21T07:43:37.407Z","avatar_url":"https://github.com/bestia-dev.png","language":"Rust","readme":"\u003c!-- markdownlint-disable MD041 --\u003e\n[//]: # (auto_md_to_doc_comments segment start A)\n\n# counter_iced\n\n[//]: # (auto_cargo_toml_to_md start)\n\n**counter GUI with iced**  \n***version: 2024.1129.1444 date: 2024-11-29 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/counter_iced)***\n\n ![maintained](https://img.shields.io/badge/maintained-green)\n ![ready_for_use](https://img.shields.io/badge/ready_for_use-green)\n ![tutorial](https://img.shields.io/badge/tutorial-orange)\n ![iced](https://img.shields.io/badge/iced-orange)\n ![rust](https://img.shields.io/badge/rust-orange)\n ![gui](https://img.shields.io/badge/gui-orange)\n\n[//]: # (auto_cargo_toml_to_md end)\n\n ![License](https://img.shields.io/badge/license-MIT-blue.svg)\n ![counter_iced](https://bestia.dev/webpage_hit_counter/get_svg_image/748236206.svg)\n\nHashtags: #tutorial #iced #rust #gui  \nMy projects on GitHub are more like a tutorial than a finished product: [bestia-dev tutorials](https://github.com/bestia-dev/tutorials_rust_wasm).\n\n## GUI for windows\n\nA simple test program that creates a simple GUI for Windows with the crate `iced`.\n\nThis is an \"retained mode\" GUI and I will use that in my future works.\nThe resulting exe is heavier than with egui \"immediate mode\", but the exe looks like a proper GUI program. \"Iced\" is used to create the Cosmic Desktop of System76 and it looks nice.\n\n## Cross compile to windows\n\nOn my machine I have Windows11 with WSL/Debian. I will cross compile to Windows, copy the exe file with `scp` and run it on Windows. \n\nI use `cargo-auto` for automation of the build process and to commit to GitHub. Just run `cargo auto` and follow the instructions. To work with GitHub it will need the Personal Access Token from \u003chttps://github.com/settings/tokens\u003e.  \n\nCopy the exe file from the container 'crustde' to win folder. Run in windows git-bash:\n\n```bash\nscp rustdevuser@crustde:/home/rustdevuser/rustprojects/counter_iced/target/x86_64-pc-windows-gnu/release/counter_iced.exe /c/Users/Luciano/rustprojects/counter_iced/\n\n# then run in git-bash\ncd ~/rustprojects/counter_iced\n./counter_iced.exe\n```\n\n## Open-source and free as a beer\n\nMy open-source projects are free as a beer (MIT license).  \nI just love programming.  \nBut I need also to drink. If you find my projects and tutorials helpful, please buy me a beer by donating to my [PayPal](https://paypal.me/LucianoBestia).  \nYou know the price of a beer in your local bar ;-)  \nSo I can drink a free beer for your health :-)  \n[Na zdravje!](https://translate.google.com/?hl=en\u0026sl=sl\u0026tl=en\u0026text=Na%20zdravje\u0026op=translate) [Alla salute!](https://dictionary.cambridge.org/dictionary/italian-english/alla-salute) [Prost!](https://dictionary.cambridge.org/dictionary/german-english/prost) [Nazdravlje!](https://matadornetwork.com/nights/how-to-say-cheers-in-50-languages/) 🍻\n\n[//bestia.dev](https://bestia.dev)  \n[//github.com/bestia-dev](https://github.com/bestia-dev)  \n[//bestiadev.substack.com](https://bestiadev.substack.com)  \n[//youtube.com/@bestia-dev-tutorials](https://youtube.com/@bestia-dev-tutorials)  \n\n[//]: # (auto_md_to_doc_comments segment end A)\n","funding_links":["https://paypal.me/LucianoBestia"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestia-dev%2Fcounter_iced","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestia-dev%2Fcounter_iced","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestia-dev%2Fcounter_iced/lists"}