Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "desktop",
"description": "enables the default permissions for desktop platforms",
"windows": ["main"],
"platforms": ["linux", "macOS", "windows"],
"permissions": [
"core:default",
"core:webview:allow-set-webview-zoom",
"core:window:allow-start-dragging",
"core:window:allow-set-theme",
"core:window:allow-get-all-windows",
"core:event:allow-listen",
"shell:allow-spawn",
"shell:allow-open",
"core:app:allow-set-app-theme",
"core:window:allow-set-focus",
"os:default",
"opener:default",
"log:default",
"core:webview:allow-create-webview-window",
"opener:allow-open-url",
"opener:allow-open-path",
"opener:allow-reveal-item-in-dir",
"store:default",
"vector-db:default",
"rag:default",
"websearch:default",
"llamacpp:default",
"deep-link:default",
"hardware:default",
{
"identifier": "http:default",
"allow": [
{
"url": "https://*:*"
},
{
"url": "http://*:*"
}
],
"deny": []
},
{
"identifier": "shell:allow-execute",
"allow": []
},
{
"identifier": "opener:allow-open-url",
"description": "opens the default permissions for the core module",
"windows": ["*"],
"allow": [
{
"url": "https://*"
},
{
"url": "http://127.0.0.1:*"
},
{
"url": "http://0.0.0.0:*"
}
]
},
{
"identifier": "opener:allow-open-path",
"description": "Open a Cowork artifact in the OS default application. Scoped to any path because a Cowork project folder is user-chosen and can live anywhere. Opening hands the file to another application and reads nothing into the window, which is why this stays broad while the assetProtocol scope is granted per folder at runtime.",
"windows": ["*"],
"allow": [
{
"path": "**"
}
]
}
]
}