Skip to content

Dev - #145

Open
Rintu-chowdory wants to merge 5 commits into
HunxByts:mainfrom
Rintu-chowdory:dev
Open

Dev#145
Rintu-chowdory wants to merge 5 commits into
HunxByts:mainfrom
Rintu-chowdory:dev

Conversation

@Rintu-chowdory

Copy link
Copy Markdown

No description provided.

Rintu Chowdory added 5 commits September 13, 2026 10:12
- HTTPS + timeouts for all API calls (was plain HTTP, could hang forever)
- Error handling: invalid IP / phone input no longer crashes with KeyError
- Full float precision in Google Maps link (was truncated to ints)
- Username scanner: browser User-Agent header (fixes false 'not found'),
  removed dead sites (Periscope, StumbleUpon, Ello, We Heart It),
  duplicate Snapchat entry removed, network errors shown as unknown
- Phone lookup: English locale, configurable default region (DE)
- Menu: proper while-loop instead of unbounded recursion

All credit to the original author HunxByts.
- tests/: 18 pytest tests, fully mocked (run offline), covering all four
  features, error paths, HTTPS/timeout usage and site-list hygiene
- .github/workflows/ci.yml: flake8 + pytest on Python 3.9-3.12 matrix,
  followed by a Docker build + smoke test
- Dockerfile: python:3.12-slim, non-root user, no-cache pip install
- README: CI badge, Docker and test instructions

All credit to the original author HunxByts.
- pyproject.toml: buildable package, version read from GhostTR.__version__
- release.yml: tag-triggered releases; stable tags -> GitHub Release +
  ghcr.io :latest image, preview tags -> pre-release + :preview image
- --version CLI flag, 2 new tests (20 total)
New in the preview channel: setting NO_COLOR strips all ANSI color codes,
making output readable in logs and non-TTY environments. Version bumped
to 2.4.0-preview; 21 tests passing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants