tuir: a ncurses Reddit client
I like command line clients. I was thrilled to learn about tuir, an ncurses Reddit client for the terminal.
Installations is as simple as doing pip3 install tuir, but setup needs some
tweaking. The reason is, that the client needs to perform OAuth
authentication, but the ClientId and ClientSecret are not valid.
- Create a standard configuration:
tuir --copy-config. The file will be stored as~/.config/tuir/tuir.cfg. - Login at Reddit with your regular webbrowser and go to the authorized applications page.
- Click on ‘create another app..’, pick a name, choose type “script: Script
for personal use. Will only have access to the developers accounts”, give a
random about URL, but make sure to set the “redirect url” to
http://127.0.0.1:65000/(tuirwill have it’s OAuth callback webserver sitting there, waiting for the token to be returned). - Note down application id and secret.
- Open
~/.config/tuir/tuir.cfgand setoauth_client_idto the application id, andoauth_client_secretto the secret. Save.
Done. Start tuir, press u to start the login process; your webbrowser opens,
authorize the app, have fun.