https://github.com/developersdigest/camel-hn
https://github.com/developersdigest/camel-hn
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/developersdigest/camel-hn
- Owner: developersdigest
- Created: 2024-11-30T04:18:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-30T04:46:09.000Z (over 1 year ago)
- Last Synced: 2026-01-24T03:30:19.608Z (3 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README.md
# Hacker News Opinion Piece Generator
This project is a Python-based application that scrapes the top stories from Hacker News, filters for AI/LLM/ML related stories, and generates opinion pieces in markdown format. It utilizes a workforce of agents to perform scraping, writing, and summarizing tasks.
## Requirements
- Python 3.10
- Virtual Environment (venv)
## Setup Instructions
1. **Clone the Repository:**
```bash
git clone https://github.com/developersdigest/camel-hn.git
cd camel-hn
```
2. **Create a Virtual Environment:**
```bash
python3.10 -m venv venv
```
3. **Activate the Virtual Environment:**
- On Windows:
```bash
venv\Scripts\activate
```
- On macOS/Linux:
```bash
source venv/bin/activate
```
4. **Install Dependencies:**
```bash
pip install -r requirements.txt
```
5. **Set Up Environment Variables:**
Create a `.env` file in the root directory and add your OpenAI API key and any other necessary environment variables:
```plaintext
OPENAI_API_KEY=your_openai_api_key
```
## Usage
To run the application, execute the following command: