Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2026 14:47:14 +0000
Message-ID:  <695e71f2.c0f4.115b3fa3@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a37fde9850efbeafb9b16b79067b93269b07cf4

commit 7a37fde9850efbeafb9b16b79067b93269b07cf4
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2026-01-07 14:46:29 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2026-01-07 14:47:10 +0000

    textproc/qo: Add port
    
    qo is an interactive TUI to query structured data (JSON/CSV/TSV) using
    SQL (in particular, SQLite syntax). Results are updated in real-time.
    
    It ultimately works as a standard stdin-in/stdout-out CLI app, so it's
    essentially a normal piped app that (optionally) has interactivity.
    
    If you pass the query as an argument, it'll skip the TUI, but still
    let you query your data with SQL.
---
 textproc/Makefile     |  1 +
 textproc/qo/Makefile  | 19 +++++++++++++++++++
 textproc/qo/distinfo  |  5 +++++
 textproc/qo/pkg-descr |  8 ++++++++
 4 files changed, 33 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 93c18b280dde..d3b77abe97ce 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1748,6 +1748,7 @@
     SUBDIR += py-zope.i18nmessageid
     SUBDIR += py-zpt
     SUBDIR += qprint
+    SUBDIR += qo
     SUBDIR += qr
     SUBDIR += qrcodegen
     SUBDIR += qstardict
diff --git a/textproc/qo/Makefile b/textproc/qo/Makefile
new file mode 100644
index 000000000000..20544343e0b6
--- /dev/null
+++ b/textproc/qo/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	qo
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.7
+CATEGORIES=	textproc
+
+MAINTAINER=	adamw@FreeBSD.org
+COMMENT=	TUI to query JSON/CSV/TSV with SQL
+WWW=		https://github.com/kiki-ki/go-qo
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:1.25+,modules
+GO_MODULE=	github.com/kiki-ki/go-qo
+GO_TARGET=	./cmd/qo
+
+PLIST_FILES=	bin/qo
+
+.include <bsd.port.mk>
diff --git a/textproc/qo/distinfo b/textproc/qo/distinfo
new file mode 100644
index 000000000000..f6e5bbc115aa
--- /dev/null
+++ b/textproc/qo/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1767795796
+SHA256 (go/textproc_qo/qo-v0.2.7/v0.2.7.mod) = b823c594e7fad02f9cd339ec5ff53bce3e05dfc05c5de17fc10f0b8dff054ec0
+SIZE (go/textproc_qo/qo-v0.2.7/v0.2.7.mod) = 28637
+SHA256 (go/textproc_qo/qo-v0.2.7/v0.2.7.zip) = c98dcf4397c58e3a480638f298c30a654e407e77aea670b80b8a2199d941e8cf
+SIZE (go/textproc_qo/qo-v0.2.7/v0.2.7.zip) = 1152224
diff --git a/textproc/qo/pkg-descr b/textproc/qo/pkg-descr
new file mode 100644
index 000000000000..36494591490b
--- /dev/null
+++ b/textproc/qo/pkg-descr
@@ -0,0 +1,8 @@
+qo is an interactive TUI to query structured data (JSON/CSV/TSV) using
+SQL (in particular, SQLite syntax). Results are updated in real-time.
+
+It ultimately works as a standard stdin-in/stdout-out CLI app, so it's
+essentially a normal piped app that (optionally) has interactivity.
+
+If you pass the query as an argument, it'll skip the TUI, but still
+let you query your data with SQL.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695e71f2.c0f4.115b3fa3>