Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

N-CODE GhostLog AI: Turning Forgotten Logs into Halloween Stories with Gemma

说明与用途

N‑CODE GhostLog AI 通过 Ollama 本地使用 Gemma 3 1B 模型,根据用户提供的日志生成万圣节故事,并验证 JSON 结构和故事长度。

问题

Generate creative Halloween stories from fictional terminal logs without executing commands or diagnosing security incidents.

结果

The application passes 19 automated tests, generates stories with 149–155 words, and returns three clues, all validated against a JSON schema.

工作流

  • 1. User enters fictional terminal logs and selects a mood (unsettling, melancholic, playful).
  • 2. Browser sends data to /api/haunt endpoint.
  • 3. Server validates input and forwards request to Ollama’s /api/generate with a structured‑output prompt.
  • 4. Gemma returns JSON containing title, story, clues, and final line.
  • 5. Server validates JSON against a schema, checks story length (110–190 words), and retries once if needed.
  • 6. Browser renders the story, clues, and final line; user can download the result as Markdown.

证据

I built N-CODE GhostLog AI, a local Halloween storytelling application powered by Gemma 3 1B through Ollama.

来源

Users enter fictional terminal logs, choose an unsettling, melancholic, or playful mood, and decode a transmission. Gemma generates a title, a 110–190 word story, three clues, and a haunting final line.

来源

Verified results on October 28, 2026: 19 automated tests passed; actual API generation produced 149 story words and browser generation produced 155 words.

来源

The application uses Python's standard library for the local HTTP server and HTML, CSS, and JavaScript for the interface. It needs no pip or npm packages to run.

来源

  • 记录日期: 2026-11-01T20:58:56.810Z