web/personas-open-source/README.md
Personas is an open-source AI chat platform that allows users to interact with various AI models through a beautiful, modern interface. We recently went viral on Twitter with 11 Million Views, 300K+ users.
Built with Next.js 13, Firebase, and various AI APIs, it offers a seamless experience for users to engage with different AI personalities through Twitter.
Before you begin, ensure you have:
You'll need to obtain the following API keys and credentials:
Firebase Configuration
OpenRouter API
RapidAPI Twitter API
Mixpanel
RapidAPI LinkedIn API
Clone the repository:
git clone https://github.com/BasedHardware/omi.git
cd omi/personas-open-source
Install dependencies:
npm install
Create a .env.local file in the root directory with the following variables:
# Firebase Configuration
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_firebase_auth_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_firebase_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_firebase_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_firebase_messaging_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_firebase_app_id
NEXT_PUBLIC_FIREBASE_VAPID_KEY=your_firebase_vapid_key
# API Keys
NEXT_PUBLIC_RAPIDAPI_KEY=your_rapidapi_key
OPENROUTER_API_KEY=your_openrouter_api_key
NEXT_PUBLIC_MIXPANEL_TOKEN=your_mixpanel_token
NEXT_PUBLIC_LINKEDIN_API_HOST=your_rapidapi_linkedin_host
NEXT_PUBLIC_LINKEDIN_API_KEY=your_rapidapi_linkedin_key
REDIS_DB_HOST=your_redis_key
REDIS_DB_PORT=redis_port
REDIS_DB_PASSWORD=redis_password
Run the development server:
npm run dev
Open http://localhost:3000 in your browser.
To run using Docker:
Build the image:
docker build -t personas .
Run the container:
docker run -p 3000:3000 personas
Through OpenRouter, you can access various AI models:
We welcome contributions! Please feel free to submit a Pull Request.
If you encounter any issues or have questions, please open an issue on GitHub.