Local prompt saving GUI

Local prompt saving GUI

Asks the AI to write a Linux GUI that sends a named prompt to the OpenAI API, saves the answer as a markdown file in a chosen folder and clears its fields.

Generate a GUI that can run on OpenSUSE Linux and which will has the following functions:

Note: configurations would need to be able to persist through system reboot (ie, they should be stored in memory)

  • The user can specify a folder where they would like to save outputs

The GUI has two text input fields:

  • Prompt name
  • Prompt text

The user can enter both and hit "send prompt"

When the button is pressed:

  • The prompt is sent to OpenAI API for completion
  • The completion is written to the output folder the user specified as a markdown file. Its filename is a truncated version of the prompt name

For example:

The user enters:

  • Prompt name: Capital of France
  • Prompt text: What's the capital of France?

The output gets saved to the output folder as capital-of-france.md

After the prompt is sent the fields clear so that the user can use the interface again

© Daniel Rosehill · CC BY 4.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…