Repository navigation
Add terminal UI examples using dialog - #38
Merged
Merged
Conversation
Add example scripts that provide a TUI alternative to the GTK interface: - otptui.sh: displays OTP code with live countdown using dialog gauge - otpmenu.sh: interactive menu to select OTP account - OTPTUI.md: documentation with usage instructions - Screenshots demonstrating the interface These scripts leverage otpgui's scripted mode (-i script) to integrate with dialog for terminal-based OTP code generation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
otptui.sh: TUI widget displaying OTP code with live countdown timer usingdialog --gaugeotpmenu.sh: interactive menu to select OTP accounts from configuration fileOTPTUI.md: documentation explaining usage and integration with otpgui scripted modeThese example scripts provide a terminal-based alternative to the GTK interface, useful for headless servers, SSH sessions, or environments without a graphical display. They leverage
otpgui -i scriptmode to integrate withdialogfor TUI rendering.Test plan
./examples/otptui.sh <label>with a valid OTP label./examples/otpmenu.shand select an account from the menu🤖 Generated with Claude Code