Share your repls and programming experiences

← Back to all posts
Presenting... 💻 CLI.io 💻
h
RayhanADev (1395)

Ever wanted to use a command line, but instead of having a peaceful working place wanted to be interrupted by others (say an annoying brother). Well we present to you:

CLI.io

Use a Command Line, Together

A small project made by @RayhanADev and his (actual) developer bro Arman, we used Express and Socket.io to create this simplistic command line in NodeJS. Just having some fun while he hangs out for a while.

Check out a fullscreen version here!

This CLI has four basic commands:

  • //help ~ Shows a help README.md
  • //nick [name] ~ Changes your nickname
  • //print [text] ~ Prints a message to console
  • //reload ~ Reloads the page (you’ll need it)

It also supports many other console commands (press shift+enter for another line):

var leet = 1337
alert(leet)

Any suggestions on commands (and maybe how to implement them), tell us in the comments. Please drop a like if you enjoyed this and are interested in seeing more!
~ Ray and Arman

btw I am better dev than Arman easy.

Comments
hotnewtop
Whippingdot (431)

I am good at making peeps leave. XD. @RayhanADev

Whippingdot (431)

If you wanna reply, reply in the next 5 mins, cause, you know, the internet at 9 thing. For me it is 8:55. @RayhanADev

AmazingMech2418 (1017)

I tried changing my nickname and it just said "nickname already taken" when I had already logged everyone out. LOL!

RayhanADev (1395)

@AmazingMech2418 interesting? I saw that you were doing some pretty crazy stuff xD.

AmazingMech2418 (1017)

@RayhanADev Well, I can get everyone to reload. LOL!

RayhanADev (1395)

@AmazingMech2418 lol, bad security glad you like it xD!

RayhanADev (1395)

@AmazingMech2418 rip xD Try reloading it and trying, it should work!

AmazingMech2418 (1017)

@RayhanADev Just happened again... IDK... I was just trying to send a socket.io message through the command line...

RayhanADev (1395)

@AmazingMech2418 ah okay, so it’s making a new oopsie when the name is longer than 10 chars. I’ll fix easy!

RayhanADev (1395)

e
got any command ideas?

elipie (373)

@RayhanADev Hmm what about a command where it lists all the people online?

RayhanADev (1395)

@elipie well everyone gets a random name unless they change it so...

elipie (373)

@RayhanADev the e command, it chooses a random command and executes it

[deleted]

Y u always start with .....Presenting....(this cool thing I made)

RayhanADev (1395)

@MemeDriod idk, it’s just my thing now. Do you like it?

[deleted]

Idk man my friend says that it lame I think it a classic RayhanADev [email protected]

[deleted]

And oof la doof (u must say it and write it in the comments)@RayhanADev

[deleted]

Oof la doof. Oof la doof! OOF LA [email protected]

Whippingdot (431)

bruh, keep a space before @ mentioning someone @MemeDriod

realTronsi (907)

wait so what is the purpose of this?

RayhanADev (1395)

@realTronsi brotherly fun xD. Truthfully no idea it’s so basic we have no real purpose. Got any suggestions?

fuzzyastrocat (1505)

Nice! I'm not really sure what commands to add since I'm not sure what the purpose of this is, but if I think of something I'll suggest it!

RayhanADev (1395)

Arman says that he’s a better dev, but I make frontend UX fun right peeps!