Skip to content

gordonbrander/prompt_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prompt_generator

Procedurally generated Oblique Strategies for writing your own Oblique Strategies.

See https://subconscious.substack.com/p/prompt-generator.

How to use it

Close your eyes.
Take a deep breath.
Ready?

Run the script.

Now, receive the prompt and ask yourself... in what ways might I expand it? Try rewriting it into a tweet-sized provocation.

  • What does it remind you of? Try mixing that into the prompt.
  • What examples, anecdotes can you include?
  • Can you expand on the prompt with a "why" explanation?

Installing

Requirements: Python 3.7, Pip, .

To clone the repository and install the dependencies:

git clone https://github.com/gordonbrander/prompt_generator.git
cd prompt_generator
pip3 install -r requirements.txt

Running

From the prompt_generator directory:

./runtracery.py grammars/prompt.json

Or alternatively:

python3 ./runtracery.py ./grammars/prompt.json

This will print a prompt on the console, such as...

A either/or prompt to make an analogy to another field (religion, space, music)

About

Procedurally generated Oblique Strategies for writing your own Oblique Strategies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages