--- title: Float emoji: 🧘 colorFrom: indigo colorTo: purple sdk: docker pinned: false license: mit ---
# Float Float is a cross-platform meditation app built with React Native and Expo. It uses Google Generative AI, Eleven Labs text-to-Speech (migrating to Google TTS), and a library of sound files to create personalized meditation experiences based on user-submitted incidents that have affected them emotionally, which we refer to as "floats". Floats are categorized by emotion and intensity, and include a timer and a color scheme to indicate the duration, summary, and reasoning behind each meditation. The app can generate meditations from up to three floats at a time. ## Features :zap: - **Personalized Meditations**: Generates customized meditation sessions based on user-submitted floats. - **Multi-Platform Support**: Built with React Native and Expo, supporting iOS, Android and Web platforms. - **Create Floats with Audio and Text**: User can create floats with audio or text allowing Gemini to capture tonality and speech patterns to asses mood and intensity of emotion as well as text - **Google Generative AI Integration**: Utilizes Google Generative AI for generating floats and meditation content. - **ElevenLabs Text-to-Speech**: Converts generated text into spoken meditations using ElevenLabs' text-to-speech technology. - **Color-Coded Timer**: Provides a visual timer with a color scheme to indicate the elapsed time of the meditation session. - **Emotion and Intensity Categorization**: Categorizes floats by emotion and intensity to tailor meditation experiences. - **Backend Powered by AWS Lambda**: Manages API calls to Google Generative AI and ElevenLabs through AWS Lambda functions. # Installation :eyes: To set up and run Float locally, follow these steps: ### Prerequisites - Node.js (version 14 or higher) - Expo CLI (install with `npm install -g expo-cli`) - A Google Cloud account with API access for Generative AI - An ElevenLabs account with API access for Text-to-Speech - OpenAI Account and API key - AWS account with Lambda functions set up ### Clone the Repository ```bash git clone https://github.com/yourusername/float.git cd float ``` ### Install Dependencies ```bash yarn ``` ## Configure Environment Variables Create a .env file in the root directory and add the following variables: Frontend ```bash EXPO_PUBLIC_AWS_ID=