prompt-exporter-git
LOW
maintainer alexz
0 votes
scanned 2026-09-25 00:03:36.779685
Why flagged
The package builds from the project's own Git repository, uses standard Node.js build流程, and installs only built JavaScript files and documentation; no untrusted prebuilt binaries or remote code execution.
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.
Low
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the project's own Git repository, uses standard Node.js build流程, and installs only built JavaScript files and documentation; no untrusted prebuilt binaries or remote code execution.
PKGBUILD
1
# Maintainer: Alexandru Zbarcea <alexz@apache.org>
2
3
pkgname=prompt-exporter-git
4
_pkgname=prompt-exporter
5
pkgver=2.0.1.r15.ge6b01fb
6
pkgrel=1
7
pkgdesc="CLI to sync AI conversation prompts from multiple sources (ChatGPT first)"
8
arch=('any')
9
url="https://github.com/azbarcea/prompt-exporter"
10
license=('Apache-2.0')
11
depends=('nodejs' 'chromium')
12
makedepends=('git' 'npm')
13
provides=("${_pkgname}")
14
conflicts=("${_pkgname}")
15
source=("git+${url}.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
19
cd "${srcdir}/${_pkgname}"
20
local _ver
21
_ver="$(sed -n 's/.*"version": *"\([^"]*\)".*/\1/p' package.json | head -1)"
22
printf "%s.r%s.g%s" "${_ver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
23
}
24
25
prepare() {
26
cd "${srcdir}/${_pkgname}"
27
rm -rf node_modules dist
28
}
29
30
build() {
31
cd "${srcdir}/${_pkgname}"
32
npm install --cache "${srcdir}/npm-cache"
33
npm run build
34
npm prune --omit=dev --cache "${srcdir}/npm-cache"
35
}
36
37
package() {
38
cd "${srcdir}/${_pkgname}"
39
40
local _libdir="${pkgdir}/usr/lib/${_pkgname}"
41
install -dm755 "${_libdir}"
42
43
cp -a dist package.json node_modules "${_libdir}/"
44
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
45
install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE"
46
install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
47
if [[ -d docs ]]; then
48
install -dm755 "${pkgdir}/usr/share/doc/${_pkgname}"
49
install -Dm644 docs/*.md "${pkgdir}/usr/share/doc/${_pkgname}/"
50
fi
51
52
install -dm755 "${pkgdir}/usr/bin"
53
ln -s "/usr/lib/${_pkgname}/dist/index.js" "${pkgdir}/usr/bin/prompt-exporter"
54
}
55
Changes since previous scan
--- PKGBUILD @ 2026-09-24 15:43+++ PKGBUILD @ 2026-09-25 00:03@@ -2,12 +2,12 @@ pkgname=prompt-exporter-git _pkgname=prompt-exporter-pkgver=2.0.0.r0.g0000000+pkgver=2.0.1.r15.ge6b01fb pkgrel=1 pkgdesc="CLI to sync AI conversation prompts from multiple sources (ChatGPT first)" arch=('any') url="https://github.com/azbarcea/prompt-exporter"-license=('Apache')+license=('Apache-2.0') depends=('nodejs' 'chromium') makedepends=('git' 'npm') provides=("${_pkgname}")Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 17:43:55 | Low | 2 |
| 2026-09-24 15:43:55 | Low | 1 |