
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
BrandKit is a modern, interactive CLI tool designed to help entrepreneurs, developers, and creatives quickly check the availability of domains and social media usernames — all from the command line. It combines domain availability checks via the Namecheap API with username availability checks on popular social platforms, helping you secure your brand identity in one place.
Domain Availability Check
Checks if a domain (e.g. example.com) is available to register using the
Namecheap API. If a domain is not provided with a TLD, it suggests popular
extensions like .com, .net, .io, etc., and shows their availability in a
table.
Social Username Availability Check
Interactively checks if your chosen username is available on multiple social
media platforms including GitHub, Twitter, Instagram, TikTok, LinkedIn, and
more.
Interactive CLI Experience
Powered by TTY::Prompt for user-friendly menus, multi-selects, and prompts,
plus colorful terminal output for better readability.
Clean & Extensible Codebase
Modular design with dedicated classes for API communication (
NamecheapClient), domain checks (DomainChecker), and social username
checks (SocialUsernameChecker).
Dockerized for Easy Setup
Runs inside a container for hassle-free installation and dependency
management.
Before running, set these environment variables in your shell or .env file:
export NAMECHEAP_API_USER=your_api_user
export NAMECHEAP_API_KEY=your_api_key
export NAMECHEAP_USERNAME=your_namecheap_username
export CLIENT_IP=your_client_ip
Clone the repo and install dependencies:
git clone https://github.com/yourusername/brandkit.git
cd brandkit
bundle install
Alternatively, use Docker:
docker-compose build
Launch the CLI with an interactive prompt experience, guiding you step-by-step:
docker-compose run cli
Or locally:
ruby bin/brandkit
Provide a domain upfront to skip prompts:
docker-compose run cli ruby bin/brandkit --domain=example.com
This will check the domain immediately and display availability, with an option to check social usernames.
BrandKitThe main CLI application class coordinating user input, output formatting, and flow control. Uses:
TTY::Prompt for interactive promptsArtii for ASCII bannersColorize for colored terminal outputDomainCheckerHandles domain availability checking logic:
NamecheapClient API wrapper to query domain statusApiClients::NamecheapClientAPI client encapsulating communication with the Namecheap XML API:
SocialUsernameCheckerChecks username availability on popular social platforms by performing HTTP GET requests to profile URLs and interpreting the HTTP response status.
Contributions are welcome! Please fork the repo and submit pull requests with descriptive commit messages. Make sure to follow the existing code style and add tests if applicable.
MIT License © Rajan Bhattarai
FAQs
Unknown package
We found that brandkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.