Skip to content

Many command line tools, bookmarklets and apps for productivity using the OpenAI chat completion API that models ChatGPT

License

Notifications You must be signed in to change notification settings

stoerr/chatGPTtools

Repository files navigation

My ChatGPT tools

These are some of growing set of tools and experiments around ChatGPT. I started writing this for my own use in my sparetime and am extending it whenever I need something, but most of that is already pretty stable, so you are welcome to use them, too! I'll mark things that are new and thus unstable. As far as the tools are web-based, they are deployed at the Github site of this project.

https://chatGPTtools.stoerr.net/chatgpttools/0README.html If you'd like to know what I'm professionally doing with ChatGPT, this might be more interesting for you.

If you find something interesting, please contact me! You will also find many ChatGPT related things on my Blog , and there is also my Developers Tool Bench which I'm growing.

Disclaimer: You know how it is - this is one of my sparetime projects and you're not paying me for that, so no warranties. But please do send me bug reports and suggestions.

I'm happy if you use it, I'm even happier if you tell me about your experiences and maybe some successful prompts or prompt fragments you used, and I'll jump up and down with joy if you link to my project or post about it somewhere. :-)

By the way: if you like to use AI for software development, you might like some of my other ai tools like the Co-Developer GPT engine, with which you let ChatGPT look at your local projects and help you with your coding, including modifing your code and run and fix builds, or the AI based code generation pipeline - a command line tool that can support you in systematically using AI to generate code / documentation during software development.

What's here

  • bin/ contains a number of scripts around ChatGPT that help me in my daily work and might be interesting for you. See below (script list). Mostly for accessing various OpenAI APIs, but can sometimes also be used for compatible APIs.
  • public/ contains some pages that I often use to access ChatGPT quickly - the [chat.openai.com] (https://chat.openai.com/) interface is a bit annoying at times. See [public/0README.html].
  • docs/ has stuff that is available at https://chatGPTtools.stoerr.net/ - see below.
  • templates/ some templates for use with bin/chatgptapplytemplate - basically an extended prompt with examples for ChatGPT to do something given a file.
  • [personal/] contains an experiment to create a quick chat interface that supplies ChatGPT with a kind of long term memory.
  • ChatGPTTricks.md contains a growing number of tipps and tricks around using ChatGPT and Github Copilot as a software developer etc. I intend to collect there much of the ChatGPT section in [my blog] (http://www.stoerr.net/blog.html), in short form.

Bookmarklets deployed at https://chatGPTtools.stoerr.net/

  • The ChatGPT Bookmarklet lets you summarize any webpage using ChatGPT, ask questions and more.
  • The Grab Styles Bookmarklet lets you select an element from a page and extract it's HTML and applying CSS rules,
  • e.g. to ask ChatGPT questions about it.
  • There is also a Dictation App that uses the OpenAI whisper API to transcribe your speech into a textarea.

Script list in bin/

There is a couple of scripts in bin/ which you might like. The main script is chatgpt , which allows to access ChatGPT chat completion API from the command line in various ways; the other scripts usually use that for the AI functions. Here is a list of the scripts, of course generated by ChatGPT through project-bin/_makescriptlist :-)

  • a4ocr: processes a scanned A4 image to extract text and convert it to markdown format.
  • chatgpt: submits a prompt for processing and prints the response, swiss knife type tool with many options.
  • chatgptapplytemplate: applies a predefined template to a file and prints the result.
  • chatgptdictate: records audio input and converts it to text.
  • chatgptembedding: generates embeddings for the provided content.
  • chatgptextractcodeblock: extracts and prints the contents of a code block from the input.
  • chatgptfixfile: modifies a file using a user-defined prompt and displays the differences.
  • chatgptlistmodels: lists all models available for use.
  • chatgptpromptlib: manages and retrieves prompt fragments from a library.
  • chatgptsearchascript: searches this toolbox for a suitable command line utility to perform a task described in the command line.
  • chatgptspeak: generates audio from input text.
  • chatgptsummarizefile: generates a summary of a specified file.
  • chatgptsummarizeurl: fetches content from a URL and summarizes it.
  • chatgpttokentool: counts or estimates the token count of input files and manipulates token lists.
  • chatgpttranscription: transcribes audio files into text.
  • createJavaUnittest: generates JUnit tests for Java files.
  • findfilewithpattern: searches for files matching a specified pattern.
  • findprogram: searches the PATH for programs that match a given description.
  • q: asks for a quick answer to a prompt.
  • qa: asks for a quick answer to a dictated prompt.
  • suggestbash: prints a bash command line for a problem described on its command line.
  • suggestfish: prints a fish command line for a problem described on its command line.
  • toolsconfigFromCodevActions: generates a configuration file for specified tools based on provided actions.
  • urltotext: fetches content from a URL and outputs it as text.

About

Many command line tools, bookmarklets and apps for productivity using the OpenAI chat completion API that models ChatGPT

Topics

Resources

License

Stars

Watchers

Forks