$ show GaelicThunder/Experience-Plugin-Pwnagotchi
This repository contains a single Python plugin for the Pwnagotchi wireless auditing platform. The plugin adds an experience and leveling system that awards points for wireless events (associations, deauthentications, handshakes) and AI rewards. When experience thresholds are met, the level increases and the UI updates to show the new level and a progress bar. The plugin persists data using either legacy text or JSON save formats, with automatic migration from legacy saves. It can optionally import historical data from the session-stats plugin to set initial experience. The code is functional but shows signs of being written by a novice Python developer, with some repetitive patterns and tight coupling to the Pwnagotchi framework.
The LLM identified 1 files worth highlighting for reuse:
The barString method generates a text-based progress bar given a symbol count and percentage. It handles edge cases (over 100%), calculates bar length using rounding, and returns a formatted string with Unicode block characters. This isolated utility has no external dependencies beyond class constants and could be reused in any project needing a simple text progress bar with minimal modification (e.g., making the fill/empty characters parameters).