Home Ip
@sntxrr/home-ipv2026.07.30.1
01README
Resolve the current public IPv4 address and keep a 1Password field in sync with it via 1Password Connect
02Models
@sntxrr/home-ipv2026.07.30.1home_ip.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| connectHost | string | 1Password Connect base URL, e.g. http://connect:8080 |
| connectToken | string | 1Password Connect API token — supply via vault.get() or the environment, never inline |
| opVault | string | 1Password vault holding the item. Must be Connect-readable; Connect cannot read Private/Shared. |
| itemTitle | string | Title of the 1Password item to update |
| fieldLabel | string | Label of the field within the item that holds the address |
| ipEndpoint | string | Endpoint returning the caller's public IP. Must return JSON containing an `ip` key. |
| timeoutMs | number | Abort 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
| Argument | Type | Description |
|---|---|---|
| dryRun | boolean | Resolve 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
Repository
https://github.com/sntxrr/swamp-home-ip04Platforms
05Labels