Skip to content

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🧠 Content Advisor

Content Advisor is a terminal-based AI content strategist agent powered by Groq's LLM API. Chat with it directly from your command line — it discovers content angles, writes platform-native social media posts, and walks you through exactly how to create and publish the content, tool by tool, all while remembering your conversation.

Think of it as a knowledgeable creator friend who tells you what to post, why it'll work, and how to actually make it — start to finish.


✨ Features

  • 💬 Interactive CLI Chat — Talk to Content Advisor directly in your terminal, just like a chatbot
  • 🧵 Conversation Memory — Remembers everything said in the session, so you can refine ideas turn by turn
  • ⚡ Streaming Responses — Replies stream in real-time token-by-token instead of waiting for a full response
  • 💡 Idea Generation — Suggests 2-3 original content angles per niche, not generic filler
  • 📱 Platform-Native Content — Generates posts tailored to Instagram, X/Twitter, LinkedIn, and TikTok/Reels — each with correct tone, length, and format
  • 🛠️ Step-by-Step Execution Guide — Recommends specific free/accessible tools (CapCut, Canva, InVideo, ElevenLabs, etc.) and walks you through the creation process in plain language
  • 🗣️ Friendly, Honest Personality — Talks like an experienced creator, not a corporate marketing bot; flags when a trend doesn't actually fit your niche instead of forcing it

🚀 Tech Stack

Component Tool
LLM Inference Groq API — openai/gpt-oss-120b
Language Python 3.9+
Env Management python-dotenv

📦 Installation

git clone https://github.com/your-username/content-advisor.git
cd content-advisor
pip install -r requirements.txt

requirements.txt

groq
python-dotenv

🔑 Setup

  1. Get a free Groq API key from console.groq.com
  2. Create a .env file in the project root:
GROQ_API_KEY=your_groq_api_key_here
  1. Never hardcode your API key directly in the script or commit it to GitHub. Load it from .env instead — make sure .env is listed in your .gitignore.

.gitignore

.env
__pycache__/

▶️ Usage

Run the agent from your terminal:

python content_advisor.py

You'll see:

CONTENT ADVISOR
Your personal Social media assistant
Type 'exit' to quit.

You: I need an Instagram post idea for my gaming channel

Content Advisor will respond with content ideas, a ready-to-post caption, and a step-by-step guide on how to actually create it — streamed live in your terminal.

Type exit or quit any time to end the session.

Example interaction:

You: I need an Instagram Reel idea for my gaming channel

content advisor: 
💡 Content Ideas:
1. "Ranking my worst in-game decisions" — why this works: self-deprecating gaming content drives high comments
2. "Reacting to my first ever gameplay clip" — why this works: nostalgia format is trending right now
3. "3 settings every new player gets wrong" — why this works: tips content has strong save/share rate

✅ Recommended: Option 1 — highest comment potential for a gaming audience

📱 Generated Post — Instagram:
[Ready-to-post caption here]

🛠️ How to Make This (Step-by-Step):
1. Record your reaction — using your phone camera — keep it under 60 seconds
2. Edit and add captions — using CapCut (free) — trim dead space, add auto-captions
3. Export and post — with the generated caption above

💡 Tip: Post during peak gaming hours (8-11 PM) for better reach.

🧩 How the Agent Works

The full personality and behavior of Content Advisor is defined in the SYSTEM_PROMPT inside content_advisor.py. It follows a strict 4-step workflow on every request:

  1. Ideate — generates 2-3 original content angles with reasoning
  2. Select — picks the strongest angle if the user hasn't chosen one
  3. Generate — writes a ready-to-post piece of content matching the platform's tone and format
  4. Guide — gives a friendly, numbered walkthrough of exactly how to produce and publish it, naming real tools

Platform formatting rules (Instagram, X/Twitter, LinkedIn, TikTok/Reels) and hard rules (no filler, no forced trends, no paid-only tools without free alternatives) are baked into the prompt to keep output consistent and useful.


🗺️ Roadmap

  • Load trending topics automatically (Google Trends / Reddit) instead of manual input
  • Save conversation history to file between sessions
  • Streamlit web UI for live demos
  • Support for YouTube Shorts and Pinterest

⚠️ Security Note

This project uses an API key to access Groq's models. Always store it in a .env file (never in source code), and add .env to .gitignore before pushing to GitHub. If a key is ever accidentally exposed or committed, revoke it immediately from the Groq console and generate a new one.


📄 License

MIT License — free to use and modify.


🙋 About

Built as a personal project exploring agentic AI design with Groq's fast inference — combining conversational memory with LLM reasoning to go beyond simple caption generation into full content strategy and execution guidance.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages