GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rishabhpatre/content-generator-agent: 🤖 An autonomous AI agent that turns the latest Arxiv research papers and news feeds into viral, professional LinkedIn posts.

BranchesTags
Open more actions menu

Latest commit

 

History

274 Commits
274 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
src
src
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Arxiv to LinkedIn Agent 🚀

An autonomous AI agent that fetches the latest research papers from Arxiv, analyzes them for virality using Google Gemini, and generates professional, engaging LinkedIn posts daily.

✨ Features

  • Fetch Recent Papers: Queries Arxiv for the latest "LLM" and "Artificial Intelligence" papers.
  • Gather AI News: Aggregates news from top AI blogs (OpenAI, Google, Anthropic, etc.) via RSS.
  • Daily AI Concept: Generates an educational "Concept of the Day" (e.g., LoRA, RAG) with a visual flowchart (Mermaid.js).
  • Smart Analysis: Uses Google Gemini 2.5 Flash (Free Tier) to pick the most engaging topics.
  • Multi-Format Content: Creates research summaries, news updates, and educational deep-dives.
  • Daily Automation: Runs automatically via GitHub Actions every day at 07:00 AM IST.

🛠️ Usage

Local Setup

  1. Clone the repository:
    git clone https://github.com/rishabhpatre/content-generator-agent.git
    cd content-generator-agent
  2. Install dependencies:
    pip install -r requirements.txt
  3. Set up environment variables: Create a .env file in the root directory:
    GOOGLE_API_KEY=your_gemini_api_key
    
  4. Run the agent:
    python main.py

🤖 Automation Setup (GitHub Actions)

To have this run daily and email you the post:

  1. Fork/Clone this repository to your GitHub.
  2. Go to Settings > Secrets and variables > Actions in your repo.
  3. Add the following Repository Secrets:
    • GOOGLE_API_KEY: Your Gemini API Key (Get it here).
    • SMTP_EMAIL: The Gmail address to send from.
    • SMTP_PASSWORD: Your Gmail App Password.

      How to get this (Gmail):

      1. Go to Google My Account.
      2. Search for "App passwords" -> Create one named "LinkedIn Agent".
      3. Copy the 16-character code.
    • RECIPIENT_EMAIL: The email address to receive the post at.
  4. Done! The workflow will run automatically every day at 07:00 AM IST (01:30 UTC).

📁 Project Structure

  • src/arxiv_client.py: Fetches papers from Arxiv.
  • src/llm_processor.py: Uses Gemini to analyze papers and write posts.
  • src/email_client.py: Handles sending emails via SMTP.
  • main.py: The entry point script.
  • .github/workflows/daily_digest.yml: Automation configuration.

📄 License

MIT License. Feel free to use and modify!

About

🤖 An autonomous AI agent that turns the latest Arxiv research papers and news feeds into viral, professional LinkedIn posts.

Topics

aiaiagentcontent-generatorgeminillm

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.