I am creating a simple terminal rss reader with python.
The following is how the feeds will displayed at terminal. What I trying to to is looking for a solution to trigger a python function,which added a url to Pocket account.
For web dev,it can be done easily with anchor links or buttons.
Is there any solutions to interact from terminal such as keyboard input,mouse clicking?
$ python feedParser.py -w ph
Title: Product Hunt — The best new products, every day
URL: http://www.producthunt.com
-------------------------------------
Golden Goose — Scramble eggs in the shell
http://www.producthunt.com/l/68cf97c80c/339 [pocket]
Lava Mae — Mobile Showers for the Homeless
http://www.producthunt.com/l/275ff76783/339 [pocket]
Androidify — Create & share Android characters that look like anyone
http://www.producthunt.com/l/680168e4e2/339 [pocket]
Empty States — Delight users by designing the empty states
http://www.producthunt.com/l/b02fc043d7/339 [pocket]
Code: https://github.com/aungthurhahein/Simple-Terminal-RSS-reader