from Hacker News

ChatGPT Terminal Helper. A simple Python script that generates terminal commands

by Loeffelmann on 3/10/23, 9:10 AM with 1 comments

  • by Loeffelmann on 3/10/23, 9:10 AM

    To use

    1. export your OpenAI key as an environment variable as OPENAI_API_KEY.

    2. `pip install openai`

    3. python3 chatgpt-terminal.py "Create 50 dirs called test$number in bash"

    It works a lot better than expected!