osvm 0.4.3

OpenSVM CLI tool for managing SVM nodes and deployments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>OSVM CLI - Solana Virtual Machine Management Tool</title>
    <meta name="description" content="A powerful command-line interface for managing Solana Virtual Machines (SVMs) with AI-powered security auditing and free self-hosted RPC deployment. Monitor, deploy, and secure your SVM infrastructure with a single tool.">
    <meta name="keywords" content="Solana, SVM, CLI, blockchain, validator, RPC, node management, OSVM, security audit, AI analysis, self-hosted RPC">
    
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="OSVM CLI - Solana Virtual Machine Management Tool">
    <meta property="og:description" content="A powerful command-line interface for managing Solana Virtual Machines (SVMs) with AI-powered security auditing and free self-hosted RPC deployment.">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://opensvm.github.io/osvm-cli/">
    
    <!-- Twitter Card Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="OSVM CLI - Solana Virtual Machine Management Tool">
    <meta name="twitter:description" content="A powerful command-line interface for managing Solana Virtual Machines (SVMs) with AI-powered security auditing and free self-hosted RPC deployment.">
    
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            text-align: center;
            padding: 60px 0;
            color: white;
        }
        
        .logo {
            font-size: 4rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .tagline {
            font-size: 1.4rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }
        
        .badges {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .badge {
            background: rgba(255,255,255,0.2);
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.9rem;
            border: 1px solid rgba(255,255,255,0.3);
        }
        
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .btn {
            display: inline-block;
            padding: 15px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .btn-primary {
            background: #fff;
            color: #667eea;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }
        
        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }
        
        .btn-secondary:hover {
            background: white;
            color: #667eea;
        }
        
        main {
            background: white;
            margin-top: -50px;
            border-radius: 20px 20px 0 0;
            box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1;
        }
        
        .section {
            padding: 60px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #333;
        }
        
        .section-subtitle {
            text-align: center;
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 50px;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .feature-card {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 10px;
            border-left: 4px solid #667eea;
            transition: transform 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 2rem;
            margin-bottom: 15px;
        }
        
        .feature-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
        }
        
        .feature-description {
            color: #666;
            line-height: 1.6;
        }
        
        .install-section {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 40px;
            margin: 40px 0;
        }
        
        .install-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .install-tab {
            padding: 10px 20px;
            background: #e9ecef;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .install-tab.active {
            background: #667eea;
            color: white;
        }
        
        .install-content {
            display: none;
        }
        
        .install-content.active {
            display: block;
        }
        
        .code-block {
            background: #2d3748;
            color: #e2e8f0;
            padding: 20px;
            border-radius: 5px;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 0.9rem;
            overflow-x: auto;
            position: relative;
        }
        
        .copy-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #4a5568;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 0.8rem;
        }
        
        .copy-btn:hover {
            background: #667eea;
        }
        
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            text-align: center;
            margin: 50px 0;
        }
        
        .stat-item {
            padding: 20px;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #667eea;
            display: block;
        }
        
        .stat-label {
            color: #666;
            font-size: 1rem;
            margin-top: 5px;
        }
        
        footer {
            background: #2d3748;
            color: white;
            text-align: center;
            padding: 40px 0;
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        @media (max-width: 768px) {
            .logo {
                font-size: 2.5rem;
            }
            
            .tagline {
                font-size: 1.1rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .install-tabs {
                justify-content: stretch;
            }
            
            .install-tab {
                flex: 1;
                text-align: center;
            }
        }
    </style>
</head>
<body>
    <header>
        <div class="container">
            <div class="logo">OSVM CLI 🚀</div>
            <div class="tagline">A powerful command-line interface for managing Solana Virtual Machines (SVMs) with AI-powered security auditing and free self-hosted RPC deployment</div>
            <div class="badges">
                <span class="badge">MIT License</span>
                <span class="badge">Rust 1.80.0+</span>
                <span class="badge">Solana 1.14.29+</span>
            </div>
            <div class="cta-buttons">
                <a href="https://github.com/openSVM/osvm-cli" class="btn btn-primary" target="_blank">View on GitHub</a>
                <a href="docs.html?doc=README" class="btn btn-secondary">📚 Documentation</a>
                <a href="https://github.com/openSVM/osvm-cli/releases" class="btn btn-secondary" target="_blank">Download</a>
            </div>
        </div>
    </header>

    <main>
        <div class="container">
            <section class="section">
                <h2 class="section-title">Key Features</h2>
                <p class="section-subtitle">Everything you need to manage your Solana infrastructure - with advanced security auditing and free RPC hosting</p>
                
                <div class="features-grid">
                    <div class="feature-card">
                        <div class="feature-icon">🔒</div>
                        <div class="feature-title">AI-Powered Security Audit</div>
                        <div class="feature-description">Comprehensive Solana program analysis with 23+ security vulnerability checks, AI-enhanced insights, and automated compliance reporting. Detect critical issues like account validation flaws, CPI vulnerabilities, and arithmetic overflows.</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🌐</div>
                        <div class="feature-title">Free Self-Hosted RPC</div>
                        <div class="feature-description">Deploy your own Solana RPC node for free in just one command. Support for mainnet, testnet, and devnet with optimized configurations, load balancing, and response caching.</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🔧</div>
                        <div class="feature-title">SVM Management</div>
                        <div class="feature-description">List and inspect Solana Virtual Machines with detailed information and status monitoring.</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🚀</div>
                        <div class="feature-title">Node Deployment</div>
                        <div class="feature-description">Deploy validator or dedicated RPC nodes with a single command across different networks.</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">📊</div>
                        <div class="feature-title">Interactive Dashboard</div>
                        <div class="feature-description">Real-time monitoring with a terminal-based UI for comprehensive infrastructure oversight.</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">📈</div>
                        <div class="feature-title">Performance Metrics</div>
                        <div class="feature-description">Track TPS, latency, and system requirements with detailed performance analytics.</div>
                    </div>
                </div>
            </section>

            <section class="section">
                <h2 class="section-title">Quick Installation</h2>
                <p class="section-subtitle">Get started with OSVM CLI in just one command</p>
                
                <div class="install-section">
                    <div class="install-tabs">
                        <button class="install-tab active" onclick="showInstall('linux')">Linux/macOS</button>
                        <button class="install-tab" onclick="showInstall('windows')">Windows</button>
                        <button class="install-tab" onclick="showInstall('source')">From Source</button>
                    </div>
                    
                    <div id="linux-install" class="install-content active">
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('curl -sSf https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.sh | sh')">Copy</button>
                            <code>curl -sSf https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.sh | sh</code>
                        </div>
                    </div>
                    
                    <div id="windows-install" class="install-content">
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('powershell -Command \"Invoke-WebRequest -Uri \'https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.ps1\' -OutFile \'install.ps1\'; .\\install.ps1\"')">Copy</button>
                            <code>powershell -Command "Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.ps1' -OutFile 'install.ps1'; .\install.ps1"</code>
                        </div>
                    </div>
                    
                    <div id="source-install" class="install-content">
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('git clone https://github.com/openSVM/osvm-cli.git\ncd osvm-cli\ncargo build --release\nsudo cp target/release/osvm /usr/local/bin/')">Copy</button>
                            <code># Clone the repository<br>git clone https://github.com/openSVM/osvm-cli.git<br>cd osvm-cli<br><br># Build the project<br>cargo build --release<br><br># Install the binary<br>sudo cp target/release/osvm /usr/local/bin/</code>
                        </div>
                    </div>
                </div>
            </section>

            <section class="section">
                <h2 class="section-title">Quick Start</h2>
                <p class="section-subtitle">Common commands to get you started</p>
                
                <div class="features-grid">
                    <div class="feature-card">
                        <div class="feature-title">Security Audit</div>
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('osvm audit .')">Copy</button>
                            <code>osvm audit .</code>
                        </div>
                        <div class="feature-description">Run comprehensive security analysis on your Solana program</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-title">Deploy RPC Node</div>
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('osvm rpc-manager local --port 8899')">Copy</button>
                            <code>osvm rpc-manager local --port 8899</code>
                        </div>
                        <div class="feature-description">Start your own Solana RPC node locally for free</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-title">SVM Dashboard</div>
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('osvm svm dashboard')">Copy</button>
                            <code>osvm svm dashboard</code>
                        </div>
                        <div class="feature-description">Launch interactive monitoring dashboard</div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-title">List SVMs</div>
                        <div class="code-block">
                            <button class="copy-btn" onclick="copyToClipboard('osvm svm list')">Copy</button>
                            <code>osvm svm list</code>
                        </div>
                        <div class="feature-description">View all installed Solana Virtual Machines</div>
                    </div>
                </div>
            </section>

            <section class="section">
                <h2 class="section-title">📚 Comprehensive Documentation</h2>
                <p class="section-subtitle">Explore our detailed guides and references organized by feature</p>
                
                <div class="features-grid">
                    <div class="feature-card">
                        <div class="feature-icon">📖</div>
                        <div class="feature-title">Getting Started</div>
                        <div class="feature-description">
                            <a href="docs.html?doc=installation" style="color: #667eea; text-decoration: none;">Installation Guide</a> | 
                            <a href="docs.html?doc=configuration" style="color: #667eea; text-decoration: none;">Configuration</a> | 
                            <a href="docs.html?doc=examples" style="color: #667eea; text-decoration: none;">Examples</a>
                        </div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🔧</div>
                        <div class="feature-title">Core Features</div>
                        <div class="feature-description">
                            <a href="docs.html?doc=svm-management" style="color: #667eea; text-decoration: none;">SVM Management</a> | 
                            <a href="docs.html?doc=node-management" style="color: #667eea; text-decoration: none;">Node Management</a> | 
                            <a href="docs.html?doc=rpc-manager" style="color: #667eea; text-decoration: none; font-weight: bold;">🌐 Free RPC Hosting</a>
                        </div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🚀</div>
                        <div class="feature-title">Deployment</div>
                        <div class="feature-description">
                            <a href="docs.html?doc=ssh-deployment" style="color: #667eea; text-decoration: none;">SSH Deployment</a> | 
                            <a href="docs.html?doc=ebpf-deployment" style="color: #667eea; text-decoration: none;">eBPF Programs</a> | 
                            <a href="docs.html?doc=validator-enhancements" style="color: #667eea; text-decoration: none;">Validator Setup</a>
                        </div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">📊</div>
                        <div class="feature-title">Monitoring & Operations</div>
                        <div class="feature-description">
                            <a href="docs.html?doc=dashboard" style="color: #667eea; text-decoration: none;">Interactive Dashboard</a> | 
                            <a href="docs.html?doc=log-monitoring" style="color: #667eea; text-decoration: none;">Log Monitoring</a> | 
                            <a href="docs.html?doc=self-repair-system" style="color: #667eea; text-decoration: none;">Self-Repair</a>
                        </div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🔒</div>
                        <div class="feature-title">Security & Audit</div>
                        <div class="feature-description">
                            <a href="docs.html?doc=security-audit" style="color: #667eea; text-decoration: none; font-weight: bold;">🛡️ AI-Powered Security Audit</a><br>
                            <span style="color: #666;">23+ vulnerability checks, CWE mapping, CVSS scoring, and automated compliance reporting for Solana programs</span>
                        </div>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🎯</div>
                        <div class="feature-title">Complete Index</div>
                        <div class="feature-description">
                            <a href="docs.html?doc=README" style="color: #667eea; text-decoration: none; font-weight: bold;">📖 Complete Documentation Index</a><br>
                            <span style="color: #666;">Central hub with architecture overview and all feature guides</span>
                        </div>
                    </div>
                </div>
            </section>

            <section class="section">
                <h2 class="section-title">Prerequisites</h2>
                <div class="stats">
                    <div class="stat-item">
                        <span class="stat-number">Rust</span>
                        <div class="stat-label">1.80.0 or later</div>
                    </div>
                    <div class="stat-item">
                        <span class="stat-number">Solana CLI</span>
                        <div class="stat-label">1.14.29 or later</div>
                    </div>
                    <div class="stat-item">
                        <span class="stat-number">SSH</span>
                        <div class="stat-label">For remote deployment</div>
                    </div>
                </div>
            </section>
        </div>
    </main>

    <footer>
        <div class="container">
            <div class="footer-links">
                <a href="https://github.com/openSVM/osvm-cli">GitHub Repository</a>
                <a href="docs.html?doc=README">Documentation</a>
                <a href="https://github.com/openSVM/osvm-cli/issues">Report Issues</a>
                <a href="https://github.com/openSVM/osvm-cli/blob/main/LICENSE">License</a>
                <a href="https://docs.opensvm.org">Official Docs</a>
            </div>
            <p>&copy; 2024 OSVM CLI. Licensed under the MIT License.</p>
        </div>
    </footer>

    <script>
        function showInstall(platform) {
            // Hide all install contents
            document.querySelectorAll('.install-content').forEach(content => {
                content.classList.remove('active');
            });
            
            // Remove active class from all tabs
            document.querySelectorAll('.install-tab').forEach(tab => {
                tab.classList.remove('active');
            });
            
            // Show selected content and mark tab as active
            document.getElementById(platform + '-install').classList.add('active');
            event.target.classList.add('active');
        }
        
        function copyToClipboard(text) {
            // Clean up the text for copying (remove HTML)
            const cleanText = text.replace(/<br>/g, '\n');
            
            if (navigator.clipboard && window.isSecureContext) {
                navigator.clipboard.writeText(cleanText).then(() => {
                    showCopyFeedback(event.target);
                });
            } else {
                // Fallback for older browsers
                const textArea = document.createElement('textarea');
                textArea.value = cleanText;
                document.body.appendChild(textArea);
                textArea.select();
                document.execCommand('copy');
                document.body.removeChild(textArea);
                showCopyFeedback(event.target);
            }
        }
        
        function showCopyFeedback(button) {
            const originalText = button.textContent;
            button.textContent = 'Copied!';
            button.style.background = '#48bb78';
            
            setTimeout(() => {
                button.textContent = originalText;
                button.style.background = '#4a5568';
            }, 2000);
        }
    </script>
</body>
</html>