• Stars
    star
    128
  • Rank 275,086 (Top 6 %)
  • Language
    Python
  • Created over 1 year ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GPT-3 on your command line

LLM.sh πŸ€– πŸ’»

Copilot for your command line. Just type llm XYZ and it will generate/run a script for you that does XYZ.

Installation

Install bat (https://github.com/sharkdp/bat#installation), a better cat alternative

~$: port install bat # or brew install bat - 

Install LLM.sh via pip

~$: pip install --upgrade git+https://github.com/jayhack/llm.sh

Usage

Note that you should expect 10-20s latency for each command.

Type llm [command], like so:

~$: llm rename all files in this directory from snake case to camelcase

You will receive an output like this:

───────┬─────────────────────────────────────────────────────────────────────────────────────
       β”‚ File: temp.sh
───────┼─────────────────────────────────────────────────────────────────────────────────────
   1   β”‚ #!/bin/bash
   2   β”‚
   3   β”‚ # rename all files in this directory from snake case to camelcase
   4   β”‚ for file in *; do
   5   β”‚   mv "$file" "$(echo $file | sed -r 's/(_)([a-z])/\U\2/g')"
   6   β”‚ done
───────┴─────────────────────────────────────────────────────────────────────────────────────
>> Do you want to run this program? [Y/n]

Hit Y (or enter) to run the script. That's it!

More Repositories

1

text-to-figma

Conversational UI for Figma
Python
85
star
2

LSTMVRAE

Variational Recurrent Auto-Encoder using LSTM encoder/decoder networks
Python
52
star
3

CVChess

Computer vision application to read in the state of a chess board given images of it
Python
43
star
4

ConvCube

Computer Vision applicaiton for real-time rubiks cube detection, tracking and solving
Python
13
star
5

NIPy

Open-source python module for working with natural interaction data from multiple devices; includes data structures and utilities for recording, storing, reasoning about and visualizing motion sequences.
Python
6
star
6

inventar.io

A platform for apps that the user can access through email
JavaScript
5
star
7

ModalDB

Database optimized for conducting research on multi-modal data. Constructed for Robo Brain project at Stanford AI Lab.
Python
5
star
8

squeezenet-chainer

Squeezenet in Chainer w/ pretrained weights; fork of @ejlb's implementation, added pretrained weights
Python
5
star
9

word_similarity

Python
2
star
10

PrimesenseReceiver

C++ utility for making body pose data from primesense available throughout your system via TCP ports
C++
2
star
11

pyroJect

Personal python project skeleton creator: nosetests, bin, data, src, setuptools
Python
1
star
12

automeme

matches advice animal images to text
Python
1
star
13

Hinstagram

Visualizing images as histograms
Python
1
star
14

pystart

A script for quickly initializing python scripts with the conventions that I use. (can insert an error-printing function, header, etc into the file)
Python
1
star
15

LeapReceiver

Python utility for making hand pose data from the Leap Motion Available throughout your system via UDP ports
Python
1
star
16

ai

client library for dev app
Python
1
star
17

ML_Template

template for ML applications written in python
Python
1
star
18

chainer-char-rnn-1.7.1

chainer-char-rnn updated for version 1.7.1
Python
1
star
19

Slavatory

Social networking complement to Slavianskii Dom's in-house (and in-lavatory) Russian visual art exhibit
CSS
1
star