whatsapp-tui-git
LOW
maintainer stealthspectre
0 votes
scanned 2026-10-08 12:08:47.458604
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Aneesh Sambu <sambu.aneesh@research.iiit.ac.in>
2
pkgname=whatsapp-tui-git
3
_pkgname=whatsapp-tui
4
pkgver=r57.dbcf006
5
pkgrel=1
6
pkgdesc="WhatsApp in the terminal, vim-style: fast, runs in the background, with a VS Code palette, lists, notes and local AI"
7
arch=('x86_64' 'aarch64')
8
url="https://sambuaneesh.github.io/whatsapp-tui/"
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('go' 'git')
12
optdepends=(
13
'kitty: sharp pictures, animations and profile pictures'
14
'mpv: voice notes and videos'
15
'ffmpeg: GIFs and making stickers'
16
'yazi: picking files to attach'
17
'wl-clipboard: copy and paste on Wayland'
18
'xclip: copy and paste on X11'
19
'libnotify: desktop notifications'
20
'ollama: search by meaning and the local AI (embeddinggemma, qwen3:4b)'
21
)
22
provides=('whatsapp-tui')
23
conflicts=('whatsapp-tui')
24
source=("$_pkgname::git+https://github.com/sambuaneesh/whatsapp-tui.git")
25
sha256sums=('SKIP')
26
27
pkgver() {
28
cd "$_pkgname"
29
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
30
}
31
32
prepare() {
33
cd "$_pkgname"
34
export GOPATH="$srcdir/gopath"
35
go mod download
36
}
37
38
build() {
39
cd "$_pkgname"
40
export CGO_CPPFLAGS="$CPPFLAGS" CGO_CFLAGS="$CFLAGS" CGO_CXXFLAGS="$CXXFLAGS" CGO_LDFLAGS="$LDFLAGS"
41
export GOPATH="$srcdir/gopath"
42
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
43
# sqlite_fts5: full-text search (the app falls back to slower search without it)
44
go build -tags sqlite_fts5 -o "$_pkgname" .
45
}
46
47
package() {
48
cd "$_pkgname"
49
install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
50
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51
install -Dm644 assets/whatsapp-tui.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/whatsapp-tui.svg"
52
install -Dm644 README.md USAGE.md -t "$pkgdir/usr/share/doc/$_pkgname"
53
install -Dm644 docs/API.md "$pkgdir/usr/share/doc/$_pkgname/API.md"
54
install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/whatsapp-tui.desktop" <<DESKTOP
55
[Desktop Entry]
56
Type=Application
57
Name=WhatsApp TUI
58
Comment=WhatsApp in the terminal, vim-style
59
Exec=whatsapp-tui
60
Icon=whatsapp-tui
61
Terminal=true
62
Categories=Network;InstantMessaging;Chat;
63
Keywords=whatsapp;chat;messaging;terminal;tui;
64
DESKTOP
65
}
66
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-08 12:08:47 | Low | 1 |