Nightloom: A Dream-Logging Application that Visualizes Your Dreams from Fragments
说明与用途
Nightloom 能将零散的梦境片段转化为连贯的故事和水彩画,完全在本地运行,即使在仅有4–6 GB RAM的设备上也能顺畅使用。
问题
Users forget vivid dream details quickly and lack a local tool to transform fragmented memories into coherent stories and images.
结果
Nightloom enables users to transform fragmented dream memories into coherent stories and watercolor images locally, even on machines with only 4–6 GB free RAM.
工作流
- 1. Install Ollama and pull Gemma 4 (or a smaller tag).
- 2. Start the Python server with
python3 dream.py(optionally setDREAM_MODEL=gemma4:e2b). - 3. Open http://127.0.0.1:8765 in a browser.
- 4. Enter dream fragments in any order.
- 5. The server sends fragments to Gemma 4 via Ollama to generate a story.
- 6. The server unloads Gemma from RAM and runs stable‑diffusion.cpp to paint a watercolor scene.
- 7. The story and image are displayed and saved to dreams.jsonl.
证据
Nightloom turns those fading scraps into something lasting.
Everything runs 100% locally on your computer, so your beloved dreams stay with you.
Because memory efficiency was a core design constraint, it works seamlessly even on modest machines with just 4–6 GB of free RAM.
The page talks to a small Python server on 127.0.0.1, which talks to Ollama on localhost and, for images, to a local stable-diffusion.cpp program.
To run smoothly on devices with only 4–6 GB of free RAM, dream.py automatically unloads Gemma from RAM before running stable-diffusion.cpp, freeing up system resources for image rendering.
- 记录日期: 2026-10-25T22:11:30.452Z