mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:19:41 +01:00
- 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
20 lines
778 B
Bash
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
|
|
}
|