16 lines
323 B
Bash
Executable File
16 lines
323 B
Bash
Executable File
#!/bin/zsh
|
|
|
|
# Required parameters:
|
|
# @raycast.schemaVersion 1
|
|
# @raycast.title Get Public IPv4
|
|
# @raycast.mode silent
|
|
|
|
# Optional parameters:
|
|
# @raycast.icon 🌐
|
|
|
|
# Documentation:
|
|
# @raycast.author Esteban Vincent
|
|
|
|
PUBLIC_IP=$(curl -s https://api64.ipify.org)
|
|
echo -n "$PUBLIC_IP" | pbcopy
|
|
echo "Copied to clipboard! ✅" |