misc/chatgpt-shell-cli g20230516 FreeBSD
Shell script to use OpenAI's ChatGPT and DALL-E from the terminal
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- misc
- Package size
- 6.7 KiB, 16.7 KiB installed
Description
A simple, lightweight shell script to use OpenAI's chatGPT and DALL-E from the terminal without installing python or node.js. The script uses the official ChatGPT model gpt-3.5-turbo with the OpenAI API endpoint /chat/completions. You can also use the new gpt-4 model, if you have access.
The script supports the use of all other OpenAI models with the completions endpoint and the images/generations endpoint for generating images.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/chatgpt-shell-cli | g20230516 |
| NetBSD | misc/chatgpt-shell-cli | 0.0.20230516 |
| DragonFly | misc/chatgpt-shell-cli | g20230516 |
| MidnightBSD | ai/chatgpt-shell-cli | g20230516 |
Install
Binary package:
pkg install chatgpt-shell-cli
From the ports tree:
cd /usr/ports/misc/chatgpt-shell-cli/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= chatgpt-shell-cli>0:misc/chatgpt-shell-cli
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | g20230516 | g20230516 | - | g20230516 | g20230516 |
| FreeBSD:14:quarterly | g20230516 | g20230516 | n/a | g20230516 | g20230516 |
| FreeBSD:15:latest | g20230516 | g20230516 | n/a | g20230516 | g20230516 |
| FreeBSD:15:quarterly | g20230516 | g20230516 | n/a | n/a | n/a |
| FreeBSD:16:latest | g20230516 | g20230516 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 4
bash: shells/bashcurl: ftp/curljq: textproc/jqxdg-open: devel/xdg-utils
The full lists below include those, and their dependencies in turn.
Run dependencies 150
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/libzip
- archivers/zstd
- audio/lame
- audio/libogg
- audio/libvorbis
- audio/mpg123
- audio/opus
- converters/fribidi
- converters/libiconv
- databases/gdbm
- devel/binutils
- devel/boost-libs
- devel/boost-python-libs
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/glib20
- devel/highway
- devel/icu
- devel/libdaemon
- devel/libepoll-shim
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/libunistring
- devel/llvm12
- devel/oniguruma
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- devel/sdl20
- devel/spirv-llvm-translator
- devel/xdg-utils
- dns/libidn
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/ImageMagick7
- graphics/gd
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbig2dec
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libdrm
- graphics/libglvnd
- graphics/libheif
- graphics/libjxl
- graphics/liblqr-1
- graphics/libraw
- graphics/libwmf
- graphics/mesa-libs
- graphics/openexr
- graphics/openjpeg
- graphics/openjph
- graphics/png
- graphics/poppler-data
- graphics/spirv-tools
- graphics/tiff
- graphics/vulkan-loader
- graphics/wayland
- graphics/webp
- lang/gcc14
- lang/perl5.42
- lang/python312
- lang/python315
- math/Imath
- math/fftw3
- math/gmp
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-numpy
- misc/hicolor-icon-theme
- misc/hwdata
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/ffmpeg
- multimedia/libass
- multimedia/libbluray
- multimedia/libdvdcss
- multimedia/libdvdnav
- multimedia/libdvdread
- multimedia/libudfread
- multimedia/libvpx
- multimedia/libx264
- multimedia/openh264
- multimedia/svt-av1
- multimedia/vmaf
The first 100 are listed.
No port depends on this one.
Configuration
No options to configure.
- USES
- magick:${FLAVORS:[1]},run shebangfix
- Service scripts
- none
- Flavors
chatgpt-shell-cli-nox11-g20230516
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| 0xacx-chatGPT-shell-cli-g20230516-926587a_GH0.tar.gz | 11583 | 0d86a7b6e7ea1074e8c2be2760fabc041c3b89d223a4de75932bdc4b6481efe7 |
Commit history 0
No commits in the history this site was built from.