• Stars
    star
    277
  • Rank 148,291 (Top 3 %)
  • Language
    Python
  • License
    Creative Commons ...
  • Created almost 2 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

Query ChatGPT in Neovim

chatgpt.vim ๐Ÿค–

chatgpt.nvim is a Neovim plugin that lets you query ChatGPT inside a Neovim buffer.

Demo

asciicast

Installation

n.b. You must have python3 installed on your machine in order to install and use this plugin.

You can install this plugin with packer or any other vim plugin manager:

use({
  'terror/chatgpt.nvim',
  run = 'pip3 install -r requirements.txt'
})

Configuration

The plugin looks for a configuration file in your home directory called .chatgpt-nvim.json, and it expects a valid OpenAI api key to be set for queries to work:

{ "api_key": "<API-KEY>" }

You can get an api key from OpenAI via their website.

Commands

Below are the available commands this plugin supports:

Name Arguments Description
ChatGPT Open a new interactive ChatGPT environment
ChatGPT [query] Load a ChatGPT response to query into the Neovim command prompt.

More Repositories

1

usernames

Rare inactive github usernames!
Python
109
star
2

present

A script interpolation engine for markdown documents
Rust
96
star
3

zk

A note-taking tool based on the famous Zettelkasten method
Rust
84
star
4

vim-profiler

A vim plugin profiler and data plotter
Rust
41
star
5

mcgill.courses

A course search and review platform for McGill University
TypeScript
31
star
6

edmv

Bulk rename files with your favourite editor
Rust
14
star
7

paragon

A lightweight command line benchmarking utility
Python
13
star
8

threader

๐Ÿงต Craft Twitter threads with Markdown
Rust
9
star
9

mcgill.wtf

A low-latency full-text search of mcgill's entire course catalog
Rust
9
star
10

readwise

A rust wrapper for the Readwise API
Rust
8
star
11

vim-crypto

View live cryptocurrency prices without leaving vim
Rust
7
star
12

chatgpt-euler

ChatGPT vs Project Euler
Python
6
star
13

liams.me

My personal website/blog
Shell
5
star
14

liam.rs

My personal website/blog
Shell
5
star
15

flint

Write custom, lightweight static checkers using the tree-sitter query language
Rust
4
star
16

solve

A fully featured competitive programming workspace in the cloud
TypeScript
4
star
17

dotfiles

My scripts and configurations
Vim Script
4
star
18

lox

Lox, but oxidized
Rust
4
star
19

solutions

Solutions to programming problems on various platforms
C++
4
star
20

kattis-api

A python wrapper for the Kattis API
Python
4
star
21

github-timeline

Timeline generator using Github API
JavaScript
3
star
22

aoc

Advent of Code ๐ŸŽ„
Python
3
star
23

wordle

โฌ› ๐ŸŸจ ๐ŸŸฉ
Go
3
star
24

riff

A place to expand ideas
TypeScript
3
star
25

rustground

A rust web-playground on steroids
Rust
2
star
26

vgp

A video game poker clone in C#
C#
2
star
27

cratebot

An automated twitter bot that tweets out random crates published on crates.io
Rust
2
star
28

notebook

๐Ÿ“
Rust
2
star
29

checker

A crates.io crate name availability checker
Rust
2
star
30

deft

Buy X cryptocurrency when Y tweets about it
Python
2
star
31

schemin

>>=
Haskell
2
star
32

pdfathom

Query PDFs in natural language from the command-line
Python
2
star
33

anagram

Anagrams are cool
Rust
2
star
34

hackerpaper

Hacker News articles to your Instapaper
Python
2
star
35

notes

A lightweight command-line utility for managing plain text notes
Shell
2
star
36

cryptochat

React, Node and Socket realtime chat application
JavaScript
2
star
37

pix

<> a pixel editor <>
Rust
2
star
38

proust

A learning tool
TypeScript
2
star
39

eye

A local rust-crate visualization tool
TypeScript
2
star
40

logic

A logical deduction system
Python
1
star
41

golf

python code golf dump
Python
1
star
42

br

ฮป
Racket
1
star
43

TenantCore

Application Development 420-5A6-AB Fall 2021 Final Project
Java
1
star
44

sicp

Exercises from the book "Structure and Interpretation of Computer Programs"
Scheme
1
star
45

skeleton

๐Ÿ’€ A project scaffolding utility
Rust
1
star
46

xbar-hackernews

A Hacker News plugin for xbar
Python
1
star
47

tx

โ‚ฟ -> ๐ŸŒ”
Python
1
star
48

rosetta

My attempts at rosetta code tasks in various languages.
Python
1
star
49

MATH240

MATH 240 - Discrete Structures - Fall 2022
TeX
1
star
50

COMP206

COMP206 - Introduction to Software Systems - Fall 2022
Shell
1
star
51

reddit

A full stack reddit clone written in vanilla JS
JavaScript
1
star
52

node-psql-setup

A Postgres/Node starter boilerplate
TypeScript
1
star
53

invaders

A space invaders clone
C#
1
star
54

books

A place to share and browse my kindle highlights
TypeScript
1
star
55

trolley

A full stack shopping list application
JavaScript
1
star
56

vim-tricks

Notes on various vim tricks encountered over time. Mostly as a way to remember cool stuff.
Vim Script
1
star
57

tetris

A tetris clone written in javascript
JavaScript
1
star
58

guild

A toy social coding platform (tinkering with socket.io and hosting services)
TypeScript
1
star
59

sort

Sorting algorithm implementations in Python3
Python
1
star
60

ci

Craftin' interpreters
Java
1
star
61

kattis-haskell

Solutions to various Kattis problems written in Haskell.
Haskell
1
star
62

COMP250

COMP250 - Introduction to Computer Science - Fall 2022
Java
1
star
63

420-4P6-AB

Code for 420-4P6-AB Data Structures Winter 2021 @ John Abbott College
Java
1
star
64

sorcerer_example

example repo
C++
1
star
65

forth

Yet another forth interpreter
Rust
1
star
66

duck

โ ™โ ฅโ ‰โ … โ ™โ ฅโ ‰โ … โ ›โ •โ •โ Žโ ‘
Python
1
star
67

leetcode

Solutions to various problems on Leetcode
Python
1
star
68

wtr

๐ŸŒฉ๏ธ
Rust
1
star
69

tcaer

A collection of miscellaneous react projects
JavaScript
1
star
70

just-lsp

A language server for just
Rust
1
star
71

fx

Yet another art project
JavaScript
1
star
72

personal-lib

Personal library for general/random code
PowerShell
1
star
73

arrg

A Python library for building modular command-line applications
Python
1
star
74

graphql-todo

Checking out graphql, don't mind the shenanigans
TypeScript
1
star
75

mindspace

A creative space
Python
1
star
76

bp

A simple templating engine for commonly used project files.
Python
1
star
77

readwise-ulysses

Sync your book/article highlights from Readwise to Ulysses.
JavaScript
1
star
78

brot

๐Ÿ—œ๏ธ
Rust
1
star
79

420-4W6-AB

Code for 420-4W6-AB Web Programming II Winter 2020 @ John Abbott College
JavaScript
1
star
80

breakout

Atari Breakout in HTML5 Canvas + Typescript
TypeScript
1
star
81

sorcerer

Programming problem solution markdown table generator
Python
1
star
82

bf

A simple brainfuck interpreter
Rust
1
star
83

alchemy

โš—๏ธ
Python
1
star
84

PizzaCore

Web Programming 420-5W6-AB Fall 2021 Final Project
C#
1
star
85

rustpython-bug

๐Ÿ›
HTML
1
star
86

stream

๐ŸŒŠ
TypeScript
1
star
87

ts-boilerplate

A quick boilerplate for node + typescript projects (with docker support)
TypeScript
1
star
88

contest-cli

Programming contest information for those who live in the terminal
Python
1
star
89

asciidraw

Draw ascii shapes in your terminal
C
1
star
90

ternarysearch

A multiplayer based online-judge platform
TypeScript
1
star
91

life

Conway's game of life + wasm
JavaScript
1
star
92

COVID-Bubble-Simulation

Final Project for User Interfaces 420-2W6-AB
HTML
1
star
93

420-5A6-AB

Code for Application Development II 420-5A6-AB Fall 2021
Java
1
star
94

terror

1
star
95

ts-algo

Minimal implementations of Algorithms in TypeScript
TypeScript
1
star
96

mnist

A neural network
Rust
1
star
97

crates.surf

Surf all the crates ๐Ÿ„
Rust
1
star
98

Compete-McGill-2020

My Answers to Psets/Contests for Compete McGill Summer Training 2020
C++
1
star
99

python-webserver

A simple python webserver in a Docker container
Python
1
star
100

fzf.py

Python bindings for the command-line fuzzy-finder fzf
Python
1
star