How paulomatheuz/github-profile-viewer works
GitHub Profile Viewer is a small terminal application: it reads a username, validates it, fetches the public GitHub profile, handles the HTTP result, and displays selected fields. The main module owns the workflow; validation and HTTP access are separate internal layers. README capabilities are represented where supported by the excerpts. The error handling and profile formatting are implemented in main.py; no storage layer is present.
Main entry points: main.py Profile workflow · github_client.py GitHub client · validators.py Username validation
Components 5
Other components
- Terminal user
- Profile workflow
main.py - Username validation
validators.py - GitHub client
github_client.py - GitHub REST API
Connections 6
- Terminal user → Profile workflow: enters username
README.md - Profile workflow → Username validation: validates username
main.py - Profile workflow → GitHub client: requests profile
main.py - GitHub client → GitHub REST API: sends HTTP request
github_client.py - GitHub client → Profile workflow: returns response
main.py - Profile workflow → Terminal user: displays profile or error
main.py