mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:19:41 +01:00
- knock-core: YAML collection format with unknown-field round trip, variable resolution across scopes with secrets and dynamic values, HTTP engine with manual redirects, cookie jar and large-body spill, basic/bearer/API key auth with debug output, assertions and extracts - Tauri app: collection commands, file watcher, SQLite history, keyring-backed secrets - Svelte UI: sidebar tree, tabs, request editor, response viewer, JSON form/code editor with schema hints, environments, settings
56 lines
1.6 KiB
JSON
56 lines
1.6 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"] },
|
|
"rpm": { "depends": ["webkit2gtk4.1"] }
|
|
}
|
|
}
|
|
}
|