I was going to write a post on using ChatGPT to create a content generator and formatting tool using the Bash scripting language. I got most of the way through the post, but my Open AI session seemed to jam on me, so I killed it, wiped the data. Fortunately I am now in the habit of recording my Queries & Results.
So, what to do?
Do something Bashy I think, to do with Automation … ‘cos I love Tooling.
Making things that do things, with ChatGPT <- That’s a T-shirt slogan right there.
Referring to the ChatGPT Magic article by Nate McCallister, let’s not make a list about Cats, let’s do something more practical: practical is useful, not just for me but for others also.
Query_01:
What are 10 good uses for Bash scripting to automating writing documents?
Result_01:
Decent list, about what I thought it might return, although the Social Media automation seems interesting.
Might as well pursue the Social Media automation and see where that goes.
Query_02:
Referring to the above result, how would I use a Bash Script to schedule and automate posting to Twitter?
Result_02:
Since I am a big fan of CLI tools & Twitter, let’s pursue that as a direction.
Query_03:
Referring to the above result, how would I use the ‘Twitter CLI’ tool on an Ubuntu system?
Result_03:
If I recall correctly, I applied for a Twitter Developer about 7 years ago, and was unsuccessful.
Let’s try to maximise the potential for success, this time.
Query_04:
Referring to the above result, what reason do I need to provide to receive a Twitter Developer account?
Result_04:
Let’s ask the AI for direct help with this task.
Query_05:
Show me how to write a brief description to support my Twitter Developer account.
Result_05:
Let’s push the AI, and see if it generates some novel content or just rephrases the previous result.
My bet? Rehash.
Query_06:
Referring to the result above, I am really motivated to quality for a Twitter Developer account, describe to me how I would maximise my opportunity to get a positive result, yet not be repetitive nor seem desperate.
Result_06:
Pleasantly surprised! That was a far more comprehensive and helpful result than I was expecting. I quite liked the bit on being honest, and stating your limitations upfront.
Too many people are willing or even happy to, frankly, bullshit.
OK, finally, I am going to ask the AI to source me the following information:
The main Twitter website
The current reference to the Twitter Developer accounts
The current API reference documentation
Query_07:
Referring to the result above, detail the full hyperlink references for the following items: the main Twitter website; the current reference to the Twitter Developer accounts and the current API reference documentation. Present that information in a list form using bullet points, with the relevant headings.
Result_07:
Verdict?
I like it. With 7 questions I have gone from wanting to make a tool using Bash to now I will be applying to get a Twitter Developer account. With a far better understanding of what the current obligations are, and with a practical & reasonable framework to support the application.
Once the application has been submitted, and I am informed of the result, I will let you know.