p/npm
A package manager for javascript
gaurav shankar

usernameCLI โ€” How unique is your username?

Featured
16
โ€ข
Very often while registering to new websites we try to keep the same username across all the websites.
I created a simple command line tool to find out the availability of your favorite username right from your CLI. Find out the availability on a particular website or all the websites in an instant.
Replies
Best
Atta โšก๏ธ
Awesome ๐Ÿ‘Œ Would be nice to have the ability to save the output in a file. Maybe a text or JSON file? $ username u -o output.txt
gaurav shankar
@attacomsian Thanks for the feedback! ๐Ÿ™๐Ÿฝ Will try to add this one in the next update!
Nikita Lukianets
@attacomsian this is possible in your CLI already (your CLI allows you to). SomeCommand > SomeFile.txt The only thing that should be fixed in the script itself is the output formatting
Peter Thaleikis
Hello @gaurav_shankar, nice job! The library looks awesome! I've built something similar with startupnamecheck.com - just along the lines of doing it on a website. Is it possible to check only one particular source? Peter
gaurav shankar
@spekulatius1984 Glad, you liked Peter! Thanks! Yes, it's possible to check one particular source. Use this command for it. username d serviceName your_username
gaurav shankar
Very often while registering to new websites we try to keep the same username across all the websites. Sometimes the username is available and sometimes itโ€™s not. I created a simple tool to find out the availability of your favorite username across 140+ web apps in an instant. Although a couple of web apps are already present for this, I felt the need of having a CLI to do the same. Contrary to the web apps where you search the username across all the websites, using the CLI you can get the list of all supported web apps and query the one you want or all of them. What makes this tool more special is, it's my first PD launch. Show some love with hugs or bugs. ;)
Nikita Lukianets
@gaurav_shankar nice. There is another one that I used before https://instantusername.com/. What's great about yours is that it allows programmatic reporting. However the output doesn't look very cute right now. If I decide to save the username report as a file via CMD, I get the ugly output. Just in case, I submitted the issue in project's github. ******** This is the example output (for a single website), generated by the command username d twitter nikiluk > availability-report.txt [32m Checking username: nikiluk[39m [32m Checking app: twitter[39m [0G [96m๐Ÿ–ฒ [90mFetching username availability ... [0m[0G [96m๐Ÿ’ป [90mFetching username availability ... [0m[0G [96m๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป [90mFetching username availability ... [0m[0G [96m๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป [90mFetching username availability ... [0m[0G [96m๐Ÿค“ [90mFetching username availability ... [0m[0G [96m๐Ÿ’ป [90mFetching username availability ... [0m[0G [96m๐Ÿ–ฑ [90mFetching username availability ... [0m[0G [96m๐ŸŽฎ [90mFetching username availability ... [0m[0G [96m๐Ÿ–ฒ [90mFetching username availability ... [0m[0G [96m๐Ÿ’ป [90mFetching username availability ... [0m[0G [96m๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป [90mFetching username availability ... [0m[0G [96m๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป [90mFetching username availability ... [0m[91m Username already taken on [96mtwitter[91m[39m [0G[2K
gaurav shankar
@nikiluk Thank you so much for the feedback! ๐Ÿ™๐Ÿฝ Yes, I just verified the issue. Will try to fix this in the next update.
Nikita Lukianets
@gaurav_shankar what would be great if you'd format the output to be saved as the CSV file. Either by introducing a new command+CSV format or by formatting the output with TABS as a separator. For example: Twitter, https://twitter.com/, available, Facebook, https://facebook.com/, taken, ...
the christerrrr
This is as amazing as it is funny, who knew so many users cal themselves "username" lol