Skip to main content

A command-line tool to track and report URL redirects

Project description

FollowMe

A command-line tool to track and report URL redirects. FollowMe helps you understand the complete redirect chain of any URL by following each redirect step-by-step and providing a detailed report.

Features

  • Track complete redirect chains for any URL
  • Display status codes for each redirect step with color-coded output
  • Save reports to files
  • Simple command-line interface
  • Cross-platform compatibility
  • Colorized terminal output (with option to disable)

Installation

From PyPI (recommended)

pip install followme

From source

git clone git@github.com:rapidrabbitsoft/followme.git
cd followme
pip install -e .

Usage

Basic usage

followme https://example.com

This will display the redirect chain for the specified URL.

Save output to file

followme https://example.com -o redirect_report.txt

Disable colors

followme https://example.com --no-color

Examples

# Check a simple redirect
followme https://bit.ly/example

# Check a URL with multiple redirects
followme https://t.co/example

# Save the report to a file
followme https://example.com -o my_report.txt

# Disable colorized output
followme https://example.com --no-color

Output Format

The tool provides a clear, numbered list of each redirect in the chain with color-coded output:

  • Bold text: Section headers
  • Cyan: Original URL
  • Yellow: Step numbers and redirect status codes (301, 302, 307, 308)
  • Blue: Source URLs in the redirect chain
  • Magenta: Destination URLs in the redirect chain
  • Green: Final status codes (200) and "(final)" indicator
  • Red: Error status codes
Redirect chain for https://example.com:
1. https://example.com --[301]--> https://www.example.com
2. https://www.example.com --[200]--> (final)

You can disable colors using the --no-color flag.

Requirements

  • Python 3.7 or higher
  • requests library
  • colorama (optional, for Windows color support)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Issues

If you encounter any issues, please report them on the GitHub issue tracker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

followme-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

followme-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file followme-1.0.0.tar.gz.

File metadata

  • Download URL: followme-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for followme-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8684cbe8a5bd95e86b81df768d79d83679330c0d6c6e8605663cbb2bf208788f
MD5 e0b341ef697b97d6adc6e7cae2957998
BLAKE2b-256 10c8e7190fda0132da66f4dac01957039e3793e541b3ad149a020fcf6bbe750b

See more details on using hashes here.

File details

Details for the file followme-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: followme-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for followme-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 846d15dc1e869dc06acd48415fd7b780fb302b3117bc5ec6aebcf8f04783dab5
MD5 a72d71ec4dbd39b562134da9f27eea16
BLAKE2b-256 825497ece580d4ea80274896fde65351a465922b4831fb355ef181d703767cd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page