chore: vollständiger Workspace-Snapshot 03.07.2026
- publish_gatekeeper.py (neues Gatekeeper-System) - 4 Premium-Artikel: Veggie Match, Berlin 1960, Wild Tiled West, Scream Park - Alle kumulierten Artikel, Scripts, Medien und Caches
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
import os
|
||||
|
||||
WORKSPACE = '/home/hermes/workspace'
|
||||
|
||||
text_prompts = {
|
||||
'artikel_cmon_status_update_2026.html': """A cinematic, photorealistic editorial image for a board game industry article about CMON's financial struggles and restructuring.
|
||||
|
||||
A dimly lit board game publisher's office after hours. A large financial report lies open on a glass desk, red ink visible on the bottom line. In the background, a half-empty shelf of miniature-heavy board games (zombies, monsters) sits in shadow. A single desk lamp casts a harsh pool of light on a stack of unpaid invoices. Through the window, a grey, overcast city skyline at dusk.
|
||||
|
||||
The lighting is stark and dramatic: a single overhead fluorescent flickers weakly, while the desk lamp creates a noir-style island of light in the darkness. Long, deep shadows stretch across the room.
|
||||
|
||||
Shot with a 24mm wide-angle lens at f/4.0, slightly low angle capturing the emptiness of the office. The mood is tense, uncertain, and quietly desperate.
|
||||
|
||||
Style: photorealistic editorial photography, corporate noir aesthetic, desaturated color palette with a single warm light source, environmental storytelling without people, shot on medium-format digital camera.
|
||||
|
||||
Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""",
|
||||
'artikel_renegade_essence20_ende_2026.html': """A cinematic, photorealistic editorial image for a board game industry article about a roleplaying game system being discontinued.
|
||||
|
||||
A quiet game design studio at golden hour. On a central worktable, an old Essence20 rulebook lies open, its pages marked with sticky notes and red corrections. Next to it, a sleek new D&D 5.5e Player's Handbook sits closed and pristine. A pair of reading glasses rests between them. In the background, concept art of Transformers and Power Rangers hangs on a cork board, some pieces already being taken down.
|
||||
|
||||
The lighting is melancholic golden hour sunlight streaming through a large window, casting long shadows and warm amber tones across the scene. Dust motes float in the light beam.
|
||||
|
||||
Shot with a 50mm lens at f/2.0, eye-level tabletop perspective. The mood is bittersweet transition — the end of one era, the beginning of another.
|
||||
|
||||
Style: photorealistic editorial photography, warm nostalgic tones, shallow depth of field, documentary-style environmental storytelling, shot on medium-format digital camera.
|
||||
|
||||
Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""",
|
||||
'artikel_awaken_realms_thundergryph_2026.html': """A cinematic, photorealistic editorial image for a board game industry article about a major publisher acquisition.
|
||||
|
||||
Two wooden artist's easels stand side by side in a sun-drenched studio. On the left, a dark, moody oil painting of a spaceship interior — representative of Awaken Realms' style. On the right, a bright, detailed watercolor of a botanical expedition — Thundergryph's aesthetic. The easels are being slowly pushed together. A single contract document with two signatures lies on a workbench below. Paintbrushes, miniatures, and concept sketches fill the space.
|
||||
|
||||
The lighting is warm afternoon sun through frosted glass studio windows, creating soft, even illumination with gentle highlights on the artwork.
|
||||
|
||||
Shot with a 35mm lens at f/5.6, straight-on perspective capturing both easels symmetrically. The mood is optimistic, creative, forward-looking.
|
||||
|
||||
Style: photorealistic editorial photography, artist's studio aesthetic, balanced composition, warm natural light, polished magazine feature quality, shot on medium-format digital camera.
|
||||
|
||||
Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""",
|
||||
'artikel_asmodee_moodbox_2026.html': """A cinematic, photorealistic editorial image for a board game industry article about a new party game product line.
|
||||
|
||||
A product design studio table viewed from above. Four sleek, colorful party game prototypes are arranged in a grid — each with a distinct, vibrant color scheme. Design sketches, Pantone swatches, and a mood board with "MOODBOX" written in elegant script surround them. A woman's hand (visible only from the wrist down) places a final component onto one of the prototypes. Natural light floods the scene from a large skylight.
|
||||
|
||||
The lighting is bright, clean, and professional: diffused daylight from above, with subtle fill from a softbox creating gentle, shadowless illumination.
|
||||
|
||||
Shot with a 50mm macro lens at f/8.0, flat-lay top-down perspective. The mood is creative, energetic, professionally feminine — a fresh start in the party game space.
|
||||
|
||||
Style: photorealistic editorial photography, clean product-design aesthetic, vibrant but natural colors, flat-lay composition, sharp details on the prototypes, shot on medium-format digital camera.
|
||||
|
||||
Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""",
|
||||
'artikel_medium_hand_of_fate_2026.html': """A cinematic, photorealistic editorial image for a board game industry article about a card game's new expansion that unifies all previous sets.
|
||||
|
||||
Three tarot-sized card decks are arranged in a converging arc on a dark marble surface. The cards are partially fanned out, revealing glimpses of mystical Art-Deco artwork. In the center where the arcs meet, a single golden thread physically ties the three decks together, glinting in the light. Wisps of theatrical fog curl around the base of the cards.
|
||||
|
||||
The lighting is dramatic and intimate: a single pin-spot from directly above creates a perfect circle of warm golden light on the three decks, while the surrounding marble fades into deep shadow.
|
||||
|
||||
Shot with a 85mm macro lens at f/2.8, top-down perspective with extremely shallow depth of field focused on the golden thread. The mood is mystical, elegant, and unifying.
|
||||
|
||||
Style: photorealistic editorial photography, fine-art still-life aesthetic, jewel tones against black marble, theatrical lighting, sharp metallic highlights, shot on medium-format digital camera.
|
||||
|
||||
Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""",
|
||||
'artikel_bgg_best_of_june_2026.html': """A cinematic, photorealistic editorial image for a board game industry article about the best board games and community highlights of June 2026.
|
||||
|
||||
A cozy Sunday morning reading nook. On a weathered leather armchair, a tablet displays the BoardGameGeek homepage with its iconic orange-brown color scheme. A steaming cup of coffee rests on the wide armrest. On the floor below, a stack of three board games from different genres — a strategy game, a party game, and a solo game — represents the diversity of June's hotness. Gentle morning rain streaks down the window behind the chair.
|
||||
|
||||
The lighting is soft, diffused daylight filtering through rain-streaked glass, creating a warm, intimate atmosphere with subtle reflections on the tablet screen.
|
||||
|
||||
Shot with a 35mm lens at f/3.5, slightly elevated perspective capturing the entire reading nook. The mood is relaxed, reflective, and community-focused — the joy of discovering new games.
|
||||
|
||||
Style: photorealistic interior lifestyle photography, cozy editorial aesthetic, warm muted tones, hygge-inspired, natural textures of leather and wool, shot on medium-format digital camera.
|
||||
|
||||
Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI."""
|
||||
}
|
||||
|
||||
text_block_tpl = '''
|
||||
<div class="bsn-nanobanana-prompt bsn-text-prompt">
|
||||
<details>
|
||||
<summary>📝 Textbasierter Nano-Banana-Prompt (ohne Spielcover)</summary>
|
||||
<pre class="nb-prompt"><code>{prompt}</code></pre>
|
||||
</details>
|
||||
</div>
|
||||
'''
|
||||
|
||||
for filename, prompt in text_prompts.items():
|
||||
filepath = os.path.join(WORKSPACE, filename)
|
||||
with open(filepath, 'r', encoding='utf-8') as f:
|
||||
content = f.read()
|
||||
prompt_html = text_block_tpl.format(prompt=prompt)
|
||||
content = content.replace('</article>', prompt_html + '\n</article>', 1)
|
||||
with open(filepath, 'w', encoding='utf-8') as f:
|
||||
f.write(content)
|
||||
print(f'OK {filename}')
|
||||
Reference in New Issue
Block a user