GitHub - skilo83/patpDNS-Chrome-extention: A chrome browser extention for patpDNS

2 min read Original article ↗

patpDNS — Phonetic DNS for Your Local Network

patpDNS demo1 patpDNS demo2

patpDNS is a Chrome extension that lets you access local devices using beautiful, human-readable Urbit-style phonetic names (.patp) instead of raw IP addresses.

Type marzod-dozmed.patp in your browser → instantly reach 192.168.1.42
No typing http://, no remembering IPs, no DNS server needed.

Inspired by Urbit’s elegant @p (patp) pronunciation system, this extension turns any local IPv4 or IPv6 address into a pronounceable, memorable name — and back again.

Features

  • Zero-config local DNS — just type .patp domains in the address bar
  • Full bidirectional conversion
    → IP → patp (e.g. 127.0.0.1~marzod-dozmed)
    → patp → IP (e.g. ~sampel-palnet192.168.0.1)
  • Seamless bare-domain support — type marzod-dozmed.patp (no http:// needed)
  • Smart Google search intercept — even if Chrome tries to search, we catch it and redirect instantly
  • Clickable results — generate or resolve and click to open directly
  • IPv6 ready — 8-syllable names map perfectly to full IPv6 addresses
  • Beautiful cosmic UI — gradient design with Urbit-inspired aesthetics

Use Cases

  • Access your Raspberry Pi, NAS, router, or home server by name
  • Share local services with friends using pronounceable URLs
  • Teach networking concepts with human-memorable addresses
  • Bring a little Urbit magic to your everyday LAN

Installation

  1. Download or clone this repository
  2. Open Chrome → chrome://extensions/
  3. Enable Developer mode (top right)
  4. Click Load unpacked
  5. Select the patpDNS-extension folder

Done! The extension works immediately — no restart needed.

How It Works

  • Uses Chrome’s webNavigation and tabs APIs to intercept navigation
  • Converts between IPv4/IPv6 and Urbit’s 256-prefix/256-suffix phonetic system
  • Handles both explicit URLs and bare domain typing (even when Chrome sends you to Google)
  • All logic runs locally — no network requests, no permissions beyond navigation

Example

IP Address patp Name URL to type
127.0.0.1 ~marzod-dozmed marzod-dozmed.patp
192.168.1.100 ~sampel-palnet sampel-palnet.patp
10.0.0.42 ~tinnyl-sampel tinnyl-sampel.patp
fd12:3456::1 ~dozmar-binwan-tasrux... dozmar-binwan-tasrux...patp