Skip to content

Craft a compelling LinkedIn Post with the help of a Multi-Agentic Architecture personalized for your needs!

License

Notifications You must be signed in to change notification settings

HopMaster03/linkedin-post-generation-CrewAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CrewAI: Linkedin Post Generation

Crafting Your Voice, Amplifying Your Professional Impact

license last-commit repo-top-language repo-language-count

Developed with the following tools:


Table of Contents


Overview

The linkedin-post-generation-CrewAI project revolutionizes LinkedIn content creation by automating personalized post generation. Leveraging advanced AI, it analyzes organizational data to craft posts that resonate with specific audiences, enhancing engagement and visibility. Ideal for marketers and social media managers, this tool streamlines content strategy and optimizes online presence.


Features

Feature Summary
⚙️ Architecture
  • Utilizes a modular approach with separate files for different functionalities like app.py for the interface and crew.py for team configuration.
  • Integrates data analysis and LinkedIn post generation within a single framework.
  • Supports environmental variables and PDF reading for dynamic content generation.
🔩 Code Quality
  • Code is organized into distinct modules for clarity and maintainability.
  • Uses Python extensively, evident from the .py files and Python-based dependencies.
  • Adheres to a structured format in YAML files for configuration.
📄 Documentation
  • Documentation includes installation and usage commands.
  • File-specific documentation helps understand individual components' roles.
🔌 Integrations
  • Integrates with various Python libraries such as beautifulsoup4 for web scraping and selenium for browser automation.
  • Uses streamlit for web app development, enabling interactive user interfaces.
  • Employs undetected-chromedriver for improved scraping capabilities without detection.
🧩 Modularity
  • Highly modular with separate configuration files (agents.yaml and tasks.yaml) for team roles and tasks.
  • Separation of concerns is evident with distinct scripts for different functionalities.
  • Modular design aids in easy scalability and maintenance of the codebase.
⚡️ Performance
  • Use of undetected-chromedriver and selenium suggests an emphasis on reliable and efficient data scraping.
🛡️ Security
  • Utilizes python-dotenv for environment variable management, enhancing security by protecting API keys and other sensitive data.

Project Structure

└── linkedin-post-generation-CrewAI/
    ├── LICENSE
    ├── Nike_logs.txt
    ├── app.py
    ├── config
    │   ├── agents.yaml
    │   └── tasks.yaml
    ├── crew.py
    ├── requirements.txt
    └── tools
        ├── linkedin_tools.py
        └── utils.py

Project Index

LINKEDIN-POST-GENERATION-CREWAI/
__root__
Nike_logs.txt - The file "Nike_logs.txt" within the project serves as a detailed log for data analysis tasks performed by an agent identified as a Data Analyst and Audience Researcher
- The primary function of this file is to document the analysis of input data concerning organizational details, specifically focusing on The Coca-Cola Company
- The log entry outlines the company's global presence, product portfolio, and sustainability initiatives, providing a comprehensive overview of the company's business operations and strategic focus areas.

This file is crucial for maintaining a record of the data analysis activities, which could be used for auditing, tracking progress, or further analysis in future projects
- It supports the broader architecture of the project by ensuring that detailed, timestamped data analysis activities are recorded, thereby enhancing transparency and accountability within the data management process
- This log file likely interacts with other components of the project that require insights from data analysis for decision-making or strategy development.

app.py - App.py serves as the interface for a LinkedIn post generator, enabling users to input organizational details and preferences to craft tailored posts
- It integrates environmental variables, PDF reading for context extraction, and leverages the LinkedInPostCrew module for generating posts based on emotional appeal and content type specified by the user.
requirements.txt - Manages the dependencies required for the project, ensuring compatibility and functionality across various modules
- It includes libraries for web app development, AI integration, language processing, environment management, data manipulation, web scraping, and PDF handling, supporting the project's diverse needs in data analysis, AI-driven insights, and user interface creation.
crew.py - Crew.py establishes a specialized team, the LinkedIn Post Crew, designed to enhance LinkedIn content strategy through a series of defined roles and tasks
- It configures agents like content strategists and SEO optimizers and assigns them specific tasks such as content creation and optimization, all managed within a sequential process framework.
config
tasks.yaml - Configures tasks for a LinkedIn content strategy project, detailing processes from data collection and audience profiling to content creation and optimization
- It guides the collection of organizational insights, audience analysis, drafting and refining LinkedIn posts, integrating emotional appeals, and optimizing content for enhanced visibility and engagement on the platform.
agents.yaml - Defines roles and objectives for team members involved in LinkedIn content creation, including a Project Manager, Data Analyst, Content Creator, and SEO Specialist
- Each role is detailed with specific goals and professional backgrounds, ensuring a structured approach to producing high-quality, targeted, and optimized LinkedIn posts.


Getting Started

Prerequisites

Before getting started with linkedin-post-generation-CrewAI, ensure your runtime environment meets the following requirements:

  • Programming Language: python
  • Package Manager: pip

Installation

Install linkedin-post-generation-CrewAI using one of the following methods:

Build from source:

  1. Clone the linkedin-post-generation-CrewAI repository:
❯ git clone https://github.com/HopMaster03/linkedin-post-generation-CrewAI
  1. Navigate to the project directory:
cd linkedin-post-generation-CrewAI
  1. Install the project dependencies:

Using pip  

❯ pip install -r requirements.txt
  1. Create Environment variables:
LINKEDIN_EMAIL="your linkedin email"
LINKEDIN_PASSWORD="password for linkedin email"
LANGTRACE_API_KEY="langtrace_api_key"
OPENAI_API_KEY="openai_api_key"

Usage

Run linkedin-post-generation-CrewAI using the following command: Using pip  

streamlit run app.py

Project Roadmap

  • Task 1: Generate a personalized post.
  • Task 2: Generate an image according to the content.
  • Task 3: Integrate in content creation pipelines.

Contributing

  • 💬 Join the Discussions: Share your insights, provide feedback, or ask questions.
  • 🐛 Report Issues: Submit bugs found or log feature requests for the linkedin-post-generation-CrewAI project.
  • 💡 Submit Pull Requests: Review open PRs, and submit your own PRs.
Contributing Guidelines
  1. Fork the Repository: Start by forking the project repository to your github account.
  2. Clone Locally: Clone the forked repository to your local machine using a git client.
    git clone https://github.com/HopMaster03/linkedin-post-generation-CrewAI
  3. Create a New Branch: Always work on a new branch, giving it a descriptive name.
    git checkout -b new-feature-x
  4. Make Your Changes: Develop and test your changes locally.
  5. Commit Your Changes: Commit with a clear message describing your updates.
    git commit -m 'Implemented new feature x.'
  6. Push to github: Push the changes to your forked repository.
    git push origin new-feature-x
  7. Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
  8. Review: Once your PR is reviewed and approved, it will be merged into the main branch. Congratulations on your contribution!
Contributor Graph


License

This project is protected under the MIT License. For more details, refer to the LICENSE file.

About

Craft a compelling LinkedIn Post with the help of a Multi-Agentic Architecture personalized for your needs!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages