LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

tginfo

Fetch info about a Telegram username or URL

TLDR

Get info about a Telegram username
$ tginfo [username]
copy
Get info from a Telegram URL
$ tginfo https://t.me/[username]
copy
Display only specific attributes
$ tginfo [username] --attrs=title,type,subscribers
copy
Output as JSON
$ tginfo [username] --json
copy

SYNOPSIS

tginfo slug/url [options]

DESCRIPTION

tginfo is a zero-dependency Node.js module that fetches information about a Telegram username or URL. It accepts web URLs (https://t.me/username), deep links (tg://resolve?domain=username), plain usernames, or invite codes.The output includes attributes such as type, title, webUrl, tgUrl, and optional fields like username, info, verified, image, subscribers, members, and online count depending on the entity type.

PARAMETERS

--attrs=ATTR1,ATTR2

Display only specific attributes.
--json
Display JSON instead of a human readable view.
--help
Print help message.
--version
Display version.

CAVEATS

Requires Node.js. Install globally via `npm install -g tginfo` or run with `npx tginfo`.

SEE ALSO

npx(1), npm(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid