Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bestia-dev/counter_egui

counter GUI with egui
https://github.com/bestia-dev/counter_egui

egui maintained ready-for-use rust

Last synced: 1 day ago
JSON representation

counter GUI with egui

Awesome Lists containing this project

README

        

[//]: # (auto_md_to_doc_comments segment start A)

# counter_egui

[//]: # (auto_cargo_toml_to_md start)

**counter GUI with egui**
***version: 2024.1129.1437 date: 2024-11-29 author: [bestia.dev](https://bestia.dev) repository: [GitHub](https://github.com/bestia-dev/counter_egui)***

![tutorial](https://img.shields.io/badge/tutorial-orange)
![egui](https://img.shields.io/badge/egui-orange)
![rust](https://img.shields.io/badge/rust-orange)
![gui](https://img.shields.io/badge/gui-orange)

[//]: # (auto_cargo_toml_to_md end)

![status](https://img.shields.io/badge/tutorial-yellow)
![counter_egui](https://bestia.dev/webpage_hit_counter/get_svg_image/2117022954.svg)

Hashtags: #tutorial #egui #rust #gui
My projects on GitHub are more like a tutorial than a finished product: [bestia-dev tutorials](https://github.com/bestia-dev/tutorials_rust_wasm).

## GUI for windows

A simple test program that creates a simple GUI for Windows with the crate `egui`.

This is an "immediate mode" GUI, but I will not need that in my future work.

## Cross compile to windows

On 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.
I 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 .

Copy the exe file from the container 'crustde' to win folder. Run in windows git-bash:

```bash
scp rustdevuser@crustde:/home/rustdevuser/rustprojects/counter_egui/target/x86_64-pc-windows-gnu/release/counter_egui.exe /c/Users/Luciano/rustprojects/counter_egui/

# then run in git-bash
cd ~/rustprojects/counter_egui
./counter_egui.exe
```

## Open-source and free as a beer

My open-source projects are free as a beer (MIT license).
I just love programming.
But 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).
You know the price of a beer in your local bar ;-)
So I can drink a free beer for your health :-)
[Na zdravje!](https://translate.google.com/?hl=en&sl=sl&tl=en&text=Na%20zdravje&op=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/) 🍻

[//bestia.dev](https://bestia.dev)
[//github.com/bestia-dev](https://github.com/bestia-dev)
[//bestiadev.substack.com](https://bestiadev.substack.com)
[//youtube.com/@bestia-dev-tutorials](https://youtube.com/@bestia-dev-tutorials)

[//]: # (auto_md_to_doc_comments segment end A)