ValeDesk
Health Gecti
- License รขโฌโ License: NOASSERTION
- Description รขโฌโ Repository has a description
- Active repo รขโฌโ Last push 2 days ago
- Community trust รขโฌโ 317 GitHub stars
Code Basarisiz
- fs module รขโฌโ File system access in package.json
- process.env รขโฌโ Environment variable access in proxy-logger.js
- fs module รขโฌโ File system access in proxy-logger.js
- child_process รขโฌโ Shell command execution capability in scripts/build-sidecar.cjs
- execSync รขโฌโ Synchronous shell command execution in scripts/build-sidecar.cjs
- fs module รขโฌโ File system access in scripts/build-sidecar.cjs
- child_process รขโฌโ Shell command execution capability in scripts/build_sidecar.cjs
- child_process รขโฌโ Shell command execution capability in scripts/dev-clean.cjs
- execSync รขโฌโ Synchronous shell command execution in scripts/dev-clean.cjs
- child_process รขโฌโ Shell command execution capability in scripts/dev-electron-delayed.cjs
- process.env รขโฌโ Environment variable access in scripts/dev-electron-delayed.cjs
Permissions Gecti
- Permissions รขโฌโ No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Versatile Almost Local, Eventually Reasonable Assistant ๐ซ
ValeDesk
Versatile Almost Local, Eventually Reasonable Assistant
Desktop AI Assistant with Local Model Support
https://github.com/user-attachments/assets/a8c54ce0-2fe0-40c3-8018-026cab9d7483
โจ Features
Core Capabilities
- โ Task Planning โ visual todo panel with progress tracking, persisted per session
- โ Scheduled Tasks โ create reminders and recurring tasks with auto-execution
- โ OpenAI SDK โ full API control, compatible with any OpenAI-compatible endpoint
- โ Local Models โ vLLM, Ollama, LM Studio support
- โ Code Sandboxes โ JavaScript (Node.js vm) and Python (system subprocess) execution
- โ Document Support โ PDF and DOCX text extraction (bundled, works out of the box)
- โ Web Search โ Tavily and Z.AI integration for internet search
- โ Telegram Parsing โ render t.me channels with reactions, views, auto-scroll for older posts
- โ Security โ directory sandboxing for safe file operations
- โ Cross-platform โ Windows, macOS, Linux with proper shell commands
UI/UX Features
- โ Modern Interface โ React + Tauri with smooth auto-scroll and streaming
- โ Message Editing โ edit and resend messages with history truncation
- โ Session Persistence โ sessions survive app restart (SQLite backed)
- โ Session Management โ pin important sessions, search through chat history
- โ Keyboard Shortcuts โ Cmd+Enter/Ctrl+Enter to send messages
- โ Spell Check โ built-in spell checking with context menu suggestions
- โ Permission System โ ask/default modes for tool execution control
Advanced Features
- โ
Memory System โ persistent storage of user preferences in
~/.valera/memory.md - โ Token Tracking โ display input/output tokens and API duration
- โ Optimized Streaming โ requestAnimationFrame-based UI updates (60fps)
- โ Stop Streaming โ interrupt LLM responses at any time
- โ Loop Detection โ automatic detection of stuck tool call loops (5+ sequential same-tool calls)
- โ Request Timeouts โ 5-minute timeout with auto-retry for LLM requests
- โ
Session Logging โ full request/response JSON logs per iteration in
~/.valera/logs/sessions/
๐ค Why ValeDesk?
Open Architecture & Full Control
ValeDesk isn't just another AI assistant โ it's a framework you own. Built with TypeScript and Tauri, every component is transparent and modifiable:
- Readable codebase โ well-structured, documented code you can understand
- Easy customization โ add new tools, modify prompts, change UI without black boxes
- Your rules โ adjust behavior, safety limits, and workflows to match your needs
- No vendor lock-in โ works with any OpenAI-compatible API (vLLM, Ollama, LM Studio)
100% Local & Private
Everything runs on your machine:
- Local inference โ use Ollama, vLLM, or LM Studio for complete privacy
- No data collection โ your conversations never leave your computer
- Offline capable โ works without internet (except web search tools)
- Sandboxed execution โ secure JavaScript sandbox and file operation restrictions
Experiment & Iterate
Perfect for developers, researchers, and AI enthusiasts:
- Test local models โ compare Qwen, Llama, DeepSeek, and others
- Debug API calls โ full request/response logs for every interaction
- Prototype tools โ add custom functions in minutes
- Monitor performance โ track tokens, timing, and resource usage
Real Use Cases
# Run Ollama locally (free, 100% private)
ollama serve
# Configure ValeDesk: http://localhost:11434/v1
# Or use vLLM for faster inference
vllm serve Qwen/Qwen2.5-14B-Instruct --port 8000
# Configure ValeDesk: http://localhost:8000/v1
TL;DR: ValeDesk gives you the power of ChatGPT/Claude with the freedom of open source and privacy of local execution.
๐ Quick Start
Prerequisites
- Rust 1.74+ (install)
- Node.js 20+
- Python 3 (for
execute_pythontool)
Development (macOS/Linux)
# Clone and enter
git clone https://github.com/vakovalskii/ValeDesk.git
cd ValeDesk
# Install dependencies
npm install
# Run in development mode
make dev
Tests
npm run test
Build Standalone App
# Build DMG (macOS)
make bundle
# Output: ValeDesk-0.0.8.dmg
Manual Build Steps
# 1. Build sidecar binary
npm run build:sidecar
# 2. Build Tauri app
cd src-tauri && cargo build --release
# 3. Create DMG
hdiutil create -volname "ValeDesk" \
-srcfolder src-tauri/target/release/bundle/macos/ValeDesk.app \
-ov -format UDZO ValeDesk-0.0.8.dmg
Windows (coming soon)
Windows build requires cross-compilation setup. Check .github/workflows/ for CI builds.
Configuration
- Click Settings (โ๏ธ) in the app
- Configure your API:
- API Key โ your key (or
dummy-keyfor local models) - Base URL โ API endpoint (must include
/v1) - Model Name โ model identifier
- Temperature โ 0.0-2.0 (default: 0.3)
- API Key โ your key (or
- Click Save Settings
Example Configurations
Local vLLM:
{
"apiKey": "dummy-key",
"baseUrl": "http://localhost:8000/v1",
"model": "qwen3-30b-a3b-instruct-2507"
}
OpenAI:
{
"apiKey": "sk-...",
"baseUrl": "https://api.openai.com/v1",
"model": "gpt-4"
}
๐ฏ Skills Marketplace
Browse and install verified skills for ValeDesk: Skills Marketplace
๐ ๏ธ Available Tools
All tools follow snake_case naming convention (verb_noun pattern):
File Operations
| Tool | Description |
|---|---|
run_command |
Execute shell commands (PowerShell/bash) |
read_file |
Read text file contents |
write_file |
Create new files |
edit_file |
Modify files (search & replace) |
search_files |
Find files by glob pattern (*.pdf, src/**/*.ts) |
search_text |
Search text content in files (grep) |
read_document |
Extract text from PDF/DOCX (max 10MB) |
Code Execution
| Tool | Description |
|---|---|
execute_js |
Run JavaScript in secure Node.js vm sandbox |
execute_python |
Run Python code (system Python with pip packages) |
Web Tools
| Tool | Description |
|---|---|
search_web |
Search the internet (Tavily/Z.AI) |
extract_page |
Extract full page content (Tavily only) |
read_page |
Read web page content (Z.AI Reader) |
render_page |
Render JS-heavy pages via Chromium (Telegram, SPAs) |
Task Management
| Tool | Description |
|---|---|
manage_todos |
Create/update task plans with visual progress tracking |
Scheduler
| Tool | Description |
|---|---|
schedule_task |
Create, list, update, delete scheduled tasks |
Features:
- One-time reminders โ "remind me in 30 minutes"
- Recurring tasks โ every minute, hour, day, week, month
- Auto-execution โ tasks with prompts automatically start new chat sessions
- Native notifications โ macOS system notifications
- Default model โ set preferred model for scheduled tasks
Memory
| Tool | Description |
|---|---|
manage_memory |
Store/read persistent user preferences |
Security: All file operations are sandboxed to the workspace folder only.
๐ฆ Building
Windows
# Build executable and installer
npm run dist:win
# Output: dist/ValeDesk Setup 0.0.8.exe
macOS
# Build DMG (ARM64)
npm run dist:mac-arm64
# Build DMG (Intel x64)
npm run dist:mac-x64
Linux
# Build AppImage
npm run dist:linux
๐ Data Storage
Application Data
- Windows:
C:\Users\YourName\AppData\Roaming\ValeDesk\ - macOS:
~/Library/Application Support/ValeDesk/ - Linux:
~/.config/ValeDesk/
Files:
sessions.dbโ SQLite database with chat history, todos, scheduled tasks, and settingsapi-settings.jsonโ API configurationskills-settings.jsonโ Skills marketplace configuration
Global Data
~/.valera/memory.mdโ persistent memory storage~/.valera/logs/sessions/{session-id}/โ per-session API logs:turn-001-request.jsonโ full request (model, messages, tools, temperature)turn-001-response.jsonโ full response (usage, content, tool_calls)
๐ ๏ธ Contributing
See CURSOR.md for development guidelines and project architecture.
โญ Star History
๐ License
ValeDesk Community License โ free for individuals and companies with revenue under $1M/year. Commercial license required for larger organizations.
See LICENSE for full terms.
Made with โค๏ธ by Valerii Kovalskii
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi