← Back
Mischa Vandenburg April 27, 2023 10m

Newsboat - How To Read The News From The Command Line

Read full transcript 7 segments
  1. good morning today I wanted to show you good morning today I wanted to show you how I read the news from the terminal so how I read the news from the terminal so how I read the news from the terminal so before I begin I'll just make a little before I begin I'll just make a little before I begin I'll just make a little zet zet zet um um um I'll reading I'll reading I'll reading news from command line news from command line news from command line so how to read the news so how to read the news so how to read the news from the command line and I'll give that the tags productivity and I'll give that the tags productivity personal personal personal and command line so and command line so and command line so the main the main the main thing about the let's talk a little bit thing about the let's talk a little bit thing about the let's talk a little bit about the advantage of reading from the about the advantage of reading from the about the advantage of reading from the command line so it can integrate in your command line so it can integrate in your command line so it can integrate in your already existing terminal workflow already existing terminal workflow already existing terminal workflow um um um so I do as as much as I can I do from so I do as as much as I can I do from so I do as as much as I can I do from the terminal I edit all my texts in vim the terminal I edit all my texts in vim the terminal I edit all my texts in vim and I I'm a devops engineer so I work and I I'm a devops engineer so I work and I I'm a devops engineer so I work from the terminal all day long and then from the terminal all day long and then from the terminal all day long and then it's very good to have just this one it's very good to have just this one it's very good to have just this one area where you're working from area where you're working from area where you're working from um um um and that you can integrate other tasks and that you can integrate other tasks and that you can integrate other tasks such as reading a news into that such as reading a news into that such as reading a news into that workflow and another Advantage is free workflow and another Advantage is free workflow and another Advantage is free from distractions so if you read news on from distractions so if you read news on from distractions so if you read news on on web pages you will see that there's on web pages you will see that there's on web pages you will see that there's always images and advertisements and always images and advertisements and always images and advertisements and it's very easy to get sucked into things it's very easy to get sucked into things it's very easy to get sucked into things that you didn't intend to read about at

  2. that you didn't intend to read about at that you didn't intend to read about at all and another Advantage is that it it all and another Advantage is that it it all and another Advantage is that it it you can control how the content is you can control how the content is you can control how the content is rendered rendered rendered uh how content uh how content uh how content so it's it's similar to a Kindle you so it's it's similar to a Kindle you so it's it's similar to a Kindle you know and when you read eBooks on the know and when you read eBooks on the know and when you read eBooks on the Kindle you can control the type setting Kindle you can control the type setting Kindle you can control the type setting and how large the characters are well and how large the characters are well and how large the characters are well basically you're doing it in the basically you're doing it in the basically you're doing it in the terminal so it's already completely terminal so it's already completely terminal so it's already completely adjusted to your needs so I'll just adjusted to your needs so I'll just adjusted to your needs so I'll just quickly show you how that workflow looks quickly show you how that workflow looks quickly show you how that workflow looks like for me so I'll just open up a new like for me so I'll just open up a new like for me so I'll just open up a new screen here so in the morning I I make a screen here so in the morning I I make a screen here so in the morning I I make a cup of coffee I sit down and then I run cup of coffee I sit down and then I run cup of coffee I sit down and then I run the NB command this is something I wrote the NB command this is something I wrote the NB command this is something I wrote myself but it uses the program called myself but it uses the program called myself but it uses the program called news boat news boat news boat so I'll do NB it opens up my news feeds so I'll do NB it opens up my news feeds so I'll do NB it opens up my news feeds like this and then I open up the first like this and then I open up the first like this and then I open up the first article article article and these are already red so I'll just and these are already red so I'll just and these are already red so I'll just usually use the you you press the N usually use the you you press the N usually use the you you press the N button to go to the next unread article button to go to the next unread article button to go to the next unread article and I'll just use the shift K just to go and I'll just use the shift K just to go and I'll just use the shift K just to go to the next article in the feed so what to the next article in the feed so what to the next article in the feed so what I do is I I focus my eyes on the title I do is I I focus my eyes on the title I do is I I focus my eyes on the title line here and then I very quickly just line here and then I very quickly just line here and then I very quickly just go through and and and see go through and and and see go through and and and see um what what the like if if the title um what what the like if if the title um what what the like if if the title interests me or not so I'll just go foreign

  3. foreign this is what it looks like I just this is what it looks like I just this is what it looks like I just quickly scan the title and but on that I can very quickly and but on that I can very quickly determine whether I want to read the determine whether I want to read the determine whether I want to read the article or not so let's see okay well let's see this might interest okay well let's see this might interest me that then I can continue reading like me that then I can continue reading like me that then I can continue reading like this and then I'll just read the article this and then I'll just read the article this and then I'll just read the article and when I'm finished reading that or and when I'm finished reading that or and when I'm finished reading that or scanning it I'll just go to the next one and that's that's how it I can just go and that's that's how it I can just go very quickly go through a feed and very very quickly go through a feed and very very quickly go through a feed and very efficiently scan whether I want to read efficiently scan whether I want to read efficiently scan whether I want to read something or not and then if there is something or not and then if there is something or not and then if there is something that I actually like I'm something that I actually like I'm something that I actually like I'm reading it like this but if then there's reading it like this but if then there's reading it like this but if then there's something that I would like to see in something that I would like to see in something that I would like to see in the browser then I press the o key the browser then I press the o key the browser then I press the o key and it will open the the article in the and it will open the the article in the and it will open the the article in the browser itself browser itself browser itself um as you would read it on the website um as you would read it on the website um as you would read it on the website so if if I have a suspicion that there so if if I have a suspicion that there so if if I have a suspicion that there are images here that I would like to see are images here that I would like to see are images here that I would like to see or if I would uh if there's something or if I would uh if there's something or if I would uh if there's something lacking then I can I can lacking then I can I can lacking then I can I can I can open it like that all from the I can open it like that all from the I can open it like that all from the terminal very easy and terminal very easy and terminal very easy and um as you see you so it has the um as you see you so it has the um as you see you so it has the advantage of being able to very advantage of being able to very advantage of being able to very efficiently skip through the feeds and efficiently skip through the feeds and efficiently skip through the feeds and sort of decide whether you want to read sort of decide whether you want to read sort of decide whether you want to read something or not it is rendered exactly something or not it is rendered exactly something or not it is rendered exactly how I want it in the font that I want in how I want it in the font that I want in how I want it in the font that I want in the font size that I want and that my the font size that I want and that my the font size that I want and that my eyes are used to because I'm working

  4. eyes are used to because I'm working eyes are used to because I'm working from the terminal all day from the terminal all day from the terminal all day and another part is that I have and another part is that I have and another part is that I have customized how news boat is opened customized how news boat is opened customized how news boat is opened and I will quickly show you that so and I will quickly show you that so and I will quickly show you that so if you just run news about vanilla like if you just run news about vanilla like if you just run news about vanilla like this then you see it's open it opened up this then you see it's open it opened up this then you see it's open it opened up on the left side of my screen and on the left side of my screen and on the left side of my screen and um um um uh it opens the art the text on the left uh it opens the art the text on the left uh it opens the art the text on the left side as well so this is a little bit side as well so this is a little bit side as well so this is a little bit annoying because I have to turn my head annoying because I have to turn my head annoying because I have to turn my head to to the right and it's not in the to to the right and it's not in the to to the right and it's not in the Middle where I would like it to be and Middle where I would like it to be and Middle where I would like it to be and it would be much better to to have it in it would be much better to to have it in it would be much better to to have it in the middle so I wrote a script for that the middle so I wrote a script for that the middle so I wrote a script for that and um as you notice there is some text and um as you notice there is some text and um as you notice there is some text in the screen now but if I run the NB in the screen now but if I run the NB in the screen now but if I run the NB command it opens up a new pane in tmux command it opens up a new pane in tmux command it opens up a new pane in tmux it clears this one as you saw so it has it clears this one as you saw so it has it clears this one as you saw so it has no no no um distracting text over here it centers um distracting text over here it centers um distracting text over here it centers it nicely and then it it nicely and then it it nicely and then it um um um also wraps the text so that it's just also wraps the text so that it's just also wraps the text so that it's just this nice column in the middle as you this nice column in the middle as you this nice column in the middle as you see here so it's very easy on the eyes see here so it's very easy on the eyes see here so it's very easy on the eyes and very efficient to read this way and very efficient to read this way and very efficient to read this way this script I it's it I call it a script this script I it's it I call it a script this script I it's it I call it a script but it's basically a one-liner but it's basically a one-liner but it's basically a one-liner um I can just quickly show you that um I can just quickly show you that um I can just quickly show you that actually it's just uh and B actually it's just uh and B actually it's just uh and B this is it it's a bash script and it

  5. this is it it's a bash script and it this is it it's a bash script and it splits the pain it resizes it to 130 and splits the pain it resizes it to 130 and splits the pain it resizes it to 130 and then it sends the news about dot R then it sends the news about dot R then it sends the news about dot R command to it and the r stands for command to it and the r stands for command to it and the r stands for reload all feeds and it clears the other reload all feeds and it clears the other reload all feeds and it clears the other pane like that so how does the news pane like that so how does the news pane like that so how does the news build work well it uses RSS feeds so if build work well it uses RSS feeds so if build work well it uses RSS feeds so if I go to my own website I go to my own website I go to my own website this is my blog and here you will see this is my blog and here you will see this is my blog and here you will see that there is an RSS button over here that there is an RSS button over here that there is an RSS button over here and this RSS generates and this web my and this RSS generates and this web my and this RSS generates and this web my website generates an XML website generates an XML website generates an XML file on this URL and this is what's file on this URL and this is what's file on this URL and this is what's called an RSS feed and newsbode is able called an RSS feed and newsbode is able called an RSS feed and newsbode is able to to to take those RSS feeds and render it like take those RSS feeds and render it like take those RSS feeds and render it like uh like we just saw so you control how uh like we just saw so you control how uh like we just saw so you control how the content is rendered and the content is rendered and the content is rendered and um let's see one very important element um let's see one very important element um let's see one very important element of this is that you are of this is that you are of this is that you are you are choosing the feeds that you want you are choosing the feeds that you want you are choosing the feeds that you want so so so you you can carefully curate you you can carefully curate you you can carefully curate which content you consume which content you consume which content you consume so you build your own uh social media so you build your own uh social media so you build your own uh social media feed and you decide exactly what goes on feed and you decide exactly what goes on feed and you decide exactly what goes on there because you choose the sources and there because you choose the sources and there because you choose the sources and there are no advertisements there are no advertisements there are no advertisements no advertisements or related suggested

  6. no advertisements or related suggested no advertisements or related suggested articles articles articles and the advantage of that is that you and the advantage of that is that you and the advantage of that is that you don't get dragged into something that don't get dragged into something that don't get dragged into something that you weren't intending on reading uh you weren't intending on reading uh you weren't intending on reading uh anyway anyway anyway um um um so I think that's about it about news so I think that's about it about news so I think that's about it about news feeds let's just quickly write down that feeds let's just quickly write down that feeds let's just quickly write down that new spots uses RSS feeds which are new spots uses RSS feeds which are new spots uses RSS feeds which are generated by websites generated by websites generated by websites and very often you can just find RSS and very often you can just find RSS and very often you can just find RSS feeds uh based on this little icon feeds uh based on this little icon feeds uh based on this little icon sometimes you will see a websites that sometimes you will see a websites that sometimes you will see a websites that have this icon but you can also have this icon but you can also have this icon but you can also um like the if there if you can for um like the if there if you can for um like the if there if you can for example do BBC RSS and then you will see example do BBC RSS and then you will see example do BBC RSS and then you will see news feeds from the BBC or the the Dutch news feeds from the BBC or the the Dutch news feeds from the BBC or the the Dutch public news Services is called NOS so if public news Services is called NOS so if public news Services is called NOS so if I do NOS RSS I do NOS RSS I do NOS RSS then it shows me the RSS feeds which are then it shows me the RSS feeds which are then it shows me the RSS feeds which are available to me and if I were to be available to me and if I were to be available to me and if I were to be interested in economics then I can take interested in economics then I can take interested in economics then I can take this URL this URL this URL and I will go to my and I will go to my and I will go to my newsbode folder newsbode folder newsbode folder it's in my home directory and I have a URLs file here and let's and I have a URLs file here and let's just pretend I want to read more about just pretend I want to read more about just pretend I want to read more about economics and add that to my feed so

  7. economics and add that to my feed so economics and add that to my feed so these are the URLs that I'm currently these are the URLs that I'm currently these are the URLs that I'm currently following and I add that to my feed so I following and I add that to my feed so I following and I add that to my feed so I open up news about again with MB open up news about again with MB open up news about again with MB and you will see here that NOS economy and you will see here that NOS economy and you will see here that NOS economy has been added and then I can open it has been added and then I can open it has been added and then I can open it like this and see oh if there's like this and see oh if there's like this and see oh if there's something interesting no no something interesting no no something interesting no no oh yes this is interesting so I will oh yes this is interesting so I will oh yes this is interesting so I will read it like this and if I think it's read it like this and if I think it's read it like this and if I think it's something I want to see in the browser I something I want to see in the browser I something I want to see in the browser I press o and I can continue reading here press o and I can continue reading here press o and I can continue reading here if I want to if I want to if I want to so that's it I think it's very useful to so that's it I think it's very useful to so that's it I think it's very useful to to read from the command line it is it to read from the command line it is it to read from the command line it is it greatly improved the efficiency of the greatly improved the efficiency of the greatly improved the efficiency of the the way I consume content the way I consume content the way I consume content and it's surprising how many RSS feeds and it's surprising how many RSS feeds and it's surprising how many RSS feeds are available and my blog for example are available and my blog for example are available and my blog for example also has uh Norris s feed so if you want also has uh Norris s feed so if you want also has uh Norris s feed so if you want to stay up to date with what I am to stay up to date with what I am to stay up to date with what I am posting you can add it to your RSS feed posting you can add it to your RSS feed posting you can add it to your RSS feed and it can just notify you or you can and it can just notify you or you can and it can just notify you or you can see it when you have unread messages and see it when you have unread messages and see it when you have unread messages and it will show you the Articles right here it will show you the Articles right here it will show you the Articles right here in your in your terminal so in your in your terminal so in your in your terminal so that's how I like to do it and if you that's how I like to do it and if you that's how I like to do it and if you have any questions just put them down in have any questions just put them down in have any questions just put them down in the comments and the comments and the comments and good luck with your own news boat good luck with your own news boat good luck with your own news boat Adventures thank you for watching and Adventures thank you for watching and Adventures thank you for watching and see you in the next one

Summary

The main theme is reading news from the command line to enhance productivity and reduce distractions. Key subjects include the terminal, Vim, DevOps workflows, and the Newsboat application. The practical takeaway is that integrating news consumption into your existing terminal workflow offers a more focused and customizable reading experience, akin to a Kindle.

View original episode ↗