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.

  1. Create a standard configuration: tuir --copy-config. The file will be stored as ~/.config/tuir/tuir.cfg.
  2. Login at Reddit with your regular webbrowser and go to the authorized applications page.
  3. 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/ (tuir will have it’s OAuth callback webserver sitting there, waiting for the token to be returned).
  4. Note down application id and secret.
  5. Open ~/.config/tuir/tuir.cfg and set oauth_client_id to the application id, and oauth_client_secret to the secret. Save.

Done. Start tuir, press u to start the login process; your webbrowser opens, authorize the app, have fun.