diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a58a91..49e4e9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- The About dialog, the README and the user guide now ask, once and out of the + way, for a star on GitHub if you find the app useful. + ## [0.2.0] ### Added diff --git a/README.md b/README.md index b5438a7..96a8432 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ This tool handles Firebase **service-account private keys** and mints signed tok The short version: the service account is read from the path you pick and never copied; OAuth access tokens live in memory only; API keys and App Check debug tokens are written to disk only when you tick **remember API keys & debug tokens**. +If you find this useful, please consider [starring the project on GitHub](https://github.com/smaranjit/firebase-token-toolkit), it really helps! + ## Contributing Issues and pull requests are welcome — see [CONTRIBUTING.md](https://github.com/smaranjit/firebase-token-toolkit/blob/main/CONTRIBUTING.md). diff --git a/README.txt b/README.txt index 171c766..2b1b0b7 100644 --- a/README.txt +++ b/README.txt @@ -60,6 +60,10 @@ MORE Source, changelog, security notes and issue tracker: https://github.com/smaranjit/firebase-token-toolkit + If you find this useful, please consider starring the project on + GitHub, it really helps: + https://github.com/smaranjit/firebase-token-toolkit + The About dialog, reached from the footer, links the changelog and security notes for this exact version. diff --git a/docs/src/images/about-dialog.png b/docs/src/images/about-dialog.png index f865c35..28e4bbf 100644 Binary files a/docs/src/images/about-dialog.png and b/docs/src/images/about-dialog.png differ diff --git a/docs/src/introduction.md b/docs/src/introduction.md index 335cfe1..cd1b7b0 100644 --- a/docs/src/introduction.md +++ b/docs/src/introduction.md @@ -39,3 +39,7 @@ private key or the tokens it mints to disk. > **Use a development project.** A service-account key can sign in as any user > in its project, and the app shows real tokens on screen. Read the > [Security](security.md) page before pointing it at anything that matters. + +If you find this useful, please consider +[starring the project on GitHub](https://github.com/smaranjit/firebase-token-toolkit), +it really helps! diff --git a/src/ui/about.rs b/src/ui/about.rs index dcd0171..2990c05 100644 --- a/src/ui/about.rs +++ b/src/ui/about.rs @@ -88,6 +88,13 @@ pub fn window(ctx: &egui::Context, open: &mut bool) { } } + ui.add_space(10.0); + ui.horizontal(|ui| { + ui.label("Find it useful?"); + ui.hyperlink_to("Star it on GitHub", env!("CARGO_PKG_REPOSITORY")); + ui.label("— it really helps."); + }); + ui.add_space(10.0); ui.separator(); ui.add_space(6.0);