SnapRun is a powerful Windows automation platform that combines the simplicity of Rhai scripting with advanced system integration capabilities. Built with Tauri, Rust, and React, it provides a modern, secure, and efficient environment for automating Windows tasks.
- Features Overview - Complete list of capabilities
- Getting Started - Installation and first steps
- User Guide - How to use SnapRun
- Script Reference - Available functions and examples
- API Documentation - Complete function reference
- Installation Guide - Detailed setup instructions
- FAQ - Common questions and answers
- Contributing - How to contribute to the project
- Changelog - Version history and updates
SnapRun transforms Windows automation from complex batch scripts and PowerShell into simple, readable Rhai scripts. Whether you're a system administrator, developer, or power user, SnapRun makes automation accessible and powerful.
- 🎯 Simple Syntax: Rhai's Rust-like syntax is easy to learn and read
- 🔒 Secure: Sandboxed execution environment with controlled system access
- ⚡ Fast: Native performance with Rust backend
- 🎨 Modern UI: Glass-effect interface with dark theme support
- 🔧 Extensible: Rich API with file system, process, and UI functions
- 📦 Portable: Single executable with optional system integration
- Language: Rhai (Rust-like syntax)
- Features: Variables, functions, control flow, error handling
- Safety: Sandboxed execution with resource limits
- File System: Read, write, organize, and manage files
- Process Management: Execute commands, start applications
- UI Automation: Show dialogs, render markdown, capture input
- Environment: Access variables, system information
- Glass Effects: Windows 10+ transparency with blur effects
- System Tray: Background operation with global shortcuts
- Script Management: Discover, organize, and run scripts easily
- Real-time Output: Live script execution feedback
- OS: Windows 10 version 1809 (build 17763) or later
- RAM: 256 MB available memory
- Storage: 50 MB free disk space
- Architecture: x64 (64-bit)
- OS: Windows 11 or Windows 10 21H2+
- RAM: 512 MB available memory
- Storage: 100 MB free disk space
- Permissions: User-level (admin not required for basic usage)
- Log Management: Rotate, compress, and archive log files
- System Monitoring: Check disk space, memory usage, services
- Backup Automation: Automated file backup and synchronization
- Cleanup Scripts: Remove temporary files, clear caches
- Build Automation: Compile projects, run tests, deploy applications
- File Organization: Organize downloads, sort project files
- Environment Setup: Configure development environments
- Code Generation: Generate boilerplate code and configurations
- File Organization: Sort photos, documents, and downloads
- System Maintenance: Clean temporary files, optimize storage
- Daily Tasks: Automated routine computer tasks
- Document Processing: Batch process text files, generate reports
- Markdown Processing: Convert and render markdown documents
- File Conversion: Batch convert file formats
- Data Processing: Parse CSV, JSON, and text files
- Report Generation: Create automated status reports
src/
├── App.tsx # Main application component
├── components/ # UI components
│ ├── ScriptSearch.tsx # Script discovery and search
│ ├── DemoButton.tsx # Built-in script launchers
│ └── ...
├── services/ # Frontend services
└── assets/ # Static resources
src-tauri/src/
├── main.rs # Application entry point
├── lib.rs # System tray and window management
├── script_manager.rs # Script discovery and management
├── rhai_engine.rs # Rhai scripting engine integration
├── fs_kit.rs # File system operations
├── process_kit.rs # Process execution
└── kits/ # Function modules
Built-in Scripts: C:\Program Files\SnapRun\Scripts\built_in_scripts\
User Scripts: C:\Users\{user}\Documents\SnapRun\Scripts\
Environment Variables: SnapRun_HOME, SnapRun_SCRIPTS
SnapRun provides three installer packages to suit different deployment needs:
- MSI Installer - Windows Installer package for enterprise deployment
- NSIS Installer - Compact installer with custom options
- Inno Setup Installer - Feature-rich installer with advanced configuration
- Portable Executable - Standalone executable requiring no installation
All installers include:
- Complete application with dependencies
- 12 built-in example scripts
- Sample custom scripts
- Environment variable setup
- File association for
.rhaifiles - Desktop and Start Menu shortcuts
- Rhai Language: Official Documentation
- Tauri Framework: Tauri Documentation
- Rust Language: The Rust Programming Language
- React Library: React Documentation
- Issues: Report bugs and request features on GitHub Issues
- Discussions: Join conversations on GitHub Discussions
- Documentation: This documentation is continuously updated
- Examples: Check the
user_scripts/built_in_scripts/directory for examples
SnapRun is released under the MIT License. See LICENSE file for details.
Next: Features Overview | Getting Started