Skip to main content

Home Ip

@sntxrr/home-ipv2026.07.30.1· 6d agoMODELS
01README

Resolve the current public IPv4 address and keep a 1Password field in sync with it via 1Password Connect

02Models1
@sntxrr/home-ipv2026.07.30.1home_ip.ts

Global Arguments

ArgumentTypeDescription
connectHoststring1Password Connect base URL, e.g. http://connect:8080
connectTokenstring1Password Connect API token — supply via vault.get() or the environment, never inline
opVaultstring1Password vault holding the item. Must be Connect-readable; Connect cannot read Private/Shared.
itemTitlestringTitle of the 1Password item to update
fieldLabelstringLabel of the field within the item that holds the address
ipEndpointstringEndpoint returning the caller's public IP. Must return JSON containing an `ip` key.
timeoutMsnumberAbort any single HTTP call after this long. Guards the scheduled case: a hung request would otherwise stall the run forever and, because overlapping runs are skipped, silently stop every future tick.
fn sync(dryRun: boolean)
Resolve the public IP and write it to the configured 1Password field if it differs
ArgumentTypeDescription
dryRunbooleanResolve and compare, but never write to 1Password

Resources

homeIp(infinite)— Result of a home-IP reconciliation: the address, whether 1Password changed, and when
03Stats
A
100 / 100
Downloads
6
Archive size
8.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels