mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
www/tgpt: Add new port
tgpt is a cross-platform command-line interface tool that allows you to use AI chatbot in your Terminal without requiring API keys PR: 278367
This commit is contained in:
parent
b0d32c5074
commit
a4c112eb06
@ -2368,6 +2368,7 @@
|
||||
SUBDIR += tdom
|
||||
SUBDIR += template_
|
||||
SUBDIR += templatelite
|
||||
SUBDIR += tgpt
|
||||
SUBDIR += thirtybees
|
||||
SUBDIR += threejs
|
||||
SUBDIR += threema-web
|
||||
|
62
www/tgpt/Makefile
Normal file
62
www/tgpt/Makefile
Normal file
@ -0,0 +1,62 @@
|
||||
PORTNAME= tgpt
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.7.3
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= nxjoseph@protonmail.com
|
||||
COMMENT= AI Chatbots in terminal without needing API keys
|
||||
WWW= https://github.com/aandrew-me/tgpt
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= go:1.21
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= aandrew-me
|
||||
|
||||
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
|
||||
GO_BUILDFLAGS= -trimpath -ldflags="-s -w" -o ./build/tgpt
|
||||
GH_TUPLE= andybalholm:brotli:v1.0.5:andybalholm_brotli/vendor/github.com/andybalholm/brotli \
|
||||
atotto:clipboard:v0.1.4:atotto_clipboard/vendor/github.com/atotto/clipboard \
|
||||
aymanbagabas:go-osc52:v2.0.1:aymanbagabas_go_osc52_v2/vendor/github.com/aymanbagabas/go-osc52/v2 \
|
||||
bogdanfinn:fhttp:v0.5.24:bogdanfinn_fhttp/vendor/github.com/bogdanfinn/fhttp \
|
||||
bogdanfinn:tls-client:v1.6.1:bogdanfinn_tls_client/vendor/github.com/bogdanfinn/tls-client \
|
||||
bogdanfinn:utls:v1.5.16:bogdanfinn_utls/vendor/github.com/bogdanfinn/utls \
|
||||
c-bata:go-prompt:v0.2.6:c_bata_go_prompt/vendor/github.com/c-bata/go-prompt \
|
||||
charmbracelet:bubbles:v0.16.1:charmbracelet_bubbles/vendor/github.com/charmbracelet/bubbles \
|
||||
charmbracelet:bubbletea:v0.24.2:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea \
|
||||
charmbracelet:bubbletea:v0.24.2:charmbracelet_bubbletea/vendor/github.com/charmbracelet/bubbletea \
|
||||
charmbracelet:lipgloss:v0.8.0:charmbracelet_lipgloss/vendor/github.com/charmbracelet/lipgloss \
|
||||
containerd:console:1ae8d489ac81:containerd_console/vendor/github.com/containerd/console \
|
||||
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
|
||||
fatih:color:v1.15.0:fatih_color/vendor/github.com/fatih/color \
|
||||
go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \
|
||||
golang:crypto:v0.14.0:golang_crypto/vendor/golang.org/x/crypto \
|
||||
golang:mod:v0.13.0:golang_mod/vendor/golang.org/x/mod \
|
||||
golang:net:v0.16.0:golang_net/vendor/golang.org/x/net \
|
||||
golang:sync:v0.4.0:golang_sync/vendor/golang.org/x/sync \
|
||||
golang:sys:v0.13.0:golang_sys/vendor/golang.org/x/sys \
|
||||
golang:term:v0.13.0:golang_term/vendor/golang.org/x/term \
|
||||
golang:text:v0.13.0:golang_text/vendor/golang.org/x/text \
|
||||
klauspost:compress:v1.17.0:klauspost_compress/vendor/github.com/klauspost/compress \
|
||||
lucasb-eyer:go-colorful:v1.2.0:lucasb_eyer_go_colorful/vendor/github.com/lucasb-eyer/go-colorful \
|
||||
mattn:go-colorable:v0.1.13:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
|
||||
mattn:go-isatty:v0.0.19:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
|
||||
mattn:go-localereader:v0.0.1:mattn_go_localereader/vendor/github.com/mattn/go-localereader \
|
||||
mattn:go-runewidth:v0.0.15:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
|
||||
mattn:go-tty:v0.0.3:mattn_go_tty/vendor/github.com/mattn/go-tty \
|
||||
muesli:ansi:276c6243b2f6:muesli_ansi/vendor/github.com/muesli/ansi \
|
||||
muesli:cancelreader:v0.2.2:muesli_cancelreader/vendor/github.com/muesli/cancelreader \
|
||||
muesli:reflow:v0.3.0:muesli_reflow/vendor/github.com/muesli/reflow \
|
||||
muesli:termenv:v0.15.2:muesli_termenv/vendor/github.com/muesli/termenv \
|
||||
olekukonko:ts:78ecb04241c0:olekukonko_ts/vendor/github.com/olekukonko/ts \
|
||||
pkg:term:v1.2.0-beta.2:pkg_term/vendor/github.com/pkg/term \
|
||||
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
|
||||
rivo:uniseg:v0.4.4:rivo_uniseg/vendor/github.com/rivo/uniseg \
|
||||
stretchr:testify:v1.8.4:stretchr_testify/vendor/github.com/stretchr/testify \
|
||||
tam7t:hpkp:2b70b4024ed5:tam7t_hpkp/vendor/github.com/tam7t/hpkp
|
||||
|
||||
PLIST_FILES= bin/tgpt
|
||||
|
||||
.include <bsd.port.mk>
|
79
www/tgpt/distinfo
Normal file
79
www/tgpt/distinfo
Normal file
@ -0,0 +1,79 @@
|
||||
TIMESTAMP = 1713109883
|
||||
SHA256 (aandrew-me-tgpt-v2.7.3_GH0.tar.gz) = da3a270c55cb28d9974c94b798f62521483f1abe23773ec968f5e59758159c80
|
||||
SIZE (aandrew-me-tgpt-v2.7.3_GH0.tar.gz) = 39190
|
||||
SHA256 (andybalholm-brotli-v1.0.5_GH0.tar.gz) = 3a10ffe88b56cad3ecf4660750ef3fa0fd8511b06d3c302a5ef18b9c2a361c05
|
||||
SIZE (andybalholm-brotli-v1.0.5_GH0.tar.gz) = 1818063
|
||||
SHA256 (atotto-clipboard-v0.1.4_GH0.tar.gz) = cafd64dc78f293c1e774386186f3f817461a1a8940ef86d5d9e9524b58aa791e
|
||||
SIZE (atotto-clipboard-v0.1.4_GH0.tar.gz) = 5017
|
||||
SHA256 (aymanbagabas-go-osc52-v2.0.1_GH0.tar.gz) = dad92f43db3cd17e7395db59533283b5888c2780fa1b2cb67344a9feaa3291e0
|
||||
SIZE (aymanbagabas-go-osc52-v2.0.1_GH0.tar.gz) = 5875
|
||||
SHA256 (bogdanfinn-fhttp-v0.5.24_GH0.tar.gz) = a1901c564ad9c698a31a4f23d0ae9a955fcd244a25692173bb0827a566d43ac5
|
||||
SIZE (bogdanfinn-fhttp-v0.5.24_GH0.tar.gz) = 805038
|
||||
SHA256 (bogdanfinn-tls-client-v1.6.1_GH0.tar.gz) = 0aadfd5dc3efe83c85b38ac341710bdea95a0dff9c08b98267c10ba2e18f07a2
|
||||
SIZE (bogdanfinn-tls-client-v1.6.1_GH0.tar.gz) = 282320
|
||||
SHA256 (bogdanfinn-utls-v1.5.16_GH0.tar.gz) = 90f97a3b58c2f9c52093ea3f318b7a1aa12c74b53b1bbe0594e735e1316bd1f4
|
||||
SIZE (bogdanfinn-utls-v1.5.16_GH0.tar.gz) = 603744
|
||||
SHA256 (c-bata-go-prompt-v0.2.6_GH0.tar.gz) = 6b249608d52ab66d33d85dcc5ec0a4f5f74f63ec6f22f8cfb12c96cb3a9b05cf
|
||||
SIZE (c-bata-go-prompt-v0.2.6_GH0.tar.gz) = 43452
|
||||
SHA256 (charmbracelet-bubbles-v0.16.1_GH0.tar.gz) = d7e4c4d4d64d576a71b4d1f137e22266b629bbdd2b4919cc9f0e536e42191ed4
|
||||
SIZE (charmbracelet-bubbles-v0.16.1_GH0.tar.gz) = 63319
|
||||
SHA256 (charmbracelet-bubbletea-v0.24.2_GH0.tar.gz) = 848aa3935597048fddb35199c24849df0af395271228607cfe8858192e6d5c27
|
||||
SIZE (charmbracelet-bubbletea-v0.24.2_GH0.tar.gz) = 2174833
|
||||
SHA256 (charmbracelet-lipgloss-v0.8.0_GH0.tar.gz) = 3f47af9f4f0125bddbc4ec47cb3ccc84abdeb1df6f13325a9024b9215a12e0bb
|
||||
SIZE (charmbracelet-lipgloss-v0.8.0_GH0.tar.gz) = 43968
|
||||
SHA256 (containerd-console-1ae8d489ac81_GH0.tar.gz) = 118afa0df744c158dbcc6842f5ef73b54ed1a64abfa057d64a2c6d4fcfa89df2
|
||||
SIZE (containerd-console-1ae8d489ac81_GH0.tar.gz) = 13534
|
||||
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
|
||||
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
|
||||
SHA256 (fatih-color-v1.15.0_GH0.tar.gz) = e7a92edb32453c11aec9fac4d9f2b8fc42fac72249a7ca567c926a112534030e
|
||||
SIZE (fatih-color-v1.15.0_GH0.tar.gz) = 11273
|
||||
SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5
|
||||
SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173
|
||||
SHA256 (golang-crypto-v0.14.0_GH0.tar.gz) = 0c4a544080fe2e26e8cee929a123a9663cee81db155d1d66ccb0b38b395614b8
|
||||
SIZE (golang-crypto-v0.14.0_GH0.tar.gz) = 1797313
|
||||
SHA256 (golang-mod-v0.13.0_GH0.tar.gz) = cf5ce8abafd047ece87e904b2065de2293c131e331cdc06a64f2c78c3908a6ca
|
||||
SIZE (golang-mod-v0.13.0_GH0.tar.gz) = 122017
|
||||
SHA256 (golang-net-v0.16.0_GH0.tar.gz) = 580de513efdfbcfd990a2dcbb6ba40b62c9db334d97363124df03b98750d7eb5
|
||||
SIZE (golang-net-v0.16.0_GH0.tar.gz) = 1455196
|
||||
SHA256 (golang-sync-v0.4.0_GH0.tar.gz) = 78e03dd08d1c8c6c7a95ffbf9447d0c3ad0d26efd7ab74e41333eacdc70fdb3f
|
||||
SIZE (golang-sync-v0.4.0_GH0.tar.gz) = 20379
|
||||
SHA256 (golang-sys-v0.13.0_GH0.tar.gz) = 8877d20a8f1b2533ddef00e65b6b3b9cebbcbffa319ed525df0bc229f583e2b6
|
||||
SIZE (golang-sys-v0.13.0_GH0.tar.gz) = 1442250
|
||||
SHA256 (golang-term-v0.13.0_GH0.tar.gz) = 2457f9f3258b360ac1084c821fa1435d8c0a74ed4fd2edd2ab7682f9d41ba718
|
||||
SIZE (golang-term-v0.13.0_GH0.tar.gz) = 14797
|
||||
SHA256 (golang-text-v0.13.0_GH0.tar.gz) = c6e22ff8280188539ba0a6c65cbc80cda877adcf5332651fa78044018c05d6af
|
||||
SIZE (golang-text-v0.13.0_GH0.tar.gz) = 8967009
|
||||
SHA256 (klauspost-compress-v1.17.0_GH0.tar.gz) = 171582ff71acfaa7aa5030d2f86fbec26594f87597a3ee8f51e078185c34d645
|
||||
SIZE (klauspost-compress-v1.17.0_GH0.tar.gz) = 37966139
|
||||
SHA256 (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = b3ee835cc398287452377266313edcc231043bae4168f8d2706e5d34ce1ce755
|
||||
SIZE (lucasb-eyer-go-colorful-v1.2.0_GH0.tar.gz) = 970830
|
||||
SHA256 (mattn-go-colorable-v0.1.13_GH0.tar.gz) = c3b62c76d365906bba9aa9d9ec048fd33a2a5742299d6482a08e7466d4c52d77
|
||||
SIZE (mattn-go-colorable-v0.1.13_GH0.tar.gz) = 9762
|
||||
SHA256 (mattn-go-isatty-v0.0.19_GH0.tar.gz) = 67b1614d495030982d276b211f3ba2a155fad61919ba96e34db8e67ed28660e4
|
||||
SIZE (mattn-go-isatty-v0.0.19_GH0.tar.gz) = 4679
|
||||
SHA256 (mattn-go-localereader-v0.0.1_GH0.tar.gz) = 03bd5a512b593c793cccd3a1f507e3a5ba6f92681b1fa4f812a53eddbc3751dc
|
||||
SIZE (mattn-go-localereader-v0.0.1_GH0.tar.gz) = 1735
|
||||
SHA256 (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 44a5d37bd7119a9d288d7ff61cf3b4d42c2902c66b0d94136d41d2eb3cf2ba85
|
||||
SIZE (mattn-go-runewidth-v0.0.15_GH0.tar.gz) = 18284
|
||||
SHA256 (mattn-go-tty-v0.0.3_GH0.tar.gz) = 4fc1faabd0ec817ca634931519d4d286858199fd6b8a5829fdc7cc7a40c45d8c
|
||||
SIZE (mattn-go-tty-v0.0.3_GH0.tar.gz) = 7795
|
||||
SHA256 (muesli-ansi-276c6243b2f6_GH0.tar.gz) = 3284ff73b72fb26606a9129355fa2916647423e3ede78ba8031e6bdfa0ccef4f
|
||||
SIZE (muesli-ansi-276c6243b2f6_GH0.tar.gz) = 5243
|
||||
SHA256 (muesli-cancelreader-v0.2.2_GH0.tar.gz) = afd827ad56d7c567389a516ca005ea80d46ed1cbc17c5ec3ca144152f1ecfc5a
|
||||
SIZE (muesli-cancelreader-v0.2.2_GH0.tar.gz) = 9443
|
||||
SHA256 (muesli-reflow-v0.3.0_GH0.tar.gz) = f797b8c25d447e314ad92b155433562446c683924171be1698ad44f24c79f651
|
||||
SIZE (muesli-reflow-v0.3.0_GH0.tar.gz) = 21245
|
||||
SHA256 (muesli-termenv-v0.15.2_GH0.tar.gz) = 547a35fca6d807006fc15bdd819f175e4214b2153d39b5c6f5df217d4d4fe6ec
|
||||
SIZE (muesli-termenv-v0.15.2_GH0.tar.gz) = 422802
|
||||
SHA256 (olekukonko-ts-78ecb04241c0_GH0.tar.gz) = e773762d9adb136c048e20f75f90ed3da9c4fd670c1798d26ef592b9aa4e44c7
|
||||
SIZE (olekukonko-ts-78ecb04241c0_GH0.tar.gz) = 3173
|
||||
SHA256 (pkg-term-v1.2.0-beta.2_GH0.tar.gz) = 7ec33e2b31f188923104d3edbecc4362f6d321354a178e4e4e49d1bfc5075e45
|
||||
SIZE (pkg-term-v1.2.0-beta.2_GH0.tar.gz) = 11330
|
||||
SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
|
||||
SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
|
||||
SHA256 (rivo-uniseg-v0.4.4_GH0.tar.gz) = eb2837932d0a666e13ea6b4cebf698096266d4f14740faa78c63b8291cf1fb5c
|
||||
SIZE (rivo-uniseg-v0.4.4_GH0.tar.gz) = 453399
|
||||
SHA256 (stretchr-testify-v1.8.4_GH0.tar.gz) = 0d3e82b04a05d9428a2a2aec8776bd0a07f14f5d1b4fa0a3676526ca8259fd62
|
||||
SIZE (stretchr-testify-v1.8.4_GH0.tar.gz) = 104427
|
||||
SHA256 (tam7t-hpkp-2b70b4024ed5_GH0.tar.gz) = 1a0f3f512036af140f861b107e652e59cbde74be8fb64d67d34fa4399c380325
|
||||
SIZE (tam7t-hpkp-2b70b4024ed5_GH0.tar.gz) = 12653
|
5
www/tgpt/pkg-descr
Normal file
5
www/tgpt/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
tgpt is a cross-platform command-line interface (CLI) tool that allows you to
|
||||
use AI chatbot in your Terminal without requiring API keys. It supports
|
||||
these providers: KoboldAI (koboldcpp/HF_SPACE_Tiefighter-13B),
|
||||
Phind (Phind Model), Llama2 (Llama 2 70b), Blackbox AI (Blackbox model)
|
||||
and OpenAI (All models, Requires API Key)
|
Loading…
Reference in New Issue
Block a user