Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContentWeaver AI 📰

ContentWeaver AI is an intelligent newsletter generator that creates personalized digests based on your interests. It uses AI to curate, summarize, and provide commentary on relevant articles from various sources.

Features

  • 🔍 Personalized content curation based on your keywords
  • 📝 AI-powered article summarization
  • 💭 Smart commentary generation with customizable tone
  • 🔄 Real-time RSS feed integration
  • 🎯 Semantic search using vector embeddings
  • 📱 Clean, user-friendly Streamlit interface

Prerequisites

  • Python 3.8 or higher
  • Hugging Face API token (for LLM access)

Installation

  1. Clone the repository:
git clone https://github.com/b-isry/ContentWeaverAI.git
cd ContentWeaverAI
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory and add your Hugging Face token:
HF_Token=your_huggingface_token

Usage

  1. Start the Streamlit app:
streamlit run app/main.py
  1. Open your browser and navigate to the provided local URL (typically http://localhost:8501)

  2. In the sidebar:

    • Enter your topics/keywords (comma-separated)
    • Select your preferred newsletter tone
    • Click "Craft" to generate your personalized newsletter

How It Works

  1. Content Collection: Fetches articles from configured RSS feeds
  2. Semantic Search: Uses sentence transformers to find relevant articles based on your keywords
  3. AI Processing:
    • Generates concise summaries of selected articles
    • Creates engaging commentary with your preferred tone
  4. Newsletter Generation: Compiles everything into a well-formatted markdown newsletter

Dependencies

  • Streamlit: Web interface
  • Transformers: LLM integration
  • Sentence-Transformers: Text embeddings
  • ChromaDB: Vector database
  • BeautifulSoup4: Web scraping
  • Feedparser: RSS feed parsing

Contributing

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

License

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

About

ContentWeaver AI is an AI-powered newsletter generator that curates, summarizes, and provides commentary on articles based on your interests. Using semantic search, LLMs, and a Streamlit interface, it creates personalized, well-formatted newsletters in real time from RSS feeds, enabling efficient and engaging content consumption.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages