whoami 0.2.4

Retrieve the current user and environment.
Documentation

Whoami

A library and program that gets the current user.

Installing

If you clone the repo, install with cargo install --path . --features="term" --force. Otherwise, install with cargo install whoami --features="term" --force.

Features

  • Get the user's full name
  • Get the user's username
  • Get the computer's hostname
  • Get the computer's fancy name
  • Get the computer's desktop environment
  • Get the computer's OS name and version
  • Works on Linux / Windows / Mac OS (for some functions)

TODO

  • Work on Mac OS / Android / Nintendo Switch / Wasm (Web Assembly) / other OS's.

Links


Plop Grizzly