LinkedIn Analyst is an open-source Flutter application designed to analyze LinkedIn posts using Gemini AI. The tool helps users predict the comprehension level of their posts and provides suggestions to improve clarity and engagement.
LinkedIn Analyst sends your LinkedIn post to Gemini AI, which analyzes the content and predicts the comprehension level of the readers. The tool returns an estimated comprehension percentage and offers advice on how to improve the post in markdown format.
- Comprehension Prediction: Analyze LinkedIn posts and get an estimated comprehension percentage.
- Improvement Suggestions: Receive actionable advice in markdown format on how to enhance the post for better understanding.
- JSON Output: The analysis results are returned in a structured JSON format.
{
"percentage": "percentage",
"advice": "markdown advice"
}
Before you begin, ensure you have the following installed on your machine:
- Flutter SDK: Installation Guide
- Git: Installation Guide
- A code editor (recommended: VS Code)
- Open your terminal or command prompt.
- Clone the Git repository using the following command:
git clone https://github.com/Docteur-Parfait/flutter_gem_linkedin_analyst.git
- Navigate to the project directory:
cd flutter_gem_linkedin_analyst
To run the project correctly, you need to add a .env
file containing your Google Gemini AI API key. Follow these steps to set up your .env
file:
- In the project's root directory, create a file named
.env
. - Add the following line to the
.env
file, replacingYOUR_GEMINI_API_KEY
with your actual API key:
API_KEY=YOUR_GEMINI_API_KEY
- Install the required packages:
flutter pub get
Once you have set up the .env
file, you can run the Flutter project using the following commands:
flutter pub get
flutter run
Here is an example of how to use the application:
- Start the application:
flutter run
- Input your LinkedIn post content in the app's interface:
Enter your LinkedIn post content here: "At XYZ Corp, we are revolutionizing the industry with our innovative AI solutions..."
- Receive the analysis results displayed on the app:
{
"percentage": 90,
"advice": "### Suggestions to improve your post\n- Simplify technical terms.\n- Use shorter sentences for better readability.\n- Add a call to action."
}
Contributions are welcome! If you would like to contribute, please follow these steps:
- Fork the repository
- Create a branch for your feature (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
- Parfait Toke - LinkedIn: @parfait-toke
This project is licensed under the MIT License. See the LICENSE file for details.