gptsh

CLI Node.js qui suggère des commandes shell à partir d’une demande en langage naturel.

RôleAuteur & mainteneur
Type de projetCLI GPT-3 historique
ÉquipeOpen source

Suggestions de commandes dans le terminal

gptsh est une CLI Node.js qui transforme une demande en langage naturel en commande shell. Publié en décembre 2020, le projet utilisait l’API de complétion de GPT-3 pour adapter la suggestion au système, notamment entre Linux, PowerShell et AIX.

gptsh — CLI (2020)
# Ask for a command; gptsh prints a suggestion.$ gptsh Add remote from github with name shorwood/gptshgit remote add shorwood https://github.com/shorwood/gptsh.git
gptsh — platform
# Ask for the same task on two different platforms.> gptsh Add a new user --platform win32Add-ADUser -Name "username" -SamAccountName username -AccountPassword (Read-Host -AsSecureString "Password") -Enabled $true -ChangePasswordAtLogon $false> gptsh Add a new user --platform aixmkuser username