The Last Programmer 👻 — A Haunted AI Coding Assistant Powered by Local LLMs
说明与用途
使用 Ollama 运行 Qwen2.5‑Coder 3B 的本地 AI 编程助手,支持离线学习和调试,无需云端 API。
问题
Developers need a privacy‑preserving, offline AI coding assistant that can explain concepts and debug code without relying on hosted APIs.
结果
The assistant offers three ghost personalities, programming explanations, debugging help, and a themed UI, all running locally with no internet after setup.
工作流
- Install Ollama from https://ollama.com
- Pull the Qwen2.5‑Coder 3B model with
ollama pull qwen2.5-coder:3b - Install Python dependencies via
pip install -r requirements.txt - Launch the Streamlit app with
streamlit run app.py
证据
The application sends prompts to a locally running AI model. A system prompt defines the ghost's personality while keeping its programming explanations useful.
🔒 Local AI inference using Ollama.
🌐 Offline support after initial setup and model download.
- 记录日期: 2026-11-01T19:14:03.842Z