Files
knock/src-tauri/tauri.conf.json
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

81 lines
2.0 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "knock",
"mainBinaryName": "knock-app",
"version": "0.1.0",
"identifier": "de.joshicodes.knock",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"withGlobalTauri": false,
"windows": [
{
"label": "main",
"title": "knock",
"width": 1360,
"height": 860,
"minWidth": 820,
"minHeight": 520,
"decorations": false,
"backgroundColor": "#15181E"
}
],
"security": {
"csp": "default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost blob: data:; style-src 'self' 'unsafe-inline'; font-src 'self' data:; frame-src blob: data:; connect-src ipc: http://ipc.localhost"
}
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": [
"knock"
]
}
}
},
"bundle": {
"active": true,
"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.",
"license": "MIT",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
],
"linux": {
"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"
}
}
}
}
}