3 ms·
I have a tampermonkey script that downloads any files that the prompt returns... a python script locally to watch for file changes and extract the contents to t
by rekttrader 3y ago
I have a tampermonkey script that downloads any files that the prompt returns... a python script locally to watch for file changes and extract the contents to the projects working directory and it can work both ways, if I edit my prompts.txt local file, it passes that data to openai’s currently opened chat and renames the file and creates a new empty prompt.txt
- elashri 3y agoSeems very interesting abd smart trick. Would you mind sharing the script with us?
- deathmonger5000 3y agoI made a CLI tool called Promptr that takes care of this for you if you're interested: https://github.com/ferrislucas/promptr https://github.com/ferrislucas/promptr You just prompt it directly or with a file, and it applies the changes to your file system. There's also a templating system that allows you to reference other files from your prompt file if you want to have a shared prompt file that contains project conventions etc.