Gladiator is an open-source chatbot app powered by GROQ API. It allows you to create personalized profiles for characters or personas, offering engaging AI-driven interactions. With smooth animations, a modern interface, and fast responses, Gladiator delivers a premium chatbot experience.
- Customizable Profiles: Define the "About Me" of any character for authentic AI-driven conversations.
- Theming: Seamlessly switch between light and dark modes.
- Native Animations: Enjoy smooth, responsive animations for an immersive experience.
- Native iOS Components: Built using native elements for enhanced performance and aesthetics.
- Blazingly Fast Responses: Instant and context-aware replies powered by GROQ API.
- Firebase and Google Authentication: Secure user authentication powered by Firebase and Google Sign-In. Learn more
- Firestore Integration: Store user profiles and app data securely using Firebase Firestore. Learn more
- Open Source: Modify and adapt Gladiator to fit your specific needs.
Follow these steps to integrate Firebase, Firestore, and Google Authentication into your React Native project.
Run the following commands:
npm install @react-native-firebase/app @react-native-firebase/auth @react-native-firebase/firestore @react-native-google-signin/google-signin
- Visit the Firebase Console and create a new project.
- Add your app by selecting "Add App" and choosing iOS or Android.
- Download the
GoogleService-Info.plist
(for iOS). Detailed Setup Guide
- Place the downloaded configuration files in the respective platform directories:
GoogleService-Info.plist
→ios/
- Inside Podfile add these lines of code:
pod 'Firebase', :modular_headers => true
pod 'FirebaseCoreInternal', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
use_frameworks! :linkage => :static
$RNFirebaseAsStaticFramework = true
Enable authentication providers (e.g., Google, Email/Password) in the Firebase Console under Authentication.
Google Sign-In inside SignUp.tsx & Login.tsx
import auth from "@react-native-firebase/auth";
import { GoogleSignin } from "@react-native-google-signin/google-signin";
GoogleSignin.configure({
webClientId: "YOUR_WEB_CLIENT_ID.apps.googleusercontent.com",
});
const googleLogin = async () => {
const { idToken } = await GoogleSignin.signIn();
const googleCredential = auth.GoogleAuthProvider.credential(idToken);
return auth().signInWithCredential(googleCredential);
};
-
Initialize ImgBB in your project:
-
Get a free API key from ImgBB.
-
- Clone the repository:
git clone https://github.com/rit3zh/Gladiator
- Navigate to the project directory:
cd Gladiator
- Install dependencies:
npm install
- Navigate to the iOS directory and install required pods:
cd ios && pod install
- Run the app:
npm run ios
Caution
The UI is not compatible with expo go app. You have to prebuild your expo app.