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

推荐订阅源

D
Docker
Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
腾讯CDC
B
Blog RSS Feed
H
Help Net Security
J
Java Code Geeks
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
博客园_首页
Last Week in AI
Last Week in AI
博客园 - 【当耐特】
博客园 - Franky
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 叶小钗
Martin Fowler
Martin Fowler

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal).
GitHub - skorotkiewicz/grammatizator: A command-line stor...
modinfo · 2026-06-11 · via 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