正在自动登录…
anonnerdfrenzy/ survival-llm
这是一个完全离线运行的AI助手,基于内置的生存知识库回答医疗、应急等实用问题,并展示答案来源。适合需要无网络环境下获取可靠生存指导的用户。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/10/28 22:36:40 · 查看原文
- 累计 Stars
- 690
- 当前热度
- 1~7 天 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/10/28 22:36:40
- 适用场景
适用于停电、急救、净水等紧急情况下的离线信息查询,也支持添加个人文件进行搜索。
查看 README 依据
# Survival LLM A free AI assistant and survival library that runs entirely on your own computer and works with no internet. Ask it how to keep food safe in a blackout, treat a burn or purify water: it searches an offline library of medical, emergency, how-to and encyclopedia articles, answers from what it finds, and shows you the exact passage each answer came from. - **Offline and private.** The AI model and the library live on your computer. Your questions never leave it, and once set up it works with the internet off.
- **Add your own files.** Your files, at the top, takes PDFs, Word documents, EPUB ebooks, web pages and text files (drop them on the window or choose them), so the AI can search your generator's manual, your medicines list or your family's emergency plan along with the library. They stay on your computer, in the `Survival LLM Files` folder in your home folder; files you put in that folder, or change there, are picked up on their own. It can't read scans or photos of pages yet.
- 使用方式
安装后通过图形界面使用,可在聊天窗口提问,也可从源码运行(支持浏览器或终端)。
查看 README 依据
- `library/myfiles.py` reads the person's own files into a small index of their own (kept with the app's settings) and searches it together with the library. - Everything except Ollama, the app window (pywebview), PDF reading (pypdf) and checking web certificates with the system's own store (truststore) is the Python standard library. ## Run from source ```bash python3 app/server.py # the app in its own window (needs `pip install pywebview pypdf truststore`; else it uses your browser) python3 app/server.py --browser # in your web browser instead
python3 chat.py "How long is fridge food safe in a blackout?" # terminal; --model NAME picks a model ``` The library is looked up at `$SURVIVAL_LLM_LIBRARY`, then `~/Survival LLM Library`, then `library.noindex/` next to the code. Without a built-in engine, the app uses an Ollama you have installed (`ollama serve`). `python3 tests/run_all.py` checks memory and the handling of what models write (forget requests, notes about different people, Sources lines), with a stand-in for the model: no Ollama or library needed. Run it after changing `memory.py` or
- 部署要求
支持 macOS 14 或 Windows 10/11 64位,需约8GB内存以上,磁盘空间根据模型和库大小而定。
查看 README 依据
your computer and internet speed (the biggest AI model is 80 GB); you only click for about 5 minutes. **Mac** (Apple Silicon, macOS 14 Sonoma or newer) 1. Download `Survival-LLM-mac.zip` and double-click it to unzip. Move **Survival LLM** to Applications if you like. 2. Double-click **Survival LLM**. The first time, macOS says it can't verify the app, because it isn't sold through Apple. Click **Done**, open **System Settings > Privacy & Security**, scroll down to "Survival LLM was blocked", click **Open Anyway**, and confirm with your password. You only do this once.
**Windows** (10 or 11, 64-bit) 1. Download `Survival-LLM-windows.zip`, right-click it and choose **Extract All**. (Running it from inside the zip doesn't work.) 2. Open the extracted **Survival LLM** folder and double-click **Survival LLM.bat**. If Windows says it protected your PC, click **More info**, then **Run anyway**. **Then** the app opens in its own window and walks you through setup: 1. **AI engine:** built into the Mac app. On Windows, one click downloads it (Ollama, 1.6 GB). 2. **AI model:** it suggests the best one for your computer's memory (below) and downloads it.
`~/Survival LLM Files`; keep that folder if you want them. The app's own settings are in `~/Library/Application Support/Survival LLM` on a Mac, and in `%APPDATA%\Survival LLM` plus the AI engine in `%LOCALAPPDATA%\Survival LLM` on Windows. ## Which model your computer gets The app checks your memory and suggests a model. More memory, smarter model. | Your computer | Model | Download | |---|---|---| | Mac with 128 GB or more | NVIDIA Nemotron 3.5 Super (`nemotron-3.5-super:120b-a12b-nvfp4`) | 80 GB | | Mac with 32-96 GB | Qwen3.8 27B (`qwen3.8:27b-mlx`) | 18 GB |
- 已知限制
AI模型可能出错,答案需核对来源;部分功能如扫描件识别尚不支持;某些模型不推荐用于8GB内存设备。
查看 README 依据
- **Add your own files.** Your files, at the top, takes PDFs, Word documents, EPUB ebooks, web pages and text files (drop them on the window or choose them), so the AI can search your generator's manual, your medicines list or your family's emergency plan along with the library. They stay on your computer, in the `Survival LLM Files` folder in your home folder; files you put in that folder, or change there, are picked up on their own. It can't read scans or photos of pages yet.
| Windows PC with 32 GB or more | NVIDIA Nemotron 3.5 Lightning (`nemotron-3.5-lightning:30b-a3b`) | 25 GB | | Mac or PC with 16-31 GB | IBM Granite 4.2 8B (`granite4.2:8b`) | 6 GB | Nemotron Super needs 128 GB because macOS lets the graphics side use only about three quarters of memory. Gemma 4 E4B (`gemma4`, 10 GB) is offered as a faster option for 16 GB computers. Computers with 8 GB can still search the library; no model we tested was both small enough and safe enough to recommend for them. ## How the models did
Code: MIT ([LICENSE](LICENSE)). Library content keeps the license of its source ([SOURCES.md](SOURCES.md)). AI models make mistakes. Every answer shows its sources so you can check.
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/10/25 03:12:41
- 首次达标收录
- 2026/10/28 22:31:48
- 统计更新时间
- 2026/10/29 19:16:12
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.2 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/10/28 22:31:48 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/10/29 05:04:24
- 许可证标识
- NOASSERTION
- Fork 数
- 56
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目