Skip to content

gvatsal60/LinkAutoPostAI

🔗 LinkAutoPostAI

License pre-commit.ci status Codacy Badge Quality Gate Status CodeFactor GitHub pull-requests GitHub Issues GitHub forks GitHub stars

A Python automation project that generates LinkedIn post content with Google GenAI via LangChain and publishes it using the LinkedIn API.

🚀 Features

  • AI-generated LinkedIn post content
  • Automated publishing to LinkedIn
  • Environment-variable based configuration
  • Pre-configured for best practices (linting, formatting, CI)
  • Example documentation and contribution guidelines

🛠️ Quick Start

  1. Clone the repository:

    git clone https://github.com/gvatsal60/LinkAutoPostAI.git
    cd LinkAutoPostAI
  2. Set up your environment:

    uv sync
  3. Create your environment file:

    cp src/.env.dev src/.env
  4. Update src/.env with required values:

    MODEL_API_KEY=your_model_api_key
    MODEL_NAME=gemini-2.5-flash
    LINKEDIN_ACCESS_TOKEN=your_linkedin_access_token
  5. Run the app:

    make run

📦 Project Structure

LinkAutoPostAI/
├── src/                  # Application source code
│   ├── app.py            # Main entrypoint
│   ├── linkedin.py       # LinkedIn API integration
│   ├── config.py         # Environment variable loading
│   └── .env.dev          # Environment variable template
├── snippets/             # Sample snippets/assets
├── README.md
├── Makefile
├── pyproject.toml
├── LICENSE
└── ...

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

🛡️ License

This project is licensed under the Apache 2.0 License. See LICENSE for details.

About

Automated post generator powered by AI for seamless content scheduling and sharing.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors

Generated from gvatsal60/GenAIStarterKit