arxiv_audio_summary/README.md

116 lines
2.9 KiB
Markdown
Raw Normal View History

2025-03-02 04:02:26 +00:00
# vibe: Your Personal AI Research Summarizer 🎧
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
**vibe** is a smart assistant that fetches the latest Computer Science research articles from arXiv, identifies the most relevant ones based on your interests, summarizes them into engaging narratives, and even reads them aloud by generating an MP3 audio summary. Perfect for staying informed effortlessly!
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
---
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
## 🎯 What Can vibe Do for You?
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
- Automatically fetch the newest CS research from arXiv.
- Filter and rank articles tailored to your specific interests.
- Summarize articles into a smooth, narrative-friendly format.
- Generate an MP3 audio summary to listen on-the-go.
- Provide real-time progress updates while generating your summaries.
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
---
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
## 🚀 Quick Start Guide
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
### ✅ Step 1: Installation
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
Make sure you have Python (3.x) installed, then run:
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
```bash
pip install -r requirements.txt
```
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
### ✅ Step 2: Clone vibe to Your Machine
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
```bash
git clone <repository_url>
cd vibe
```
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
### 🛠 Running vibe
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
You can use vibe in two ways: via a command-line interface (CLI) or through a friendly web interface with real-time updates.
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
#### 1⃣ CLI Mode
To quickly generate an audio summary directly from your terminal:
```bash
python vibe/main.py --generate --prompt "Your interests here" --max-articles 5 --output summary.mp3
```
Your audio summary will be saved as `summary.mp3`. Just play and enjoy!
#### 2⃣ Server Mode (Recommended 🎉)
Weve built a simple, intuitive web landing page that lets you interact easily with vibe:
First, launch the Flask server by running:
```bash
2025-03-02 03:22:35 +00:00
python vibe/main.py --serve
2025-03-02 04:02:26 +00:00
```
Then open your web browser and go to:
```
http://127.0.0.1:5000
```
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
#### ✨ How It Works:
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
- Enter your interests directly on the landing page.
- Click “Submit” and relax while vibe fetches and summarizes the best articles for you.
- Watch live status updates appear on-screen, letting you know exactly whats happening behind the scenes.
- Once complete, an audio summary (`summary.mp3`) will automatically download. Its that easy!
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
---
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
## 🧪 Running Tests
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
Ensure vibe stays reliable with the built-in test suite. Just run:
```bash
2025-03-02 03:22:35 +00:00
make test
2025-03-02 04:02:26 +00:00
```
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
Or manually:
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
```bash
2025-03-02 03:22:35 +00:00
python -m unittest discover -s tests
2025-03-02 04:02:26 +00:00
```
---
## ⚙️ Makefile Commands
Weve made common tasks simpler:
- `make test` Runs unit tests.
- `make run` Runs vibe in CLI mode (you can customize this command inside the Makefile).
- `make serve` Starts the Flask server with the web interface.
- `make clean` Cleans temporary files (cache, temporary directories).
---
## 🌎 Environment Variables
Customize vibe with these optional environment variables:
- `ARXIV_URL` URL for fetching articles from arXiv.
- `LLM_URL` URL of your preferred language model endpoint.
- `MODEL_NAME` Name of the language model to use.
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
---
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
## 📜 License
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
vibe is open source under the MIT License. Use it, modify it, enjoy it!
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
---
2025-02-24 10:06:44 +00:00
2025-03-02 04:02:26 +00:00
✨ Enjoy exploring the latest research effortlessly with vibe! ✨