mirror of
https://github.com/ivabus/pop
synced 2024-11-10 02:25:19 +03:00
2.2 KiB
2.2 KiB
Pop
Send emails from your terminal.
Text-based User Interface
Launch the TUI
pop
Command Line Interface
pop < message.md \
--from "me@example.com" \
--to "you@example.com" \
--subject "Hello, world!" \
--attach invoice.pdf
Environment
To use pop
, you will need a RESEND_API_KEY
. You can grab one from: https://resend.com/api-keys.
To avoid typing your From:
email address, you can also set the RESEND_FROM
environment to pre-fill the field anytime you launch pop
.
export RESEND_API_KEY=$(pass RESEND_API_KEY)
export RESEND_FROM=pop@charm.sh
Installation
Use a package manager:
# macOS
brew install pop
# Arch
yay -S pop
# Nix
nix-env -iA nixpkgs.pop
Install with Go:
go install github.com/charmbracelet/pop@latest
Or download a binary from the releases.
License
Feedback
We’d love to hear your thoughts on this project. Feel free to drop us a note!
License
Part of Charm.
Charm 热爱开源 • Charm loves open source