c0wrk
LOW
maintainer Zabbius
0 votes
scanned 2026-09-17 15:25:49.288233
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: zabbius <https://github.com/zabbius>
2
# c0wrk CPU flavor — binary repack of the upstream GitHub Release
3
# (https://github.com/v0lka/c0wrk). Nothing is compiled locally: the archive
4
# is the official c0wrk-desktop-linux-<arch>.tar.gz built by
5
# .github/workflows/release.yml (wails build + CPU ONNX Runtime + embedding
6
# model), pinned here by its sha256.
7
#
8
# Symmetric counterpart of c0wrk-cuda: same binary, same layout, CPU-only
9
# ONNX Runtime (no CUDA provider libraries). Both packages provide
10
# `c0wrk-desktop` and conflict with each other, so exactly one flavor can be
11
# installed at a time.
12
#
13
# Layout rationale: the app resolves libonnxruntime.so and models/ RELATIVE to
14
# the real binary path (os.Executable() dereferences the /proc/self/exe
15
# symlink), so the executable tree lives in /opt/c0wrk and /usr/bin/c0wrk-desktop
16
# is an absolute symlink — safe by design.
17
18
pkgname=c0wrk
19
pkgver=0.8.3
20
pkgrel=1
21
pkgdesc='Desktop AI coding-agent built with Wails (Go + React) — CPU flavor, upstream release binaries'
22
arch=(x86_64 aarch64)
23
url='https://github.com/v0lka/c0wrk'
24
license=(MIT)
25
depends=(gtk3 webkit2gtk-4.1)
26
provides=(c0wrk-desktop)
27
conflicts=(c0wrk-desktop c0wrk-cuda c0wrk-zabbius-git c0wrk-zabbius-cuda-git)
28
options=(!strip)
29
30
# Version-independent files: LICENSE and the 512x512 app icon are taken from
31
# the same tag as the binary (release archives do not ship them); the desktop
32
# entry is local. Kept on single lines — bump-release.sh rewrites these arrays
33
# wholesale.
34
source=("LICENSE::$url/raw/v$pkgver/LICENSE" 'c0wrk.desktop' 'c0wrk.png')
35
sha256sums=('26a0f4863f365c987a6762b0a48e987136543118989b2f00f2d57c70a45ffd15' '817980d6896b98a304ade9b151125408e83bdc00c0e7f006eb5f6d7bb486fe62' '7004f261089ce6744435156a4c6952e2d4d87ad6eec1a1a9af347ae6a1f76938')
36
37
source_x86_64=("$url/releases/download/v$pkgver/c0wrk-desktop-linux-amd64.tar.gz")
38
sha256sums_x86_64=('4ec668f052c590d0d09c40d9e9a88ff580ac20d8d03740db9891797c9d771e3c')
39
40
source_aarch64=("$url/releases/download/v$pkgver/c0wrk-desktop-linux-arm64.tar.gz")
41
sha256sums_aarch64=('db46c4039a25bbf8eb364c68269f635c08ad96b42ee7b72b0193055fb8f78459')
42
43
package() {
44
cd "$srcdir"
45
46
# /opt/c0wrk application tree (binary + CPU ONNX Runtime + embedding
47
# model, all resolved by the app relative to the real executable path).
48
# The internal .onnxruntime-version stamp files are NOT packaged — they
49
# only matter for the Makefile stamp policy during a source build.
50
install -Dm755 c0wrk-desktop "$pkgdir/opt/c0wrk/c0wrk-desktop"
51
install -Dm755 libonnxruntime.so "$pkgdir/opt/c0wrk/libonnxruntime.so"
52
install -Dm644 models/jina-v2-small.onnx "$pkgdir/opt/c0wrk/models/jina-v2-small.onnx"
53
install -Dm644 models/jina-v2-small-tokenizer.json "$pkgdir/opt/c0wrk/models/jina-v2-small-tokenizer.json"
54
55
# Absolute symlink: os.Executable() dereferences it to /opt/c0wrk, so the
56
# app still finds libonnxruntime.so and models/ next to the real binary.
57
install -d "$pkgdir/usr/bin"
58
ln -s /opt/c0wrk/c0wrk-desktop "$pkgdir/usr/bin/c0wrk-desktop"
59
60
# Desktop entry, icon and license.
61
install -Dm644 c0wrk.desktop "$pkgdir/usr/share/applications/c0wrk.desktop"
62
install -Dm644 c0wrk.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/c0wrk.png"
63
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
64
}
65
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 15:25:49 | Low | 1 |