| Crates.io | dotcom |
| lib.rs | dotcom |
| version | 0.3.0 |
| created_at | 2025-07-17 21:45:19.01987+00 |
| updated_at | 2025-07-24 14:49:52.443928+00 |
| description | A powerful Rust-based developer toolkit for querying and analyzing domain names |
| homepage | https://github.com/alexnicita/dotcom |
| repository | https://github.com/alexnicita/dotcom |
| max_upload_size | |
| id | 1758193 |
| size | 103,624 |
A powerful Rust-based developer toolkit for querying and analyzing domain names. The dotcom toolkit provides flexible domain analysis capabilities, including availability checking, domain suggestions, monitoring, and comprehensive domain analysis.
git clone https://github.com/alexnicita/dotcom.git
cd dotcom
cargo build --release
# Check if a domain is available
dotcom check example.com
# Check with detailed information
dotcom check example.com --verbose
# Search for domains with keywords
dotcom search startup tech
# Search with specific TLDs
dotcom search startup --tld com,net,org
# Limit results and show only available domains
dotcom search startup --limit 5 --available-only
# Basic analysis
dotcom analyze example.com google.com
# Comprehensive analysis
dotcom analyze example.com --verbose --check-words --patterns
# Look up words in the English dictionary
dotcom dict hello world rust programming
# Show detailed information (when API is enabled)
dotcom dict --verbose --use-api hello world
# Monitor domains for changes
dotcom monitor example.com google.com --interval 60
dotcom check <DOMAIN>Check domain availability and information.
Options:
-v, --verbose: Show detailed information including expiry date and registrardotcom search <KEYWORDS>...Search for available domains based on keywords.
Options:
-t, --tld <TLD>: TLD extensions to search (default: com,net,org)-l, --limit <LIMIT>: Maximum number of results (default: 10)-a, --available-only: Only show available domainsdotcom analyze <DOMAINS>...Analyze domain characteristics and provide scoring.
Options:
-v, --verbose: Show detailed analysis including brandability and memorability scores-w, --check-words: Check if domains are English words using enhanced dictionary-p, --patterns: Analyze domain length and patterns-d, --show-definitions: Show dictionary definitions and details--use-api: Use API for enhanced dictionary lookups (includes definitions)dotcom dict <WORDS>...Look up words in the English dictionary.
Options:
-v, --verbose: Show detailed information including definitions--use-api: Use API for enhanced dictionary lookups (includes definitions)dotcom monitor <DOMAINS>...Monitor domains for changes (planned feature).
Options:
-i, --interval <INTERVAL>: Check interval in minutes (default: 60)The dotcom toolkit is built with a modular architecture:
src/
├── main.rs # Application entry point
├── cli/ # Command-line interface
│ ├── mod.rs # CLI structure and routing
│ ├── check.rs # Domain availability checking
│ ├── search.rs # Domain search functionality
│ ├── analyze.rs # Domain analysis
│ ├── dict.rs # Dictionary lookup command
│ └── monitor.rs # Domain monitoring
├── api/ # API clients for domain services
│ └── mod.rs # HTTP client and API integrations
├── config/ # Configuration management
│ └── mod.rs # App configuration and settings
├── dictionary/ # English dictionary service
│ └── mod.rs # Word validation and lookup
├── domain/ # Domain data structures
│ └── mod.rs # Domain info, analysis, and suggestions
└── utils/ # Utility modules
├── mod.rs # Utility module exports
└── analyzer.rs # Domain analysis logic
The toolkit supports configuration through environment variables:
# API Keys for various services
export WHOIS_API_KEY="your-whois-api-key"
export NAMECHEAP_API_KEY="your-namecheap-api-key"
# Default settings
export DOTCOM_DEFAULT_TLDS="com,net,org"
export DOTCOM_RATE_LIMIT="60"
cargo test
# Debug build
cargo build
# Release build
cargo build --release
src/api/mod.rssrc/config/mod.rsContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
# Check several domains at once
for domain in example.com google.com github.com; do
dotcom check $domain
done
# Search for short, brandable domains
dotcom search app web site --limit 20 --available-only
# Analyze your domain portfolio
dotcom analyze mydomain.com myapp.net mysite.org --verbose --patterns
Built with ❤️ in Rust