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
This commit is contained in:
2026-11-27 17:13:06 +01:00
parent a469697af7
commit fc253126a7
51 changed files with 8437 additions and 24 deletions
+29 -4
View File
@@ -30,12 +30,20 @@
},
"plugins": {
"deep-link": {
"desktop": { "schemes": ["knock"] }
"desktop": {
"schemes": [
"knock"
]
}
}
},
"bundle": {
"active": true,
"targets": ["deb", "rpm", "appimage"],
"targets": [
"deb",
"rpm",
"appimage"
],
"category": "DeveloperTool",
"shortDescription": "API client for REST, GraphQL and WebSocket",
"longDescription": "knock is an offline desktop API client that stores collections as plain YAML files.",
@@ -48,8 +56,25 @@
"icons/icon.ico"
],
"linux": {
"deb": { "depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0"] },
"rpm": { "depends": ["webkit2gtk4.1"] }
"deb": {
"depends": [
"libwebkit2gtk-4.1-0",
"libgtk-3-0"
],
"desktopTemplate": "../packaging/linux/knock.desktop.hbs",
"files": {
"/usr/bin/knock": "../target/release/knock"
}
},
"rpm": {
"depends": [
"webkit2gtk4.1"
],
"desktopTemplate": "../packaging/linux/knock.desktop.hbs",
"files": {
"/usr/bin/knock": "../target/release/knock"
}
}
}
}
}