Skip to content

pablo727/magic-finger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§™β€β™‚οΈ Magic Finger

A colorful, customizable system info CLI tool β€” a modern reimagination of the classic finger command.

πŸ“Έ Screenshots

Markdown and All Output Example

Markdown-All Output

Minimal and JSON Output Example

Minimal-JSON Output


✨ Features

  • πŸ” Shows detailed user info:
    • Username, shell, home dir
    • Last login, login status
    • Uptime, home file count
  • 🎨 Colorful output with emoji and ANSI styles
  • ⚑ Blazing Fast using ripgrep (Rust-powered)
  • πŸ“‹ Optional Markdown export with glow
  • 🧠 Easily extensible with flags

πŸ”§ Available Options

Flag | Description --markdown | Show output as Markdown using glow --copy | Copy output to clipboard (xclip / pbcopy) --all | Loop through all users on the system --json | Output raw JSON (good for scripting) --minimal | Compact info: username, real name, home dir, shell, last login...

ℹ️ If no flag is provided, it runs for the current user only.


πŸ›  Requirements

  • bash (tested on 5.2+)
  • ripgrep
  • lastlog
  • glow (for Markdown preview)
  • xclip or pbcopy (for --copy)

Install dependencies on Debian/Ubuntu:

sudo apt install ripgrep fzf

Install glow manually:

curl -s https://api.github.com/repos/charmbracelet/glow/releases/latest \
| grep browser_download_url | grep amd64.deb | cut -d '"' -f 4 \
| wget -qi - && sudo dpkg -i glow*.deb

πŸ§ͺ Example

./magic-finger.sh --markdown --copy

πŸš€ Contributing

Want to add features? Fork the repo and send a PR!


πŸ“œ License

MIT License β€” do what you want, just give credit πŸ™


πŸ‘£ Inspired By

  • The original Unix finger
  • ripgrep
  • glow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages