Ripto is a small desktop GUI that displays cryptocurrency prices (in Toman) using a Slint UI and a Rust backend.
- Binary (.deb): release/ripto_0.1.0_amd64.deb
- Tarball: release/ripto-0.1.0-linux-amd64.tar.gz
src/— Rust sourceui/— Slint UI files (ui/ui.slint)icons/— application icon(s)
- Simple Slint UI window showing multiple coin prices
- Periodic automatic refresh and manual refresh button
- Packaged release artifacts:
.deband portable tarball
# install Rust toolchain and Cargo
cargo build
cargo runcargo build --release
# release binary: target/release/slint-rust-template# install .deb (Downlaod from release page)
sudo apt install ./ripto_0.1.0_amd64.deb
# then launch from application menu or run:
riptotar xzf release/ripto-0.1.0-linux-amd64.tar.gz
# optionally install system-wide:
sudo ./ripto-0.1.0-linux-amd64/INSTALL.sh- The app embeds the image referenced from
ui/ui.slintand the installer places the PNG into the hicolor icon theme. - On some desktops (GNOME/Wayland/KDE) the window manager may prefer the
.desktopicon. If the panel/taskbar still shows a generic icon:- log out/in or run
kbuildsycoca5to refresh KDE caches - ensure the
.desktopStartupWMClassmatches the app's WM_CLASS (I can help determine that if needed)
- log out/in or run
- Debian package created:
release/ripto_0.1.0_amd64.deb - Portable release:
release/ripto-0.1.0-linux-amd64.tar.gz(containsriptobinary,ripto.desktop,ripto.png, andINSTALL.sh)
- Pull requests and issues are welcome. For development, run the app with
cargo runand editui/ui.slintandsrc/*.rs.
- See the repository
LICENSEfile at the project root for licensing terms.
If you want, I can also produce a polished GitHub release description and prepare the release assets for upload. If you want uploads automated, provide a GitHub token and target repo and I will prepare the steps.
File paths mentioned above are relative to the project root.
A template for a Rust application that's using Slint for the user interface.
This template helps you get started developing a Rust application with Slint as toolkit
for the user interface. It demonstrates the integration between the .slint UI markup and
Rust code, how to react to callbacks, get and set properties, and use basic widgets.
- Install Rust by following its getting-started guide.
Once this is done, you should have the
rustccompiler and thecargobuild system installed in yourPATH. - Download and extract the ZIP archive of this repository.
- Rename the extracted directory and change into it:
mv slint-rust-template-main my-project cd my-project - Build with
cargo:cargo build - Run the application binary:
cargo run
We recommend using an IDE for development, along with our LSP-based IDE integration for .slint files. You can also load this project directly in Visual Studio Code and install our Slint extension.
We hope that this template helps you get started, and that you enjoy exploring making user interfaces with Slint. To learn more
about the Slint APIs and the .slint markup language, check out our online documentation.
Don't forget to edit this readme to replace it by yours, and edit the name = field in Cargo.toml to match the name of your
project.