惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
小众软件
小众软件
F
Fortinet All Blogs
博客园 - 叶小钗
博客园_首页
D
DataBreaches.Net
Apple Machine Learning Research
Apple Machine Learning Research
U
Unit 42
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
The Cloudflare Blog
A
About on SuperTechFans
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
M
MIT News - Artificial intelligence
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - skorotkiewicz/grammatizator: A command-line stor...
modinfo · 2026-06-11 · via Hacker News: Show HN

The Great Automatic Grammatizator

"It can produce any type of story I desire simply by pressing the required button." — Adolph Knipe, 1953

A command-line story machine inspired by Roald Dahl's 1953 short story. Works with any OpenAI-compatible API — local models, remote endpoints, whatever you're running.


Requirements

Python 3.8+. No other dependencies.


Quickstart

On first run it asks three questions:

Base URL  [http://192.168.0.124:8888/v1]:   ← your endpoint
API key   [not-needed]:                     ← or a real key if required
Model name: mistral                         ← whatever your server serves

Then press buttons. Pull the switch. Collect your story.


Configuration

You can skip the prompts entirely with environment variables:

export GRAMMATIZATOR_URL=http://192.168.0.124:8888/v1
export GRAMMATIZATOR_MODEL=mistral
export GRAMMATIZATOR_KEY=not-needed

python grammatizator.py

Or edit the three DEFAULT_* constants at the top of the file.

To re-enter connection details at any time:

python grammatizator.py --config

The Control Panel

Row Purpose Options
1 — Master Genre satirical, romantic, humorous, philosophical, erotic, historical, political, straight
2 — Basic Theme army life, pioneer days, civil war, wild west, seafaring, city crime, forbidden love…
3 — Style Voice classical, whimsical, racy, Hemingway, Faulkner, Joyce, feminine, pulp magazine
4 — Magazine Target publication Today's Woman, Reader's Digest, Saturday Evening Post, The New Yorker…
5 — Length Output size flash (~300w), short (~800w), standard (~1500w)
Pedal — Passion Emotional intensity 1 restrained → 5 volcanic

Note on the passion pedal: Mr Bohlen once pressed too hard. The result was outrageous. Use with care.


How It Works

Each story is generated by your model, guided by a prompt assembled from your button selections. The machine faithfully replicates Knipe's original design specifications, including his secret trick of inserting one long, obscure word per story so that "the reader thinks the man is very wise and clever."


The Story

Dahl wrote The Great Automatic Grammatizator in 1953 — seventy years before large language models existed. It ends with a writer, children starving in the next room, hand creeping toward the contract.

Give us strength, Oh Lord, to let our children starve.


A. Knipe / J. Bohlen Inc., Electrical Engineers