惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
C
Check Point Blog
博客园_首页
B
Blog
D
Docker
U
Unit 42
量子位
I
InfoQ
有赞技术团队
有赞技术团队
Martin Fowler
Martin Fowler
GbyAI
GbyAI
L
LangChain Blog
云风的 BLOG
云风的 BLOG
博客园 - Franky
美团技术团队
T
The Blog of Author Tim Ferriss
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
Vercel News
Vercel News
Recent Announcements
Recent Announcements
雷峰网
雷峰网
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Google DeepMind News
Google DeepMind News

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - hypersocialinc/namecom-cli: opensource cli and a...
selcuk · 2026-06-20 · via Hacker News: Show HN

A fast, agent-friendly command-line tool for Name.com DNS and domains, built on the current v4 API.

  • --json everywhere + a commands introspection command, so AI agents can discover and drive the whole surface
  • Idempotent records set (create-or-update, never duplicate) — the right primitive for automation and IaC
  • Secure auth — credentials live in the macOS Keychain (or a 0600 config file), never in your shell environment
  • Zero native dependencies — just Node 20+ and a few small pure-JS deps (commander, @clack/prompts, picocolors)

Why this exists: the only prior community tool (namedns) has been unmaintained since 2018 and targets Name.com's dead v1 reseller API. namecom-cli uses the current v4 API and is designed to be driven by humans and agents alike.

Install

# one-off
npx namecom-cli --help

# or globally
npm install -g namecom-cli
namecom --help

Install the agent skill

This repo ships a Claude/Codex skill that teaches an agent to drive the CLI. The CLI can install its own skill:

namecom skill install --agent claude-code      # or: --agent codex
namecom skill path                             # prints the bundled SKILL.md for manual/offline install

…or use the official skills CLI directly:

npx skills add hypersocialinc/namecom-cli --skill namecom --agent claude-code

The skill is written to work zero-install — it calls npx namecom-cli when the namecom binary isn't on PATH — so adding only the skill still works.

Authenticate

Create a production API token at https://www.name.com/account/settings/api (you get a username + token), then:

namecom login                                  # prompts for username + token (masked) at a TTY;
                                               # offers to open the token page in your browser
namecom login --user <username> --token <token># or pass them directly / via env

Interactive only for humans. Prompts, spinners, and color appear only when you're at a real terminal. When output is piped, in CI, an agent is driving, or you pass --json, the CLI is fully non-interactive and deterministic — missing inputs become a clean error, never a hung prompt. (namecom and namecom-cli are both valid commands.)

login verifies the credentials, then stores them in your macOS Keychain (namecom_user / namecom_token). You can also just set NAMECOM_USER / NAMECOM_TOKEN in the environment and skip login.

Resolution order on every command: --user/--token flags → env vars → Keychain → ~/.config/namecom/credentials.json.

Usage

namecom whoami                          # verify auth, show domain count
namecom domains list                    # list every domain in the account

namecom records list example.com                 # all records
namecom records list example.com --type TXT      # filter by type
namecom records list example.com --host send     # filter by host

namecom records create example.com --host www --type CNAME --answer example.vercel.app
namecom records update example.com 12345 --ttl 600
namecom records delete example.com 12345

# Idempotent upsert — safe to run repeatedly, never creates duplicates:
namecom records set example.com --host send --type MX \
  --answer feedback-smtp.us-east-1.amazonses.com --priority 10

Add --json to any command for machine-readable output, and --api-url https://api.dev.name.com to target the sandbox.

Real example: verifying a Resend sending domain

namecom records set example.com --host 'resend._domainkey.mail' --type TXT --answer 'p=MIGf...'
namecom records set example.com --host 'send.mail' --type MX --answer 'feedback-smtp.us-east-1.amazonses.com' --priority 10
namecom records set example.com --host 'send.mail' --type TXT --answer 'v=spf1 include:amazonses.com ~all'

For agents

namecom commands         # full command tree as JSON
namecom <cmd> --json     # structured output for any command

@ means the zone apex (root). Hosts are relative to the domain (e.g. host send on example.comsend.example.com).

Notes & non-goals (v1)

  • Scope is DNS records (list/get/create/update/delete/set) and read-only domains list.
  • Not (yet) covered: nameservers, URL forwarding, domain registration/transfer/contacts. The client/ layer is kept separate from commands so these are easy to add.
  • This is an unofficial tool and is not affiliated with Name.com.

Roadmap & contributing

namecom-cli is v1 of a provider-agnostic "agents can do DNS" tool. The registrar API (src/client.js) is a separate layer from the commands, so adding another provider is a small, well-scoped contribution.

Wanted — help expand it to more registrars:

  • Cloudflare
  • AWS Route 53
  • Porkbun
  • Namecheap

If "agents that can do DNS" should work for your registrar, come build it — see good first issues and CONTRIBUTING.md (it documents the provider interface).

License

MIT © Hypersocial, Inc.