helpme.code
<jk: A context aware coding AI. >
Introduction
This began as a joke. I tried some VS Code "AI" plugin and saw that it was essentially an autocomplete ranked by popularity. I quipped to a friend that I could probably knock out something better in under an hour. And this was the result. Give it a programming problem and it fetches an answer from stackoverflow and types the code for you in to your editor.
50 loc in 30 minutes (originaly), that interfaced with howdoi (which interfaces with Google... that indexes stackexchange, which houses the information created by many humans, that lived in the house that Jack built. Phew!) But it turned out to have far more utility than I had expected. It really was very useful for learning new programming languages, or knocking out a script in a language I'd never used before. It was greater than the sum of its parts. I would liken it to the electric car: Google is the lithium/ion chemistry, howdoi is the battery, and helpmecode is the Tesla (well, I did say it was joke ;).
Feedback
Instructions
-
python3 server.py
-
If you have not done so already, install v1.1~ of www.autohotkey.com
-
If python is on a different machine, edit helpmecode.ahk to include its IP address
-
Open helpmecode.ahk
-
Query history and error messages are sent to python terminal.
-
If you share the python server between clients, you may benefit slightly from the shared cache.