Clear is an open-sourced, cross-platform mobile application for browsing reddit.
So far, Clear is mostly contained to mass browsing, but features will be added as time goes on.
(screenshots have large head and footer due to them being taken on the pixel 5, which has no bezel. The app detects if a bezel is present and changes the header and footer size accordingly)
In order to run Clear yourself, you'll need to set it up like any other react-native application.
Simply run npm install
in the root directory
run npm install
in the root directory, then run pod install
in the ios
directory
For communicating with the reddit API, you'll need to create an application in your reddit account's preferences. Here's a link to doing so.
Once you have your app's userAgent, clientID, and refreshToken (helper here for retrieving that), put them in a file titled .env
in the root of the project, like so:
SNOO_USER_AGENT=youruseragent
SNOO_CLIENT_ID=yourclientid
SNOO_CLIENT_SECRET=yourclientsecret
SNOO_REFRESH_TOKEN=yourrefreshtoken
In order to get images from imgur in an album, you'll need to register for imgur api credentials. You can get those
here. Select Anynymous usage without user authorization
. Place your
client id and client secret in the .env
file as well, like so:
IMGUR_CLIENT_ID=yourclientid
IMGUR_CLIENT_SECRET=yourclientsecret