Metadata-Version: 2.1
Name: gtfu
Version: 1.3.1
Summary: Command line tool to Get pageTitle From Url.
Home-page: https://github.com/seijinrosen
License: MIT
Author: seijinrosen
Author-email: 86702775+seijinrosen@users.noreply.github.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: beautifulsoup4 (>=4.10.0,<5.0.0)
Requires-Dist: lxml (>=4.8.0,<5.0.0)
Requires-Dist: pyperclip (>=1.8.2,<2.0.0)
Requires-Dist: readchar (>=3.0.5,<5.0.0)
Requires-Dist: requests (>=2.27.1,<3.0.0)
Requires-Dist: rich (>=12.0.1,<13.0.0)
Project-URL: Documentation, https://github.com/seijinrosen/gtfu
Project-URL: Repository, https://github.com/seijinrosen/gtfu
Description-Content-Type: text/markdown

# gtfu

[日本語](https://github.com/seijinrosen/gtfu/blob/main/README.ja.md) |
[English](https://github.com/seijinrosen/gtfu/blob/main/README.md)

[![PyPI](https://img.shields.io/pypi/v/gtfu)](https://pypi.python.org/pypi/gtfu)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/gtfu)](https://pypi.python.org/pypi/gtfu)
[![Tests](https://github.com/seijinrosen/gtfu/actions/workflows/tests.yml/badge.svg)](https://github.com/seijinrosen/gtfu/actions/workflows/tests.yml)
[![CodeQL](https://github.com/seijinrosen/gtfu/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/seijinrosen/gtfu/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/seijinrosen/gtfu/branch/main/graph/badge.svg)](https://codecov.io/gh/seijinrosen/gtfu)
[![Downloads](https://pepy.tech/badge/gtfu)](https://pepy.tech/project/gtfu)
[![Downloads](https://pepy.tech/badge/gtfu/month)](https://pepy.tech/project/gtfu)
[![Downloads](https://pepy.tech/badge/gtfu/week)](https://pepy.tech/project/gtfu)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Command line tool to Get pageTitle From Url.

## Installation

It supports Python 3.7+.

```sh
pip install gtfu
```

## Usage

After installation, type the following command into your terminal application.

### Standard mode

```sh
gtfu https://example.com/
```

The page title will be copied to the clipboard.

- `Example Domain`

### Markdown mode

```sh
gtfu -m https://example.com/
```

The page title will be copied to the clipboard in markdown format.

- `[Example Domain](https://example.com/)`

### Prompt mode

```sh
gtfu
```

An interactive prompt will begin. You will be asked for the URL to be retrieved and whether you want it in Markdown format.

