đ domainctl â Fast Domain Discovery
Lightning-fast tool to find available domains, similar to domainr but faster and smarter. Part of the kb/tool-trinity|moul-tool-trinity.
Core Features
- Single command discovery:
domainctl js.workâ instant suggestions - Smart TLD suggestions: Knows which TLDs support which features
- Semantic understanding: âjsworkâ â suggests js.work, javascript.work
- Registry intelligence: Combines suffixes, removes vowels, uses numbers
- Instant feedback: Sub-second responses via sqlite-cache|SQLite cache
Architecture
- Language: Go with focus on performance
- Database: Embedded SQLite for TLD metadata
- API: RESTful service on :8080, health check on :8081
- Cache strategy: Full TLD cache, selective domain check results
- Algorithms: Weighted scoring based on length, pronounceability, relevance
Domain Search Algorithm
- Normalize input: âfoo barâ â âfoobarâ
- Generate variants: foo-bar, foob, fbr (vowel removal)
- Generate TLD permutations: fo.ob/ar, foo.bar, foobar.com
- Check cache for freshness before external lookups
- Perform parallel WHOIS/DNS lookups
- Sort results by availability and âsemantic closenessâ
- Smart heuristics: remove vowels, add/remove hyphens, split on valid ccTLDs
Commands
domainctl check <domain>- Check single domaindomainctl server- Run as API serverdomainctl js.work- Smart suggestions for âjs.workâ
Design Goals
- Speed first: Every millisecond counts
- Smart defaults: Work without configuration
- Developer-friendly: Clean CLI and API
- Extensible: Plugin system for custom algorithms
Open Questions
Technical
- Cache invalidation strategy for domain availability?
- How to handle rate limits across registrars?
- Optimal database schema for 1500+ TLDs?
Features
- How much âsemantic closenessâ for suggestions?
- Which registrars to integrate first?
- Pricing data: real-time or cached?
Integration
- Direct registration via API?
- Browser extension possibilities?
- IDE plugins for project naming?
Implementation Status
- Core CLI structure â
- TLD database design (planned)
- Suggestion algorithms (planned)
- API server framework (planned)
Related Concepts
- Uses tld-tricks for creative domain hacks
- Inspired by domainr but focused on speed
- Part of moul-tool-trinity with mimir and mnemos