Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Folder Example</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1>ποΈ Folder Serving Example</h1>
<p>
This page is served from a folder using the <code>folder=</code> parameter in
<code>launch_window()</code>.
</p>
<div class="info-box">
<h2>How it works:</h2>
<ul>
<li>
The <code>web/</code> folder contains this <code>index.html</code> and a
<code>style.css</code> file
</li>
<li>The folder path is passed to <code>env.launch_window(folder="path/to/web")</code></li>
<li>The provider automatically serves the folder contents</li>
<li>External resources (CSS, JS, images) are loaded relative to index.html</li>
</ul>
</div>
<div class="features">
<h2>Benefits:</h2>
<div class="feature-grid">
<div class="feature-card">
<span class="icon">π</span>
<h3>File Structure</h3>
<p>Organize your UI in separate files instead of inline HTML</p>
</div>
<div class="feature-card">
<span class="icon">π¨</span>
<h3>External CSS</h3>
<p>Keep your styles in separate CSS files for better maintainability</p>
</div>
<div class="feature-card">
<span class="icon">β‘</span>
<h3>Fast Development</h3>
<p>Edit files directly and reload without rebuilding</p>
</div>
<div class="feature-card">
<span class="icon">π§</span>
<h3>Multi-Provider</h3>
<p>Works with both webtop and computer providers</p>
</div>
</div>
</div>
<div class="demo-section">
<h2>Interactive Demo:</h2>
<button class="demo-button" onclick="handleClick()">Click Me!</button>
<p id="click-result" class="result"></p>
</div>
</div>
<script>
function handleClick() {
const result = document.getElementById('click-result');
result.textContent = 'β
Button clicked successfully!';
result.style.display = 'block';
setTimeout(() => {
result.style.display = 'none';
}, 3000);
}
// Display current timestamp
const timestamp = new Date().toLocaleString();
console.log('Page loaded at:', timestamp);
</script>
</body>
</html>