A simple Node.js application to check the availability of GitHub usernames. This tool helps you quickly determine whether a username is available for registration on GitHub.
- Checks the availability of multiple usernames from a text file.
- Outputs available usernames to a separate file.
- Provides a clear console output indicating the availability of each username.
-
Clone this repository to your local machine:
git clone https://github.com/infallibless/github-username-checker.git cd github-username-checker
-
Install the required dependencies:
npm install axios kleur
-
Create a file named
usernames.txt
in the project directory. Add the usernames you want to check, each on a new line.
Run the application using the following command:
node x.js
The script will read usernames from usernames.txt
, check their availability, and log the results in the console. Available usernames will be saved in available.txt
.
username1
username2
username3
- Available usernames will be displayed in green in the console and saved in
available.txt
. - Unavailable usernames will be displayed in red.
Contributions are welcome! If you have suggestions or improvements, feel free to create a pull request.
© 2024 raynex. All rights reserved.
All files in this repository, unless otherwise noted, are released under the MIT License. By using, distributing, or modifying this code, you acknowledge the copyright holder's rights and agree to retain this copyright notice in any redistribution.