terminal UI for Reddit
Project homepage: https://gitlab.com/ajak/tuir
Description
A text-based interface (TUI) to view and interact with Reddit
from your terminal.
tuir supports color schemes, user login, persistent authentication and mailcap
for opening media links; all with extensive examples and documentation.
Package information
- Ports path
- www/tuir
- Package architecture
- amd64
- Maintainer
- Stefan Hagen <sh+ports@codevoid.de>
- Categories
- www, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
- devel/py-decorator
- devel/py-kitchen
- devel/py-six
- www/py-requests STEM->=2.4.0
- www/py-beautifulsoup4
- lang/python/3
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
- devel/py-coverage
- devel/py-coveralls
- devel/py-mock
- devel/pylint
- www/py-vcrpy
- devel/py-decorator
- devel/py-kitchen
- devel/py-six
- www/py-requests STEM->=2.4.0
- www/py-beautifulsoup4
- lang/python/3
- devel/py-test
OpenBSD README
+-----------------------------------------------------------------------
| Running tuir on OpenBSD
+-----------------------------------------------------------------------
Since Reddit has changed their API terms, tuir does not work out of the
box anymore. The following steps are required to make it work:
1. Log on to reddit.com and open https://www.reddit.com/prefs/apps
2. Click on "create application" and fill out the form:
- name: can be anything, for example "tuir"
- ( ) web app
( ) installed app
(x) script
- description: anything or leave empty
- about url: leave empty
- redirect uri: http://127.0.0.1:65000/
3. Complete the Captcha and click "create app"
4. Note down the "secret"
5. Note down the "client id", which is the string displayed above the
secret, directly under "presonal use script".
Once the "app" is created, tuir can be configured to use it.
1. run the command: tuir --copy-config
2. Open ~/.config/tuir/tuir.cfg in an editor and replace the values in
the following entries with the ones optained above:
oauth_client_id = <reddit app client id>
oauth_client_secret = <reddit app secret>
oauth_redirect_uri = http://127.0.0.1:65000/
tuir should work now.