Skip to content

Latest commit

 

History

History
96 lines (70 loc) · 3.54 KB

File metadata and controls

96 lines (70 loc) · 3.54 KB

Firebase Genkit AI flutter app for PodcastIndex.org

Maintenance Maintaner Ask Me Anything ! GitHub license GitHub release

PROJECT INFO

  • Flutter app with Firebase Genkit AI for PodcastIndex.org
  • This app is designed to provide a way to cooperate with PodcastIndex.org. You can listen to podcasts, get text version, short summary, audio file based on summary, and AI chat on the subject of podcast

Features

  • Flutter podcast_search package
  • Elevenlabs text to speech
  • Firebase Genkit Ai summarize with gemini15Flash model
  • PodcastIndex with podcastdx-client npm package
  • Firebase Genkit Ai text-to-image with imagen2 model
  • Huggingface speech-to-text with openai/whisper-large-v3-turbo model
  • Firebase Genkit Ai chat completion with gemini15Flash

Preview

  1. Podcast Index Search demo

Preview

  1. Speech to text and image generation with imagen2 and gemini15Flash models

Preview

  1. Text to speech and image generation with elevenlabs model

Preview

  1. Chat with gemini15Flash model

Preview

Installing:

1. Clone this repo to your folder:

git clone https://gitlab.extrawest.com/i-training/flutter/podcast-to-blog-firebase-genkit-app

2. Change current directory to the cloned folder:

cd podcast-to-blog-firebase-genkit-app/mobile

3. Get packages

flutter pub get

Upload Firebase Genkit AI flows to Firebase cloud functions

2. Go to genkit/functions folder: 1. Login to firebase and connect to your project 2. Deploy functions

firebase deploy --only functions

Once the deployment is done, you can run local server

Setup Server

1. Open server folder:

cd podcast-to-blog-firebase-genkit-app/server

2. In the root of server file create .env file and add the following variables:

HF_KEY='YOUR_HUGGINGFACE_KEY'
ELEVANLABS_KEY='YOUR_ELEVENLABS_KEY'
PODCAST_INDEX_API_KEY = 'YOUR_PODCAST_INDEX_API_KEY'
PODCAST_INDEX_API_SECRET = 'YOUR_PODCAST_INDEX_API_SECRET'
PORT = YOUR_PORT_NUMBER

2. Change server path in flutter project: Go to app/lib/services/api_service.dart and change the baseUrl to your server path

Now you can use the app

Preview

Preview Preview Preview Preview

Created by Oleksandr Samoilenko

Extrawest.com, 2024