GitHub·· 8 天前AI 评分22
Tarunjit45/local-researcher:语音合成终端 AI 助手
Tarunjit45/local-researcher
AI 导读
Tarunjit45/local-researcher 是一个基于终端的离线 AI 研究工具,通过 Ollama 调用本地小语言模型生成结构化解释,并用 pyttsx3 离线 TTS 引擎朗读研究摘要。它支持可调语速与音量、彩色终端界面和 Markdown 渲染,零 API 成本,面向低配笔记本与边缘设备,采用 MIT 许可证开源。
正文
🎙️ Local Researcher — Voice-Synthesized Terminal AI Assistant
A lightweight, terminal-based AI research tool built for low-end laptops and offline environments. It uses local Small Language Models (SLMs) via Ollama to synthesize structured explanations and speaks the briefing aloud using an offline Text-to-Speech (TTS) engine.
🌟 Key Features
- Offline Text-to-Speech (TTS): Uses
pyttsx3to read generated research summaries aloud at customizable speeds and volumes without internet connection. - Zero API Costs: Powered by local Ollama models—completely private, offline, and free forever.
- Rich Terminal Interface: Renders colorized prompts, loading status indicators, and structured Markdown in your console.
- Low-Resource Footprint: Engineered to run smoothly on budget laptops and edge devices.
📁 Repository Structure
local-researcher/
├── research.py # Main terminal interface, Ollama query & TTS speaker
├── requirements.txt # Dependencies (ollama, rich, pyttsx3)
├── LICENSE # MIT License
└── README.md # Documentation
🚀 Quick Start
1. Prerequisites
- Python 3.10+
- Ollama installed and running
- A local SLM downloaded (e.g.,
ollama pull llama3.2orollama pull phi3:mini)
2. Installation & Run
git clone https://github.com/Tarunjit45/local-researcher.git
cd local-researcher
pip install -r requirements.txt
python research.pyType any topic to receive a real-time console breakdown and audio narration!
📄 License
This project is open-source under the MIT License.
来源:GitHub · github.com