Skip to content

pr1ncegupta/BlogCrafter-by-LyzrAI

Repository files navigation

BlogCrafter: AI-Powered Content Creation Platform

What is BlogCrafter?

BlogCrafter is a comprehensive AI-powered content creation platform that streamlines the entire blog writing process from ideation to optimization. It leverages four specialized AI agents to take your content from a simple keyword to a fully optimized, SEO-ready blog post.

With BlogCrafter, you can:

  • Generate trending blog ideas based on keywords
  • Create fully-written blog posts with proper structure and SEO optimization
  • Audit content for SEO, readability, and quality
  • Automatically optimize content based on audit recommendations

Whether you're a content marketer, blogger, SEO specialist, or business owner looking to improve your content strategy, BlogCrafter provides the tools you need to create high-quality, SEO-optimized content efficiently.

Why BlogCrafter?

Content creation is time-consuming and requires expertise in multiple areas:

  • Keyword research and topic selection
  • SEO best practices and optimization
  • Writing engaging, well-structured content
  • Quality assurance and content auditing

BlogCrafter streamlines this entire process by:

  • Saving Time: Reduce content creation time from days to minutes
  • Improving Quality: Ensure content meets SEO best practices and quality standards
  • Increasing Flexibility: Use the complete workflow or just the components you need
  • Enhancing Consistency: Maintain consistent quality across all your content
  • Reducing Costs: Eliminate the need for multiple specialized tools or freelancers

Key Features

1. Smart Content Planning

  • Generate trending, low-competition blog ideas based on your keywords
  • Get SEO-optimized titles and meta descriptions
  • Receive primary and secondary keyword recommendations
  • Understand search intent for your topic

2. Professional Content Writing

  • Create high-quality blog posts (1000+ words)
  • Proper content structure with H1, H2, and H3 headers
  • Optimal keyword placement and distribution
  • Engaging and informative content tailored to your audience

3. Comprehensive Content Auditing

  • Analyze heading structure and keyword usage
  • Evaluate readability scores
  • Check meta tags and internal/external linking
  • Receive a quality score and detailed recommendations

4. Intelligent Content Optimization

  • Apply keyword adjustments based on audit findings
  • Enhance headings and meta descriptions
  • Improve sentence clarity and flow
  • Structure internal and external links
  • Integrate schema suggestions

5. Flexible Workflows

  • Full End-to-End: Complete content creation from keyword to optimized post
  • Planning Only: Generate blog ideas and outlines
  • Writing Only: Create content from your existing plan
  • Auditing Only: Evaluate existing content
  • Optimization Only: Enhance content based on audit results
  • Custom Combinations: Mix and match workflows to suit your needs

Use Cases

Content Marketing Teams

Create consistent, high-quality blog content at scale while maintaining SEO best practices across all articles.

Freelance Writers

Streamline your content creation process, offer SEO-optimized articles, and increase your output without sacrificing quality.

Small Business Owners

Develop professional blog content that drives traffic to your website without the steep learning curve of SEO and content marketing.

Digital Agencies

Produce high-quality content for clients more efficiently, with detailed audit reports to demonstrate value.

SEO Specialists

Generate content optimized for search engines from the ground up, with built-in SEO best practices at every stage.

Content Creators

Transform your ideas into well-structured, optimized blog posts even without advanced writing or SEO skills.

Getting Started

How to Run Your Own Instance

  1. Fork the GitHub Repository

    git clone https://github.com/yourusername/blog-crafter.git
    cd blog-crafter
    
  2. Install Dependencies

    npm install
    
  3. Get API Credentials from Lyzr AI

    • Visit studio.lyzr.ai and create an account
    • Generate an API key from your account settings
    • Create specialized agents for planning, writing, auditing, and optimization (detailed instructions below)
  4. Configure Environment Variables

    • Create a .env file in the root directory with:
    VITE_AGENT_API_BASE_URL=https://agent-prod.studio.lyzr.ai/v3/inference/chat/
    VITE_AGENT_API_KEY=your_api_key_here
    VITE_AGENT_ID_PLANNER=your_planner_agent_id
    VITE_AGENT_ID_WRITER=your_writer_agent_id
    VITE_AGENT_ID_AUDITOR=your_auditor_agent_id
    VITE_AGENT_ID_OPTIMIZER=your_optimizer_agent_id
    
  5. Start the Development Server

    npm run dev
    
  6. Build for Production (when ready)

    npm run build
    

Setting Up Your Lyzr AI Agents

For each agent, you'll need to configure them in the Lyzr AI Studio:

  1. Planner Agent

    • Create a new agent in the Lyzr AI Studio
    • Set the provider to Perplexity (perplexity/sonar model)
    • Configure as an expert SEO STRATEGIST that identifies and generates trending blog topics
    • Copy the agent ID to your .env file
  2. Writer Agent

    • Create a new agent in the Lyzr AI Studio
    • Set the provider to Google (gemini/gemini-2.0-flash model)
    • Configure as an expert BLOG WRITER that crafts SEO-optimized content
    • Copy the agent ID to your .env file
  3. Auditor Agent

    • Create a new agent in the Lyzr AI Studio
    • Set the provider to OpenAI (gpt-4o model)
    • Configure as an expert SEO QUALITY CHECKER that evaluates blog drafts
    • Copy the agent ID to your .env file
  4. Optimizer Agent

    • Create a new agent in the Lyzr AI Studio
    • Set the provider to OpenAI (gpt-4o model)
    • Configure as an expert SEO BLOG OPTIMIZER that enhances content
    • Copy the agent ID to your .env file

Usage Examples

Full End-to-End Content Creation

  1. Enter your main keyword (e.g., "content marketing")
  2. Review generated blog ideas and select one
  3. System writes a complete blog post based on the selected idea
  4. Content is automatically audited for SEO and quality
  5. The post is optimized based on audit recommendations
  6. Download your fully optimized, SEO-ready blog post

Idea Generation Only

  1. Enter your main keyword
  2. Receive multiple blog post ideas with:
    • Engaging titles
    • Primary and secondary keywords
    • Search intent analysis
    • Meta title and description suggestions
  3. Export the ideas for your own content creation

Content Optimization

  1. Paste your existing blog post
  2. Run the audit to identify improvement areas
  3. Trigger optimization to enhance your content
  4. Download the optimized version

Technical Details

Tech Stack

  • React + TypeScript
  • Vite for build tooling
  • Tailwind CSS for styling
  • Lyzr AI API for AI agents

Project Structure

src/
  App.tsx
  index.css
  main.tsx
  components/
    AgentWorkspace.tsx
    cards/
      PlannerCard.tsx
      WriterCard.tsx
      AuditorCard.tsx
      OptimizerCard.tsx
    modals/
      NextStepModal.tsx
    ui/
      Button.tsx
      Card.tsx
  contexts/
    ThemeContext.tsx
    WorkflowContext.tsx
  types/
    index.ts
  utils/
    agents.ts
    downloadHelpers.ts

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Built with Lyzr AI Studio
  • Uses models from OpenAI, Google, and Perplexity

Roadmap

  • Additional language model providers
  • Content templates library
  • Team collaboration features
  • Content calendar integration
  • Analytics and performance tracking

Contact

For questions or suggestions, please open an issue on GitHub or contact the project maintainers.


BlogCrafter: Transform keywords into SEO-optimized blog posts in minutes.

About

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages