Add Tauri config, Cargo.toml, capabilities
This commit is contained in:
parent
c6d8e902f6
commit
8abb0599f6
5 changed files with 146 additions and 0 deletions
56
src-tauri/tauri.conf.json
Normal file
56
src-tauri/tauri.conf.json
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Claude Usage Widget",
|
||||
"version": "0.1.0",
|
||||
"identifier": "com.megaproxy.claude-usage-widget",
|
||||
"build": {
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"beforeBuildCommand": "pnpm build",
|
||||
"devUrl": "http://localhost:1420",
|
||||
"frontendDist": "../dist"
|
||||
},
|
||||
"app": {
|
||||
"windows": [
|
||||
{
|
||||
"label": "main",
|
||||
"title": "Claude Usage",
|
||||
"width": 280,
|
||||
"height": 360,
|
||||
"minWidth": 280,
|
||||
"minHeight": 360,
|
||||
"resizable": false,
|
||||
"decorations": false,
|
||||
"transparent": true,
|
||||
"alwaysOnTop": true,
|
||||
"skipTaskbar": true,
|
||||
"shadow": false,
|
||||
"center": false,
|
||||
"x": 40,
|
||||
"y": 40,
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'"
|
||||
}
|
||||
},
|
||||
"plugins": {
|
||||
"autostart": {
|
||||
"args": ["--minimized"]
|
||||
}
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": ["nsis"],
|
||||
"icon": [
|
||||
"icons/32x32.png",
|
||||
"icons/128x128.png",
|
||||
"icons/128x128@2x.png",
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
],
|
||||
"category": "Utility",
|
||||
"shortDescription": "At-a-glance Claude Code usage on the Windows desktop",
|
||||
"longDescription": "Floating, always-on-top widget that visualizes your current 5-hour Claude Code session block, the past 7 days of usage, and a per-model breakdown. Reads JSONL transcripts directly from the Claude Code config directory — no Anthropic API, no auth."
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue