oakleyaidan21 / Stark

A mobile Reddit client written in React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stark

A cross-platform mobile application for browsing reddit, written with React Native.

NOTE: As of 06/30/2023, Reddit charges for usage of their API. Because of this, instances of this application require their own reddit client ID, e.g., an ID per install, or else be subject to fees.

Screenshots

Screenshot 2024-04-12 at 3 40 30 PM Screenshot 2024-04-12 at 3 42 47 PM Screenshot 2024-04-12 at 3 43 15 PM Screenshot 2024-04-12 at 3 58 36 PM

Setup

npm install

iOS

cd ios && pod install

In order for react-native-reanimated to work, change its CLANG_CXX_LANGUAGE_STANDARD value in node modules:

node_modules/react-native-reanimated/RNReanimated.podspec "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",

This may have been fixed in later versions of the package, but for the version this repo uses, it's required.

Secrets

Replace instances of <YOUR_USER_AGENT> and <YOUR_CLIENT_ID> with your Reddit app's user agent and client ID, respectfully.

Running

npm run android or npx run ios

About

A mobile Reddit client written in React Native


Languages

Language:TypeScript 90.1%Language:Java 4.8%Language:Objective-C 1.5%Language:Ruby 1.5%Language:JavaScript 1.2%Language:Objective-C++ 0.5%Language:Starlark 0.4%Language:Shell 0.0%