ContentCrafter is an AI-driven application designed to help you generate high-quality, SEO-friendly blog posts, headline ideas, and LinkedIn posts with ease. With Google's Gemini, ContentCrafter can assist writers, marketers, and content creators in crafting engaging and well-structured content.
- Generate Blog Posts: Create comprehensive, detailed, and non-AI generated looking blog posts based on the provided title and keywords.
- Headline Ideas: Get 5 SEO-friendly headline variations for your blog article.
- LinkedIn Posts: Generate 2 LinkedIn posts with 3 hashtags each to share your blog after publishing.
To get started with ContentCrafter, follow these steps:
-
Clone the Repository:
git clone https://github.com/shivamchhuneja/contentcrafter.git cd contentcrafter -
Create and Activate a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Dependencies:
pip install -r requirements.txt
-
Set Up Environment Variables: Create a
.envfile in the root directory of the project and add your API keys:GOOGLE_GEMINI_API_KEY=your_google_gemini_api_keyAlternatively if you're running this locally, you can add your keys manually to apikey.py file.(avoid pushing to GitHub with the keys still in place)
-
Run the Streamlit Application:
streamlit run app.py
-
Input Content Details:
- Content Title: Enter the title of your blog post.
- Keywords: Provide keywords, separated by commas.
- Number of Words: Select the desired length of the blog post using the slider.
-
Generate Content: Click the "Generate Content" button to create a blog post, headline ideas, and LinkedIn posts.
After running the application and inputting your content details, you will receive the following outputs:
-
Blog Post: A comprehensive, detailed, and non-AI generated looking blog post based on the provided title and keywords.
-
Headline Ideas: 5 SEO-friendly headline variations for the blog article.
-
LinkedIn Posts: 2 LinkedIn posts with 3 hashtags each to share the blog after publishing.
