Files
knock/packaging/arch/knock-bin/PKGBUILD
T
JoshiCodes fc253126a7 GraphQL, WebSocket, import, runner and CLI (M5, M6) plus packaging
- GraphQL editor with schema introspection, cached schema,
  autocomplete and explorer
- WebSocket: auth and subprotocols in the handshake, text/JSON/hex/file
  messages, saved messages, live log with filter, search and export,
  reconnect with backoff
- Import from Postman (collections and environments), Bruno, Insomnia,
  OpenAPI/Swagger and cURL; imported scripts are kept as docs, never run;
  credentials move to the gitignored secrets file
- Code snippets for cURL, fetch, Python, HTTPie, Go, PowerShell;
  Postman export
- Runner for folders and collections with JSON and JUnit reports
- knock CLI: send, run, import, auth login/debug/logout
- Large JSON responses parsed off the main thread
- PKGBUILDs, desktop entry with knock:// handler, CI workflow, README
2026-11-27 17:13:06 +01:00

20 lines
778 B
Bash

# Maintainer: Joshua <joshua at joshicodes dot de>
pkgname=knock-bin
pkgver=0.1.0
pkgrel=1
pkgdesc="Offline desktop API client for REST, GraphQL and WebSocket with plain-file collections (binary release)"
arch=('x86_64')
url="https://git.joshicodes.de/JoshiCodes/knock"
license=('MIT')
depends=('webkit2gtk-4.1' 'gtk3' 'libsecret' 'hicolor-icon-theme')
optdepends=('kwallet: store secrets in KWallet' 'gnome-keyring: store secrets in GNOME Keyring')
provides=('knock')
conflicts=('knock')
source=("knock_${pkgver}_amd64.deb::$url/releases/download/v$pkgver/knock_${pkgver}_amd64.deb")
sha256sums=('SKIP')
package() {
bsdtar -xf data.tar.* -C "$pkgdir"
install -Dm644 "$pkgdir/usr/share/doc/knock/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" 2>/dev/null || true
}