IronLog is a comprehensive fitness tracking application that helps users manage their workout routines, track progress, and achieve their fitness goals.
The Chat feature can use either Google's Gemini AI directly or the requesty.ai router service to provide intelligent responses to your fitness-related questions. Choose one of the following setup options:
- In Xcode, go to
File > Add Packages...
- Enter the package URL:
https://github.com/google/generative-ai-swift
- Click "Add Package"
- Select all the targets you want to add the package to
- Go to Google AI Studio
- Create an account if you don't have one
- Create a new API key
- Copy the API key
- Open
GeminiService.swift
in the Services folder - Replace the placeholder
"YOUR_GEMINI_API_KEY"
with your actual API key:private let apiKey = "YOUR_ACTUAL_API_KEY_HERE"
Important: Do not commit your API key to public repositories. Consider using a separate configuration file that's not tracked by version control, or environment variables for production.
If you prefer to use the requesty.ai router service (which can provide access to additional models), follow these steps:
- Sign up for an account at requesty.ai
- Create a new API key in your dashboard
- Copy the API key
- Open
GeminiService.swift
in the Services folder - Make sure you're using the router implementation (no Google SDK dependency)
- Replace the placeholder with your actual API key:
private let apiKey = "YOUR_ROUTER_API_KEY_HERE"
Important: The requesty.ai implementation uses a REST API approach rather than the Google SDK. Ensure you are using the correct implementation of GeminiService.swift for your chosen method.
- Build and run the app
- Navigate to the Chat tab
- Type a fitness-related question and send it
- You should receive an intelligent response from the AI service
- Track workouts by day of the week
- Log exercises with sets, reps, and weights
- Set and monitor fitness goals
- View progress over time
- AI-powered chat for fitness advice
- Sync data across devices with Firebase
- Clone the repository
- Open IronLog.xcodeproj in Xcode
- Build and run on your iOS device or simulator
- iOS 15.0+
- Xcode 14.0+
- Swift 5.5+