{ "info": { "author": "Peteris Krumins", "author_email": "peter@catonmat.net", "bugtrack_url": null, "classifiers": [], "description": "This is the Hacker Top program. It's a top-like program for monitoring stories\r\non hacker news (news.ycombinator.com) from the console.\r\n\r\nIt was written by Peteris Krumins (peter@catonmat.net).\r\nHis blog is at http://www.catonmat.net -- good coders code, great reuse.\r\n\r\nThe code is licensed under the GNU GPL license.\r\n\r\nThe code was written as a part of the article \"Follow Hacker News from the\r\nConsole\" on my website. The whole article can be read at:\r\n\r\n http://www.catonmat.net/blog/follow-hacker-news-from-the-console/\r\n\r\nI explained some parts of the code in this program in another article \"How\r\nReddit Top and Hacker Top Programs Were Made\". It can be read here:\r\n\r\nhttp://www.catonmat.net/blog/how-reddit-top-and-hacker-top-programs-were-made/\r\n\r\n------------------------------------------------------------------------------\r\n\r\nTable of contents:\r\n\r\n [1] The Hacker Top program.\r\n [2] Program's usage.\r\n [3] Keyboard shortcuts.\r\n [4] Future TODO improvements.\r\n\r\n\r\n[1]-The-Hacker-Top-program----------------------------------------------------\r\n\r\nThis program monitors the Hacker News website ( http://news.ycombinator.com )\r\nfor hacker stories and displays them in the console via ncurses.\r\n\r\nThe program is written in Python programming language and is supposed to\r\nbe run on Unix type operating systems, such as Linux.\r\n\r\nIt uses one external Python module - BeautifulSoup - for parsing HTML.\r\nBeautifulSoup can be downloaded from http://crummy.com/software/BeautifulSoup\r\nor via `easy_install beautifulsoup` \r\n\r\nSee my original article for a screenshot:\r\n\r\n http://www.catonmat.net/blog/follow-hacker-news-from-the-console/\r\n\r\n\r\n[2]-Hacker-Top-usage----------------------------------------------------------\r\n\r\nUsage: ./hacker_top.py [-h|--help] - displays help message\r\n\r\nUsage: ./hacker_top.py [-i|--interval interval]\r\n [-u|--utf8 ] [-n|--new]\r\n\r\n -i or --interval specifies refresh interval.\r\n The default refresh interval is 3 minutes. Here are a few\r\n examples: 10s (10 seconds), 12m (12 minutes), 2h (2 hours). \r\n\r\n -u or --utf8 turns on utf8 output mode.\r\n Default: off. Use this if you know for sure that your\r\n terminal supports it, otherwise your terminal might turn into garbage.\r\n\r\n -n or --new follows only the newest hacker stories.\r\n Default: follow front page stories.\r\n\r\n\r\n[3]-Keyboard-shortcuts--------------------------------------------------------\r\n\r\nq - quits the program.\r\nu - forces an update of the stories.\r\nm - changes the display mode.\r\nup/down arrows (or j/k) - scrolls the news list up or down.\r\n\r\nBeta shortcuts:\r\no - open the topmost URL in the default webbrowser\r\nt - open the topmost URL in a new tab in the default webbrowser\r\nc - open the topmost URL's comments in the default webbrowser\r\n\r\n[4]-Future-TODO-improvements--------------------------------------------------\r\n\r\n* Fix it to work on Windows. (Perhaps try the Console module)\r\n\r\n* Merge it with \"Reddit Top\" program (see below) and create \"Social Top\"\r\n program. Then write plugins for Digg, and other websites.\r\n\r\n Reddit Top is here (currently broken, will fix on Sunday 2009.11.29):\r\n http://www.catonmat.net/blog/follow-reddit-from-the-console/\r\n\r\n* Add ability to login and vote for the favorite stories.\r\n\r\n\r\n------------------------------------------------------------------------------\r\n\r\n\r\nHave fun using it!\r\n\r\n\r\nSincerely,\r\nPeteris Krumins\r\nhttp://www.catonmat.net", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.catonmat.net/blog/follow-hacker-news-from-the-console/", "keywords": "hacker news cli", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "hacker-top", "package_url": "https://pypi.org/project/hacker-top/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hacker-top/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.catonmat.net/blog/follow-hacker-news-from-the-console/" }, "release_url": "https://pypi.org/project/hacker-top/1.0/", "requires_dist": null, "requires_python": null, "summary": "A top-like program for monitoring stories on hacker news.", "version": "1.0" }, "last_serial": 228850, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "447940dc34950caf50f6533d49ac4330", "sha256": "d5194570b289b4f07741bf20ea2cffd0462519ff3a70489dc465e805e0911b36" }, "downloads": -1, "filename": "hacker-top-1.0.tar.gz", "has_sig": false, "md5_digest": "447940dc34950caf50f6533d49ac4330", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34941, "upload_time": "2010-12-03T23:37:16", "url": "https://files.pythonhosted.org/packages/a1/61/96aab7b39a66d53439822a58962f919018af9558b44c9a163edce8714ee8/hacker-top-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "447940dc34950caf50f6533d49ac4330", "sha256": "d5194570b289b4f07741bf20ea2cffd0462519ff3a70489dc465e805e0911b36" }, "downloads": -1, "filename": "hacker-top-1.0.tar.gz", "has_sig": false, "md5_digest": "447940dc34950caf50f6533d49ac4330", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34941, "upload_time": "2010-12-03T23:37:16", "url": "https://files.pythonhosted.org/packages/a1/61/96aab7b39a66d53439822a58962f919018af9558b44c9a163edce8714ee8/hacker-top-1.0.tar.gz" } ] }