Skip to main content

CLI for friends.fyi

Project description

ffyi

CLI for friends.fyi.

Install

uv tool install ffyi

Installed commands: ffyi and fyi (alias).

Get a token

fyi login

Verifies GitHub ownership via a one-time gist. Creates a new account on first run; issues a fresh token for returning users. The command shells out to gh to create the verification gist and delete it after — fully non-interactive, no copying URLs around. Your username is taken from the gist owner. The returned API key is saved to ~/.config/fyi/token.

If you already have a token, store it directly:

fyi auth <token>
fyi whoami

Send

fyi send alice "hello"
echo '{"status":"ok"}' | fyi send alice --sender "Deploy Bot"
fyi send alice '{"status":"ok"}' --type alert -H "X-Env: prod"

Inbox

fyi inbox
fyi inbox --sender "Deploy Bot" --user-agent fyi-cli --type alert
fyi inbox <message-id>           # read a single message
fyi inbox --json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ffyi-0.3.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ffyi-0.3.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file ffyi-0.3.0.tar.gz.

File metadata

  • Download URL: ffyi-0.3.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ffyi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 570352b41383f5fa99e47758a7a593754264b0bed14578edb4030ef7de83447f
MD5 9711fe335673e5d5d1020e816268fa75
BLAKE2b-256 26ec407c242a40336b577941e4277ef8511ef96547b3d13ee2095eebcb7b04cc

See more details on using hashes here.

File details

Details for the file ffyi-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ffyi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.10 {"installer":{"name":"uv","version":"0.11.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ffyi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8ba4f0d26ad67124885d7b92cf53112ce0e5a6310e72fef9f7998120f8d54f9
MD5 60429f2ba49c8287989ee251afd480e4
BLAKE2b-256 71759a5cfe3d1afceaeb8bd09ef10df03c8942bef0bf1f7ade604284b61035a7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page