vibesurf 0.1.28__py3-none-any.whl → 0.1.30__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vibesurf might be problematic. Click here for more details.
- vibe_surf/_version.py +2 -2
- vibe_surf/agents/vibe_surf_agent.py +2 -0
- vibe_surf/backend/shared_state.py +2 -2
- vibe_surf/chrome_extension/config.js +8 -0
- vibe_surf/chrome_extension/scripts/ui-manager.js +146 -0
- vibe_surf/chrome_extension/sidepanel.html +2 -16
- vibe_surf/tools/browser_use_tools.py +21 -5
- {vibesurf-0.1.28.dist-info → vibesurf-0.1.30.dist-info}/METADATA +56 -24
- {vibesurf-0.1.28.dist-info → vibesurf-0.1.30.dist-info}/RECORD +13 -13
- {vibesurf-0.1.28.dist-info → vibesurf-0.1.30.dist-info}/WHEEL +0 -0
- {vibesurf-0.1.28.dist-info → vibesurf-0.1.30.dist-info}/entry_points.txt +0 -0
- {vibesurf-0.1.28.dist-info → vibesurf-0.1.30.dist-info}/licenses/LICENSE +0 -0
- {vibesurf-0.1.28.dist-info → vibesurf-0.1.30.dist-info}/top_level.txt +0 -0
vibe_surf/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
31
|
+
__version__ = version = '0.1.30'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 1, 30)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
|
@@ -501,6 +501,8 @@ async def _vibesurf_agent_node_impl(state: VibeSurfState) -> VibeSurfState:
|
|
|
501
501
|
return state
|
|
502
502
|
|
|
503
503
|
except Exception as e:
|
|
504
|
+
import traceback
|
|
505
|
+
traceback.print_exc()
|
|
504
506
|
logger.error(f"❌ VibeSurf agent failed: {e}")
|
|
505
507
|
state.final_response = f"Task execution failed: {str(e)}"
|
|
506
508
|
state.is_complete = True
|
|
@@ -353,13 +353,13 @@ async def initialize_vibesurf_components():
|
|
|
353
353
|
browser_execution_path = os.getenv("BROWSER_EXECUTION_PATH", "")
|
|
354
354
|
assert os.path.exists(browser_execution_path), "Please set the BROWSER_EXECUTION_PATH environment variable"
|
|
355
355
|
browser_user_data = os.getenv("BROWSER_USER_DATA", "")
|
|
356
|
-
if not browser_user_data:
|
|
356
|
+
if not browser_user_data or not os.path.exists(browser_user_data):
|
|
357
357
|
browser_user_data = os.path.join(workspace_dir, "browser_user_data",
|
|
358
358
|
f"{os.path.basename(browser_execution_path)}-profile")
|
|
359
359
|
|
|
360
360
|
# Get VibeSurf extension path
|
|
361
361
|
vibesurf_extension = os.getenv("VIBESURF_EXTENSION", "")
|
|
362
|
-
if not vibesurf_extension.strip():
|
|
362
|
+
if not vibesurf_extension.strip() or not os.path.exists(vibesurf_extension):
|
|
363
363
|
current_file = Path(__file__)
|
|
364
364
|
project_root = current_file.parent.parent.absolute()
|
|
365
365
|
vibesurf_extension = str(project_root / "chrome_extension")
|
|
@@ -27,6 +27,14 @@ const VIBESURF_CONFIG = {
|
|
|
27
27
|
autoScroll: true,
|
|
28
28
|
compactMode: false
|
|
29
29
|
},
|
|
30
|
+
|
|
31
|
+
// Social media links
|
|
32
|
+
SOCIAL_LINKS: {
|
|
33
|
+
github: "https://github.com/vibesurf-ai/VibeSurf",
|
|
34
|
+
discord: "https://discord.gg/EZ2YnUXP",
|
|
35
|
+
x: "https://x.com/warmshao",
|
|
36
|
+
website: "https://vibe-surf.com/"
|
|
37
|
+
},
|
|
30
38
|
|
|
31
39
|
// Debug mode
|
|
32
40
|
DEBUG: false
|
|
@@ -31,6 +31,7 @@ class VibeSurfUIManager {
|
|
|
31
31
|
this.initializeManagers();
|
|
32
32
|
this.bindEvents();
|
|
33
33
|
this.setupSessionListeners();
|
|
34
|
+
this.initializeSocialLinks();
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
bindElements() {
|
|
@@ -3468,6 +3469,151 @@ class VibeSurfUIManager {
|
|
|
3468
3469
|
return skills.length > 0 ? skills : null;
|
|
3469
3470
|
}
|
|
3470
3471
|
|
|
3472
|
+
// Initialize social links from config
|
|
3473
|
+
initializeSocialLinks() {
|
|
3474
|
+
const socialLinksContainer = document.getElementById('social-links-container');
|
|
3475
|
+
if (!socialLinksContainer) {
|
|
3476
|
+
console.warn('[UIManager] Social links container not found');
|
|
3477
|
+
return;
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
// Get social links from config
|
|
3481
|
+
const socialLinks = window.VIBESURF_CONFIG?.SOCIAL_LINKS;
|
|
3482
|
+
if (!socialLinks) {
|
|
3483
|
+
console.warn('[UIManager] Social links not found in config');
|
|
3484
|
+
return;
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
// Clear existing content
|
|
3488
|
+
socialLinksContainer.innerHTML = '';
|
|
3489
|
+
|
|
3490
|
+
// Handle website link separately by making VibeSurf logo/text clickable
|
|
3491
|
+
const websiteUrl = socialLinks.website;
|
|
3492
|
+
if (websiteUrl) {
|
|
3493
|
+
this.initializeVibeSurfWebsiteLink(websiteUrl);
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
// Create social link elements (excluding website)
|
|
3497
|
+
Object.entries(socialLinks).forEach(([platform, url]) => {
|
|
3498
|
+
if (platform !== 'website') {
|
|
3499
|
+
const link = this.createSocialLink(platform, url);
|
|
3500
|
+
if (link) {
|
|
3501
|
+
socialLinksContainer.appendChild(link);
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
});
|
|
3505
|
+
}
|
|
3506
|
+
|
|
3507
|
+
// Make VibeSurf text clickable to link to website
|
|
3508
|
+
initializeVibeSurfWebsiteLink(websiteUrl) {
|
|
3509
|
+
// Only find elements that contain "VibeSurf" text specifically
|
|
3510
|
+
const allElements = document.querySelectorAll('*');
|
|
3511
|
+
const vibeSurfTextElements = [];
|
|
3512
|
+
|
|
3513
|
+
allElements.forEach(element => {
|
|
3514
|
+
// Only target elements that contain "VibeSurf" text and are likely text elements
|
|
3515
|
+
if (element.textContent &&
|
|
3516
|
+
element.textContent.trim() === 'VibeSurf' &&
|
|
3517
|
+
element.children.length === 0) { // Only leaf text nodes, not containers
|
|
3518
|
+
vibeSurfTextElements.push(element);
|
|
3519
|
+
}
|
|
3520
|
+
});
|
|
3521
|
+
|
|
3522
|
+
// Make only VibeSurf text elements clickable
|
|
3523
|
+
vibeSurfTextElements.forEach(element => {
|
|
3524
|
+
if (element && !element.querySelector('a')) { // Don't double-wrap already linked elements
|
|
3525
|
+
element.style.cursor = 'pointer';
|
|
3526
|
+
element.style.transition = 'opacity 0.2s ease';
|
|
3527
|
+
element.setAttribute('title', 'Login to early access alpha features');
|
|
3528
|
+
|
|
3529
|
+
// Add hover effect
|
|
3530
|
+
element.addEventListener('mouseenter', () => {
|
|
3531
|
+
element.style.opacity = '0.8';
|
|
3532
|
+
});
|
|
3533
|
+
|
|
3534
|
+
element.addEventListener('mouseleave', () => {
|
|
3535
|
+
element.style.opacity = '1';
|
|
3536
|
+
});
|
|
3537
|
+
|
|
3538
|
+
// Add click handler
|
|
3539
|
+
element.addEventListener('click', (e) => {
|
|
3540
|
+
e.preventDefault();
|
|
3541
|
+
e.stopPropagation();
|
|
3542
|
+
this.openWebsiteLink(websiteUrl);
|
|
3543
|
+
});
|
|
3544
|
+
}
|
|
3545
|
+
});
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
// Open website link in new tab
|
|
3549
|
+
async openWebsiteLink(url) {
|
|
3550
|
+
try {
|
|
3551
|
+
console.log('[UIManager] Opening VibeSurf website:', url);
|
|
3552
|
+
|
|
3553
|
+
const result = await chrome.runtime.sendMessage({
|
|
3554
|
+
type: 'OPEN_FILE_URL',
|
|
3555
|
+
data: { fileUrl: url }
|
|
3556
|
+
});
|
|
3557
|
+
|
|
3558
|
+
if (!result || !result.success) {
|
|
3559
|
+
throw new Error(result?.error || 'Failed to open website');
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
console.log('[UIManager] Successfully opened website tab:', result.tabId);
|
|
3563
|
+
} catch (error) {
|
|
3564
|
+
console.error('[UIManager] Error opening website:', error);
|
|
3565
|
+
this.showNotification(`Failed to open website: ${error.message}`, 'error');
|
|
3566
|
+
}
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
// Create individual social link element
|
|
3570
|
+
createSocialLink(platform, url) {
|
|
3571
|
+
const link = document.createElement('a');
|
|
3572
|
+
link.href = url;
|
|
3573
|
+
link.className = 'social-link';
|
|
3574
|
+
link.setAttribute('data-platform', platform);
|
|
3575
|
+
link.setAttribute('target', '_blank');
|
|
3576
|
+
link.setAttribute('rel', 'noopener noreferrer');
|
|
3577
|
+
|
|
3578
|
+
// Set title and tooltip based on platform
|
|
3579
|
+
let title = '';
|
|
3580
|
+
let svg = '';
|
|
3581
|
+
|
|
3582
|
+
switch (platform.toLowerCase()) {
|
|
3583
|
+
case 'github':
|
|
3584
|
+
title = 'GitHub';
|
|
3585
|
+
svg = `<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3586
|
+
<path d="M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z" fill="currentColor"/>
|
|
3587
|
+
</svg>`;
|
|
3588
|
+
break;
|
|
3589
|
+
|
|
3590
|
+
case 'discord':
|
|
3591
|
+
title = 'Discord';
|
|
3592
|
+
svg = `<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3593
|
+
<path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z" fill="currentColor"/>
|
|
3594
|
+
</svg>`;
|
|
3595
|
+
break;
|
|
3596
|
+
|
|
3597
|
+
case 'x':
|
|
3598
|
+
case 'twitter':
|
|
3599
|
+
title = 'X (Twitter)';
|
|
3600
|
+
svg = `<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3601
|
+
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" fill="currentColor"/>
|
|
3602
|
+
</svg>`;
|
|
3603
|
+
break;
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
default:
|
|
3607
|
+
console.warn(`[UIManager] Unknown social platform: ${platform}`);
|
|
3608
|
+
return null;
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
link.setAttribute('title', title);
|
|
3612
|
+
link.innerHTML = svg;
|
|
3613
|
+
|
|
3614
|
+
return link;
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3471
3617
|
// Export for use in other modules
|
|
3472
3618
|
static exportToWindow() {
|
|
3473
3619
|
if (typeof window !== 'undefined') {
|
|
@@ -36,22 +36,8 @@
|
|
|
36
36
|
<div class="logo-brand">
|
|
37
37
|
<img src="icons/logo.png" alt="VibeSurf" class="logo-image">
|
|
38
38
|
<span class="logo-text">VibeSurf</span>
|
|
39
|
-
<div class="social-links">
|
|
40
|
-
|
|
41
|
-
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
42
|
-
<path d="M12 0C5.374 0 0 5.373 0 12c0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.509 11.509 0 0112 5.803c1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.566 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z" fill="currentColor"/>
|
|
43
|
-
</svg>
|
|
44
|
-
</a>
|
|
45
|
-
<a href="https://discord.gg/WSeRwW2M" class="social-link" title="Discord" data-platform="discord" target="_blank" rel="noopener noreferrer">
|
|
46
|
-
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
47
|
-
<path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z" fill="currentColor"/>
|
|
48
|
-
</svg>
|
|
49
|
-
</a>
|
|
50
|
-
<a href="https://x.com/warmshao" class="social-link" title="X (Twitter)" data-platform="x" target="_blank" rel="noopener noreferrer">
|
|
51
|
-
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
52
|
-
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" fill="currentColor"/>
|
|
53
|
-
</svg>
|
|
54
|
-
</a>
|
|
39
|
+
<div class="social-links" id="social-links-container">
|
|
40
|
+
<!-- Social links will be populated dynamically from config -->
|
|
55
41
|
</div>
|
|
56
42
|
</div>
|
|
57
43
|
<div class="session-info">
|
|
@@ -29,7 +29,7 @@ from browser_use.tools.views import (
|
|
|
29
29
|
InputTextAction,
|
|
30
30
|
NoParamsAction,
|
|
31
31
|
ScrollAction,
|
|
32
|
-
|
|
32
|
+
SearchAction,
|
|
33
33
|
SelectDropdownOptionAction,
|
|
34
34
|
SendKeysAction,
|
|
35
35
|
StructuredOutputAction,
|
|
@@ -370,11 +370,27 @@ class BrowserUseTools(Tools, VibeSurfTools):
|
|
|
370
370
|
# =======================
|
|
371
371
|
|
|
372
372
|
@self.registry.action(
|
|
373
|
-
'Search the query
|
|
374
|
-
param_model=
|
|
373
|
+
'Search the query using the specified search engine. Defaults to DuckDuckGo (recommended) to avoid reCAPTCHA. Options: duckduckgo, google, bing. Query should be concrete and not vague or super long.',
|
|
374
|
+
param_model=SearchAction,
|
|
375
375
|
)
|
|
376
|
-
async def
|
|
377
|
-
|
|
376
|
+
async def search(params: SearchAction, browser_session: AgentBrowserSession):
|
|
377
|
+
import urllib.parse
|
|
378
|
+
|
|
379
|
+
# Encode query for URL safety
|
|
380
|
+
encoded_query = urllib.parse.quote_plus(params.query)
|
|
381
|
+
|
|
382
|
+
# Build search URL based on search engine
|
|
383
|
+
search_engines = {
|
|
384
|
+
'duckduckgo': f'https://duckduckgo.com/?q={encoded_query}',
|
|
385
|
+
'google': f'https://www.google.com/search?q={encoded_query}&udm=14',
|
|
386
|
+
'bing': f'https://www.bing.com/search?q={encoded_query}',
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
if params.search_engine.lower() not in search_engines:
|
|
390
|
+
return ActionResult(
|
|
391
|
+
error=f'Unsupported search engine: {params.search_engine}. Options: duckduckgo, google, bing')
|
|
392
|
+
|
|
393
|
+
search_url = search_engines[params.search_engine.lower()]
|
|
378
394
|
|
|
379
395
|
try:
|
|
380
396
|
# Use AgentBrowserSession's direct navigation method
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vibesurf
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.30
|
|
4
4
|
Summary: VibeSurf: A powerful browser assistant for vibe surfing
|
|
5
5
|
Author: Shao Warm
|
|
6
6
|
License: Apache-2.0
|
|
@@ -37,7 +37,7 @@ Requires-Dist: aiosqlite>=0.21.0
|
|
|
37
37
|
Requires-Dist: rich>=13.0.0
|
|
38
38
|
Requires-Dist: greenlet>=3.2.4
|
|
39
39
|
Requires-Dist: getmac>=0.9.5
|
|
40
|
-
Requires-Dist: browser-use==0.7.
|
|
40
|
+
Requires-Dist: browser-use==0.7.10
|
|
41
41
|
Requires-Dist: markdown-pdf>=1.9
|
|
42
42
|
Requires-Dist: nanoid>=2.0.0
|
|
43
43
|
Requires-Dist: markdownify>=1.2.0
|
|
@@ -71,56 +71,88 @@ If you're as excited about open-source AI browsing as I am, give it a star! ⭐
|
|
|
71
71
|
|
|
72
72
|
## 🛠️ Installation
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
Install uv from [https://docs.astral.sh/uv/getting-started/installation/](https://docs.astral.sh/uv/getting-started/installation/):
|
|
74
|
+
Get VibeSurf up and running in just three simple steps. No complex configuration required.
|
|
76
75
|
|
|
76
|
+
### 1. Install uv
|
|
77
|
+
Install uv package manager from the official website
|
|
78
|
+
|
|
79
|
+
**MacOS/Linux**
|
|
77
80
|
```bash
|
|
78
|
-
# On macOS and Linux
|
|
79
81
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
82
|
+
```
|
|
80
83
|
|
|
81
|
-
|
|
84
|
+
**Windows**
|
|
85
|
+
```bash
|
|
82
86
|
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
|
83
87
|
```
|
|
84
88
|
|
|
85
|
-
###
|
|
89
|
+
### 2. Setup Environment
|
|
90
|
+
Install VibeSurf
|
|
91
|
+
|
|
86
92
|
```bash
|
|
87
|
-
uv venv --python 3.12
|
|
88
93
|
uv pip install vibesurf -U
|
|
89
94
|
```
|
|
90
95
|
|
|
91
|
-
###
|
|
96
|
+
### 3. Launch VibeSurf
|
|
97
|
+
Start the VibeSurf browser assistant
|
|
98
|
+
|
|
92
99
|
```bash
|
|
93
100
|
uv run vibesurf
|
|
94
101
|
```
|
|
95
102
|
|
|
96
103
|
## 👩💻 For Contributors
|
|
97
104
|
|
|
98
|
-
Want to contribute to VibeSurf?
|
|
105
|
+
Want to contribute to VibeSurf? Follow these steps to set up your development environment:
|
|
99
106
|
|
|
100
|
-
###
|
|
101
|
-
Run the backend server directly using uvicorn:
|
|
107
|
+
### 1. Clone Repository
|
|
102
108
|
```bash
|
|
103
|
-
|
|
109
|
+
git clone https://github.com/vibesurf-ai/VibeSurf.git
|
|
110
|
+
cd VibeSurf
|
|
104
111
|
```
|
|
105
112
|
|
|
106
|
-
###
|
|
107
|
-
|
|
113
|
+
### 2. Setup Environment
|
|
114
|
+
**MacOS/Linux**
|
|
108
115
|
```bash
|
|
116
|
+
uv venv --python 3.12
|
|
117
|
+
source .venv/bin/activate
|
|
109
118
|
uv pip install -e .
|
|
110
|
-
uv run vibesurf
|
|
111
119
|
```
|
|
112
120
|
|
|
113
|
-
|
|
114
|
-
|
|
121
|
+
**Windows**
|
|
122
|
+
```bash
|
|
123
|
+
uv venv --python 3.12
|
|
124
|
+
.venv\Scripts\activate
|
|
125
|
+
uv pip install -e .
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### 3. Start Debugging
|
|
129
|
+
**Option 1: Direct Server**
|
|
130
|
+
```bash
|
|
131
|
+
uvicorn vibe_surf.backend.main:app --host 127.0.0.1 --port 9335
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Option 2: CLI Entry**
|
|
135
|
+
```bash
|
|
136
|
+
uv run vibesurf
|
|
137
|
+
```
|
|
138
|
+
## 🗺️ Roadmap
|
|
115
139
|
|
|
116
140
|
We're building VibeSurf to be your ultimate AI browser companion. Here's what's coming next:
|
|
117
141
|
|
|
118
|
-
- [x] **Smart Skills System
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
- [ ] **
|
|
122
|
-
|
|
123
|
-
|
|
142
|
+
- [x] **Smart Skills System** - *Completed*
|
|
143
|
+
Add `/search` for quick information search and `/crawl` for automatic website data extraction. Integrated native APIs for Xiaohongshu, Douyin, Weibo, and YouTube.
|
|
144
|
+
|
|
145
|
+
- [ ] **Powerful Coding Agent** - *In Progress*
|
|
146
|
+
Build a comprehensive coding assistant for data processing and analysis directly in your browser
|
|
147
|
+
|
|
148
|
+
- [ ] **Agentic Browser Workflow** - *Planned*
|
|
149
|
+
Create custom drag-and-drop workflows for auto-login, data collection, and complex browser automation tasks
|
|
150
|
+
|
|
151
|
+
- [ ] **Third-Party Integrations** - *Planned*
|
|
152
|
+
Connect with n8n workflows and other tools to combine browsing with automation
|
|
153
|
+
|
|
154
|
+
- [ ] **Intelligent Memory & Personalization** - *Planned*
|
|
155
|
+
Transform VibeSurf into a truly human-like companion with persistent memory that learns your preferences, habits, and browsing patterns over time
|
|
124
156
|
|
|
125
157
|
|
|
126
158
|
## 🎬 Demo
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
vibe_surf/__init__.py,sha256=WtduuMFGauMD_9dpk4fnRnLTAP6ka9Lfu0feAFNzLfo,339
|
|
2
|
-
vibe_surf/_version.py,sha256=
|
|
2
|
+
vibe_surf/_version.py,sha256=7uECrVBrQp8oMpQ9kKw-f_5Paethxw3N6f1GMwAYpRg,706
|
|
3
3
|
vibe_surf/cli.py,sha256=KAmUBsXfS-NkMp3ITxzNXwtFeKVmXJUDZiWqLcIC0BI,16690
|
|
4
4
|
vibe_surf/common.py,sha256=_WWMxen5wFwzUjEShn3yDVC1OBFUiJ6Vccadi6tuG6w,1215
|
|
5
5
|
vibe_surf/logger.py,sha256=k53MFA96QX6t9OfcOf1Zws8PP0OOqjVJfhUD3Do9lKw,3043
|
|
6
6
|
vibe_surf/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
vibe_surf/agents/browser_use_agent.py,sha256=jeUYV7yk6vyycw6liju_597GdjB3CW_B2wEhn2F0ekk,45957
|
|
8
8
|
vibe_surf/agents/report_writer_agent.py,sha256=pCF2k6VLyO-sSviGBqqIyVD3SLqaZtSqiW3kvNfPY1I,20967
|
|
9
|
-
vibe_surf/agents/vibe_surf_agent.py,sha256=
|
|
9
|
+
vibe_surf/agents/vibe_surf_agent.py,sha256=VoybehPeO4lymN6524eOkHIezFIp6ZabWSE_e5CbyZM,74217
|
|
10
10
|
vibe_surf/agents/views.py,sha256=yHjNJloa-aofVTGyuRy08tBYP_Y3XLqt1DUWOUmHRng,4825
|
|
11
11
|
vibe_surf/agents/prompts/__init__.py,sha256=l4ieA0D8kLJthyNN85FKLNe4ExBa3stY3l-aImLDRD0,36
|
|
12
12
|
vibe_surf/agents/prompts/report_writer_prompt.py,sha256=sZE8MUT1CDLmRzbnbEQzAvTwJjpITgh2Q8g1_eXmkzE,4454
|
|
@@ -14,7 +14,7 @@ vibe_surf/agents/prompts/vibe_surf_prompt.py,sha256=hubN49_aD5LpkDGa0Z2AxGmUL04M
|
|
|
14
14
|
vibe_surf/backend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
vibe_surf/backend/llm_config.py,sha256=9V8Gg065TQALbOKQnOqFWd8RzOJjegOD8w6YOf90Q7Y,5036
|
|
16
16
|
vibe_surf/backend/main.py,sha256=K57Bk7JtG1xTu2zmMZwPd5oUuReHDHzrRzsarcggCwg,7402
|
|
17
|
-
vibe_surf/backend/shared_state.py,sha256=
|
|
17
|
+
vibe_surf/backend/shared_state.py,sha256=eMh3W0zCJ12G9kYeqQMrCk5r-H3IR0Nce-_vUz4qaPA,23561
|
|
18
18
|
vibe_surf/backend/voice_model_config.py,sha256=oee4fvOexXKzKRDv2-FEKQj7Z2OznACrj6mfWRGy7h0,567
|
|
19
19
|
vibe_surf/backend/api/__init__.py,sha256=XxF1jUOORpLYCfFuPrrnUGRnOrr6ClH0_MNPU-4RnSs,68
|
|
20
20
|
vibe_surf/backend/api/activity.py,sha256=_cnHusqolt5Hf3KdAf6FK-3sBc-TSaadmb5dJxGI57A,9398
|
|
@@ -46,14 +46,14 @@ vibe_surf/browser/watchdogs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
|
46
46
|
vibe_surf/browser/watchdogs/action_watchdog.py,sha256=6lM0nOR67clLzC6nVEMZ2Vam8VHDW8GRlg_jbGUHbPk,5297
|
|
47
47
|
vibe_surf/browser/watchdogs/dom_watchdog.py,sha256=c0AJo2yckWFZqpgnPz7RbsRjcpwlhjD4mSIzCAbRn48,10994
|
|
48
48
|
vibe_surf/chrome_extension/background.js,sha256=9YLbLmBl__PPUwN6Edf0EQfE53Br1VfjlUiIkznf4n4,30181
|
|
49
|
-
vibe_surf/chrome_extension/config.js,sha256=
|
|
49
|
+
vibe_surf/chrome_extension/config.js,sha256=rd4I2pyEWEYgVKIj7wEcwd8ouotm7ZlGwsRRSWMmAGY,1311
|
|
50
50
|
vibe_surf/chrome_extension/content.js,sha256=cB67jK3vIE5zrpXAfi3p50H3EyTqK5xockOph0Q4kQg,13708
|
|
51
51
|
vibe_surf/chrome_extension/dev-reload.js,sha256=xQpi-1Ekb5P8Ogsm6rUK09QzxafwH0H409zBKmaUFNw,1790
|
|
52
52
|
vibe_surf/chrome_extension/manifest.json,sha256=B08nHuU-bPc-pUr30Y-of39TjMlrE7D5gP2sZjZ8CrE,1142
|
|
53
53
|
vibe_surf/chrome_extension/permission-iframe.html,sha256=R6VM1JfrzkfXTTD5mGCKui1dDWTqHEe9n8TtVdZNPNg,948
|
|
54
54
|
vibe_surf/chrome_extension/permission-request.html,sha256=ct1LTl_9euABiHcqNU6AFcvpCAfANWO0y_dDEAjtwfE,2905
|
|
55
55
|
vibe_surf/chrome_extension/popup.html,sha256=n3dI_-WbILm0q8O_za6xX0WvOofz5lwT_7YXs0u9RAE,4248
|
|
56
|
-
vibe_surf/chrome_extension/sidepanel.html,sha256
|
|
56
|
+
vibe_surf/chrome_extension/sidepanel.html,sha256=-afyeqX5BzYlp489svh22sazSyG2bgD85QHHbNeWYeY,36549
|
|
57
57
|
vibe_surf/chrome_extension/icons/logo.icns,sha256=ZzY1eIKF4dNhNW4CeE1UBQloxNVC7bQx3qcClo3CnMQ,1569615
|
|
58
58
|
vibe_surf/chrome_extension/icons/logo.png,sha256=PLmv1E6sCGXUE5ZDxr-pFPQd9Gvaw_f1TnYmF8VIssU,566385
|
|
59
59
|
vibe_surf/chrome_extension/scripts/api-client.js,sha256=MkIKaTRU923QvHMLbhRNB1MgxIypi-Lau1wwg3lH-wU,15819
|
|
@@ -66,7 +66,7 @@ vibe_surf/chrome_extension/scripts/permission-iframe-request.js,sha256=JTin53qSN
|
|
|
66
66
|
vibe_surf/chrome_extension/scripts/permission-request.js,sha256=9WEeTqMD0tHm1aX2ySkZgJ23siVZLZWAjVQe2dSmnoI,5168
|
|
67
67
|
vibe_surf/chrome_extension/scripts/session-manager.js,sha256=rOPGDTyV1oK-qYfqJKK8mpvQFSdnz0_F0wCcbxPfTSw,21887
|
|
68
68
|
vibe_surf/chrome_extension/scripts/settings-manager.js,sha256=9UGJFxQ1DbDbfndEBDv32MHfAW8YdfZmwg0vW6ABXOQ,77257
|
|
69
|
-
vibe_surf/chrome_extension/scripts/ui-manager.js,sha256=
|
|
69
|
+
vibe_surf/chrome_extension/scripts/ui-manager.js,sha256=A1dO6tFYoW7Ynh1eneSw_akVG_PtlioBhXhRHTVKQyU,129048
|
|
70
70
|
vibe_surf/chrome_extension/scripts/user-settings-storage.js,sha256=5aGuHXwTokX5wKjdNnu3rVkZv9XoD15FmgCELRRE3Xw,14191
|
|
71
71
|
vibe_surf/chrome_extension/scripts/voice-recorder.js,sha256=rIq9Rhyq-QyeCxJxxZGbnbPC0MCjQtNx6T2UC1g_al4,16852
|
|
72
72
|
vibe_surf/chrome_extension/styles/activity.css,sha256=aEFa_abskrDQvwsesPVOyJW3rUQUEBQpMKPHhY94CoA,19601
|
|
@@ -87,7 +87,7 @@ vibe_surf/chrome_extension/styles/variables.css,sha256=enjyhsa0PeU3b-3uiXa-VkV-1
|
|
|
87
87
|
vibe_surf/llm/__init__.py,sha256=_vDVPo6STf343p1SgMQrF5023hicAx0g83pK2Gbk4Ek,601
|
|
88
88
|
vibe_surf/llm/openai_compatible.py,sha256=i0a5OLaL6QIlacVyctOG09vKr3KOi8T8Izp1v7xkD5I,16112
|
|
89
89
|
vibe_surf/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
|
-
vibe_surf/tools/browser_use_tools.py,sha256=
|
|
90
|
+
vibe_surf/tools/browser_use_tools.py,sha256=2bfttOq_pxNNVIc_NHinQzXMvMW6oTZNYFr4pvGNQYg,32313
|
|
91
91
|
vibe_surf/tools/file_system.py,sha256=Tw_6J5QjCahQ3fd26CXziF1zPvRxhYM0889oK4bDhlU,19304
|
|
92
92
|
vibe_surf/tools/finance_tools.py,sha256=E8rmblp57e_cp0tFbdZ7BY3_upNlk4Whk0bYc_SFCJE,27284
|
|
93
93
|
vibe_surf/tools/mcp_client.py,sha256=OeCoTgyx4MoY7JxXndK6pGHIoyFOhf5r7XCbx25y1Ec,2446
|
|
@@ -109,9 +109,9 @@ vibe_surf/tools/website_api/xhs/helpers.py,sha256=Dq2RyYKClBQ2ha2yEfpS1mtZswx0z9
|
|
|
109
109
|
vibe_surf/tools/website_api/youtube/__init__.py,sha256=QWmZWSqo1O6XtaWP-SuL3HrBLYINjEWEyOy-KCytGDw,1145
|
|
110
110
|
vibe_surf/tools/website_api/youtube/client.py,sha256=GgrAvv_DWbnLHW59PnOXEHeO05s9_Abaakk-JzJ_UTc,48887
|
|
111
111
|
vibe_surf/tools/website_api/youtube/helpers.py,sha256=GPgqfNirLYjIpk1OObvoXd2Ktq-ahKOOKHO2WwQVXCw,12931
|
|
112
|
-
vibesurf-0.1.
|
|
113
|
-
vibesurf-0.1.
|
|
114
|
-
vibesurf-0.1.
|
|
115
|
-
vibesurf-0.1.
|
|
116
|
-
vibesurf-0.1.
|
|
117
|
-
vibesurf-0.1.
|
|
112
|
+
vibesurf-0.1.30.dist-info/licenses/LICENSE,sha256=vRmTjOYvD8RLiSGYYmFHnveYNswtO1uvSk1sd-Eu7sg,2037
|
|
113
|
+
vibesurf-0.1.30.dist-info/METADATA,sha256=xdV2DIBCvPG9Kz55mit2KhoRK5aaP8nxMVAapBRPXvA,6110
|
|
114
|
+
vibesurf-0.1.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
115
|
+
vibesurf-0.1.30.dist-info/entry_points.txt,sha256=UxqpvMocL-PR33S6vLF2OmXn-kVzM-DneMeZeHcPMM8,48
|
|
116
|
+
vibesurf-0.1.30.dist-info/top_level.txt,sha256=VPZGHqSb6EEqcJ4ZX6bHIuWfon5f6HXl3c7BYpbRqnY,10
|
|
117
|
+
vibesurf-0.1.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|