 Hey everybody, welcome back to the channel. I am going to look and check right now and make sure I started recording because this is the second time I've tried this video. I'm getting really good at making videos over and over again because I keep having to make them over and over again. This is really, this is terrible. Okay. Anyways, today we're going to be talking about a terminal client for Telegram called TG. Just the letter T and the letter G. That's what it's called. I will have the GitHub page linked in the description below. I believe this is also in the AUR. So if you run Arch, you can just install it right doing yay dash capital S Telegram dash TG. I believe is the package name. Anyways, let's just go ahead and jump right into what this looks like. This is, so you start this program by just running TG in your terminal. And this is what this looks, what the program looks like. Two columns on the left hand side, you have your chats and you navigate these with them bindings for the most part. I'll talk about one that doesn't work inexplicably in a minute. And you can go into your chats using L, which is or you can also use the arrow keys if you're one of those heathens that use arrow keys. But you can jump up and down using J and K. And it's very simple to navigate with your Vim keys. Now, if you want to go to the bottom of your chat, let's say you've navigated all the way up here somewhere and you're just reading along and then all of a sudden you want to go to the bottom shift G works or capital G goes to the bottom. Now if you're back over here in the chats and you want to go to the bottom, you can't just hit shift G. I'm not sure why that doesn't work. But if you're at the bottom and you want to go to the top, you can press G G and that will take you to the top. So that's a little inconsistent, which bothers me. But you know, what can you do? And it's really weird because you can't actually go through and remap any of these keys. So at least as far as I can figure out, this is written in Python. So maybe you if you know some Python, you probably could figure out how to do it. If you want help, you just push the question mark key and where you are in the program will determine what help you get. So if you're in the chat window, if you're in the chat list of chats, this is the one that you get. So it shows you how to move up and down between the chats, you can move up 10 chats, down 10 chats by using capital J, capital K, you can view your contacts in this thing. So you can create new chats, you can delete chats, you can go to the top chat, you can toggle mute, which is really it's fairly useless in this program, because there's no notifications at all. But you could do that if you if you use this in, you know, conjunction with the main Linux telegram client, because those things kind of transfer over, you can also toggle the read and unread status of the chats. So if you're in the chat window, and you press that help, you get way more options. So you can toggle a select message now so select and jump to the next message with a space. You can jump 10 messages down up with the capital J and K, you can reply with a long message, which is capital R. I'll talk about the replying and writing messages here in a second. You can delete your own messages, you can open URLs. These ones here are very interesting. If you have a mail cap file set, you can send audio uncompressed audio animations, which would be a GIF or an image, you can also I believe there's also a way to do a file that way. You can edit messages using the E and so on. So this is basically all the help is there's no man page or anything like that. There is a little bit of stuff for the configuration file on the GitHub page, which I'll show you in a second, which I closed that page already, because so I'm going to find it again. I closed it because I already recorded this video once, but forgot to record an OBS like a dumb ass. Anyways, so let's talk about the main thing. So let's say you want to write a message, you can do that by pressing a. Now you probably can't see this on the video because it's really, really small. If you press a, you can see the little blinking cursor down here. This is a message and you just type that and you hit enter and it would send it. I'm not going to send that to the ARCO or the ARCO group that'd be very interesting. You just press escapes to get out of that mode, just like you would like insert mode or whatever and VIM. If you want to, if you want to send a longer message that would include like spaces, you can do capital A and that'll take you to VIM and you can just type this is a message. And while if you sent that, which I'm not going to again, if you sent that here in TG, it would just look like a regular message. But if you went to the, after sending that went to the official telegram client, you would notice that it actually maintained the formatting so that you did your spaces, it would maintain those spaces, which is really cool. Now reply works the same way only with R and capital R. So if I wanted to reply to this message here, I just hit R and this reply and, you know, like that or get out of that and do capital R and this is a reply. Okay. So that is very simply how you reply and send new messages. Overall, why would you use this? So I just prefer telegram in the terminal, just because I'm a nerd and I like terminal programs. I mean, if you ask, you know, Martin, my co-host on the Linux cast, he'll tell you that I look for everything I can use in the terminal just because, you know, that's the way I am. Does this have any specific advantages over using the other one? Not really. Telegram is not a huge memory hog or anything as far as I know. But if you want to be cool, use the use the terminal program TG and, you know, just be cool like the rest of us. That's where you should be. Anyways, that was just a real quick video on a really simple program. If you liked it, you'll want to hit the thumbs up button. If you disliked it, hit the thumbs down button, subscribe if you're interested in finding more open source and Linuxy type content. Coming up, there's going to be a video on my audio problems because I've been having some audio problems. I got a new audio interface and it's just not been a kind to me in terms of, you know, actually working. So I'm using it now, but it's not, you know, it's not been something that I've been happy with so far. Anyway, so thanks for watching and we'll see you next time.