This guide walks you through setting up a development environment for QueryBox.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/felixdotgo/querybox/llms.txt
Use this file to discover all available pages before exploring further.
Install Dependencies
Required Tools
Install the following tools before getting started:Task (Build Tool)
Wails CLI
Protobuf Tools (Optional)
Only needed if you plan to modify.proto files:
Verify Installation
Check that all tools are properly installed:Clone the Repository
Clone the QueryBox repository to your local machine:Install Go Dependencies
Go dependencies are managed via Go modules and will be automatically downloaded when you build or run the project:Install Frontend Dependencies
The frontend dependencies are managed by the Wails build system and will be installed automatically on first build.Verify Setup
Verify your development environment is properly configured:Platform-Specific Notes
Linux
On Linux, ensure you have a Secret Service provider running for credential storage:- GNOME Keyring (GNOME desktop)
- KWallet (KDE desktop)
data/credentials.db.
macOS
No additional setup required. QueryBox uses the macOS Keychain for credential storage.Windows
No additional setup required. QueryBox uses the Windows Credential Manager.Plugin Directory
Plugins are stored in the following locations:- Bundled:
bin/plugins/(in the repository) - User directory:
- Linux:
$XDG_CONFIG_HOME/querybox/plugins - macOS:
~/Library/Application Support/querybox/plugins - Windows:
%APPDATA%\querybox\plugins
- Linux:
Troubleshooting
”wails3: command not found”
Ensure your$GOPATH/bin is in your $PATH:
.bashrc, .zshrc, etc.) to make it permanent.
Plugin Build Fails
If plugin builds fail, check that:- Go 1.26+ is installed
- You’re in the project root directory
- The
bin/plugins/directory exists (created automatically by Task)
Frontend Build Errors
If you encounter frontend build errors:- Ensure Node.js 18+ is installed
- Try clearing the build cache:
- Rebuild with
wails3 dev
Next Steps
Now that your environment is set up, learn how to:Building
Build the application and plugins
Testing
Run and write tests