Skip to content

MLeidel/NKiosk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NKiosk RSS Viewer

Headlines at your fingertips

Runs in Terminal

Consists of two files: nkiosk.py and nkiosk.lst

terminal


RSS feed urls stored in separate text file nkiosk.lst

https://www.chicagotribune.com/latest-headlines/feed/
https://feeds.npr.org/1002/rss.xml
https://feeds.npr.org/1003/rss.xml
https://feeds.npr.org/1004/rss.xml
https://feeds.npr.org/1014/rss.xml
https://moxie.foxnews.com/google-publisher/us.xml
http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml
http://rss.nytimes.com/services/xml/rss/nyt/World.xml
http://rss.nytimes.com/services/xml/rss/nyt/US.xml
https://news.google.com/rss?hl=en-US&gl=US&ceid=US:en

You may have from 1 to 98 RSS urls. Store them in the nkiosk.lst text file, one line per URL.


Navigation

At the bottom of each page you are prompted for input.

When you hit:

ENTER   advances to next rss feed  
0 - 98  goes to that feed in your list
99      ends program
999     prints out your feeds from the `nkiosk.lst` file

To open a web link for an article use mouse while holding down CTRL key.


Requires:

    beautifulsoup4==4.14.3 
    lxml
    Requests==2.32.5
    termcolor==3.3.0

Suggested usage:

on Linux

    xfce4-terminal --geometry=88x50+100+20 -x news.sh &

    news.sh
        cd /p a t h/NKiosk
        python3 nkiosk.pyc

Use a terminal that supports geometry option.

on Windows

news.bat
    @echo off
    REM Open a new CMD window and run the NKiosk script
    start "" cmd /k "cd /d C:\NKiosk && python nkiosk.pyw"

inspired by the book:
Automate the Boring Stuff with Python
By Al Sweigart

About

RSS Kiosk runs in terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages