Skip to content

kusalatech/MiddleSeek

 
 

Repository files navigation

Welcome to your Expo app 👋

This is an Expo project created with create-expo-app.

Get started

  1. Install dependencies

    npm install
  2. Start the app

     npx expo start

In the output, you'll find options to open the app in a

You can start developing by editing the files inside the app directory. This project uses file-based routing.

Get a fresh project

When you're ready, run:

npm run reset-project

This command will move the starter code to the app-example directory and create a blank app directory where you can start developing.

Learn more

To learn more about developing your project with Expo, look at the following resources:

Join the community

Join our community of developers creating universal apps.

MiddleSeek

MiddleSeek is an AI-powered chatbot application designed to help users find balanced perspectives and middle ground on various topics. The app uses OpenAI's GPT model and can load custom prompts from GitHub repositories.

Features

  • AI-powered chat interface
  • Remote prompt loading from GitHub
  • Real-time message updates
  • Clean and intuitive UI
  • Cross-platform support (iOS, Android, Web)

Setup

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Create a .env file in the root directory with your OpenAI API key:
    EXPO_PUBLIC_OPENAI_API_KEY=your_api_key_here
    
  4. Update the GitHub repository and prompt path in app/chat.tsx:
    const GITHUB_REPO = 'your-username/middleseek';
    const PROMPT_PATH = 'prompts/base-prompt.txt';

Running the App

  • iOS: npm run ios
  • Android: npm run android
  • Web: npm run web

Customizing the Base Prompt

The base prompt is loaded from a GitHub repository. To customize it:

  1. Fork this repository
  2. Modify the prompts/base-prompt.txt file
  3. Update the GITHUB_REPO constant in app/chat.tsx to point to your repository

License

This project is licensed under the AGPLv3 License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%