A simple terminal viewer for Reddit (Reddit Terminal Viewer)
Project description
Reddit Terminal Viewer (RTV) is a lightweight browser for Reddit (www.reddit.com) built into a terminal window. RTV is built in Python and utilizes the curses library. It is compatible with a large range of terminal emulators on Linux and OSX systems.
Installation
Reddit Terminal Viewer is Py2/Py3 compatible. The quickest way to install is through pip.
$ sudo pip install --pre rtv
Alternatively, you can install directly from the repo using python setuptools.
$ git clone https://github.com/michael-lazar/rtv.git
$ cd rtv
$ sudo python setup.py install
After the installation has finished, a script will be placed in the system path. The program can then be started by typing
$ rtv
Additional options can be viewed with
$ rtv --help
Usage
RTV currently supports browsing both subreddits and individual submissions. In each mode the controls are slightly different.
Global Commands
- Arrow Keys or hjkl:
RTV supports both the arrow keys and vim bindings for navigation. Move up and down to scroll through items on the page.
- r or F5:
Refresh the current page.
- q:
Quit the program.
Subreddit Mode
In subreddit mode you can browse through the top submissions on either the front page or a specific subreddit.
- Right or Enter:
Open the currently selected submission in a new page.
- /:
Open a prompt to switch to a different subreddit. For example, pressing / and typing python will open /r/python. You can return to Reddit’s front page by using the alias /r/front.
- o:
Opens the url for a link-post in the default browser.
Submission Mode
In submission mode you can view the self text for a submission and browse comments.
- Right or Enter:
Toggle the currently selected comment between hidden and visible. Alternatively, load additional comments identified by [+] more comments.
- Left:
Exit the submission page and return to the subreddit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtv-1.0a4.tar.gz.
File metadata
- Download URL: rtv-1.0a4.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b7f7a6dda5474f15bab26f1603ecdb8052f6b010cc1123d9f27648ed22ee1d8
|
|
| MD5 |
6f73ed54df8eebc780f8507bf73ce077
|
|
| BLAKE2b-256 |
0f3fee0bb1b3d3ed0268515f84be5e819be84cae45d2df8c7e720bbb35a51f7f
|
File details
Details for the file rtv-1.0a4-py2.py3-none-any.whl.
File metadata
- Download URL: rtv-1.0a4-py2.py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce803e0f2634de6b1989a46c2e714d0ce2068a306f87d4693b0d1cbb9fa326cf
|
|
| MD5 |
e7f93bd0ca082315b8fe0dcb4b661b16
|
|
| BLAKE2b-256 |
cbf6fab4514e3695d44cbe769433f91ac98dfff02e1ea5cf39631f9e1645fc83
|