Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 2.24 KB

File metadata and controls

74 lines (45 loc) · 2.24 KB

pgls

pgls is a CLI tool to fetch and list links and domains from a given URL, with options for filtering internal or external links.

Installation

You can quickly install Pgls by running the following command in your terminal:

curl -fsSL https://raw.githubusercontent.com/ranajahanzaib/pgls/main/install.sh | sudo bash

Note: Ensure you have sudo privileges as the script moves the binary to a system directory.

Usage

The utility accepts the following command-line arguments:

pgls 0.1
A CLI tool to fetch and list links and domains from a given URL, with options for filtering internal or external links.

USAGE:
pgls [OPTIONS]

OPTIONS:
domains      # List all domains mentioned on the page
links        # List all links mentioned on the page
  --external # List only external links
  --internal # List only internal links

Example

List all links from a Wikipedia page:

pgls links https://en.m.wikipedia.org/

List all external links from a Wikipedia page:

pgls links https://en.m.wikipedia.org/ --external

List all domains from a Wikipedia page:

pgls domains https://en.m.wikipedia.org/

Contributing

We’d love to accept your patches and contributions to this project. There are just a few guidelines you need to follow.

This project follows the Contributor Covenant as its Code of Conduct, and we expect all project participants to adhere to it. Kindly read the full guide to understand what actions will not be tolerated.

Read our contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes to the project.

Issues

Feel free to submit issues and enhancement requests. Use the template provided when creating an issue to ensure your request is clear and actionable.

See the open issues for a complete list of proposed features (and known issues).

This project is licensed under the MIT License, meaning that you’re free to modify, distribute, and/or use it for any commercial or private project.