How kytdk/snapshatter works
SnapShatter is a command-line Snapchat automation tool. The user chooses a task, and the main program runs the corresponding snap-sending, streak-maintenance, friend-adding, or scale-calibration workflow. These workflows recognize Snapchat controls in screenshots and issue device input through ADB; calibration can also establish the image scale used by recognition. The README documents the major automation capabilities, but the sampled code does not show the full behavior of every interaction. The graph reflects the shown calls and documented features; templates and Snapchat are represented as dependencies, not inspected implementations.
Main entry points: utils.py Image recognition · main.py Task selection · images Image templates
Components 11
Automation workflows
- Task selection
main.py - Send snaps
main.py - Maintain streaks
main.py - Add friends
main.py - Scale calibration
main.py
Device interaction
- Image recognition
src/utils.py - Touch input
src/utils.py
External dependencies
- Image templates
images - ADB device
- Snapchat app
Other components
- User
Connections 16
- User → Task selection: chooses task
main.py - Task selection → Send snaps: dispatches
main.py - Task selection → Maintain streaks: dispatches
main.py - Task selection → Add friends: dispatches
main.py - Task selection → Scale calibration: dispatches
main.py - Send snaps → Image recognition: recognizes controls
main.py - Maintain streaks → Image recognition: recognizes controls
main.py - Add friends → Image recognition: recognizes controls
main.py - Scale calibration → ADB device: captures screen
main.py - Scale calibration → Image templates: loads template
main.py - Scale calibration → Image recognition: sets scale
main.py - Image recognition → ADB device: captures screen
src/utils.py - Image recognition → Image templates: loads template
src/utils.py - Image recognition → Touch input: taps matches
src/utils.py - Touch input → ADB device: sends commands
src/utils.py - ADB device → Snapchat app: controls app