osvm 0.8.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
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
<!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 integrated AI assistance and MCP server support. Monitor, deploy, and secure your SVM infrastructure with unified blockchain operations.">
    <meta name="keywords" content="Solana, SVM, CLI, blockchain, validator, RPC, node management, OSVM, security audit, AI analysis, MCP, Model Context Protocol">
    
    <!-- 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 integrated AI assistance and MCP server support.">
    <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 integrated AI assistance and MCP server support.">
    
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
            line-height: 1.6;
            color: #e0e0e0;
            background: #1a1a1a;
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* Terminal-like background */
        .terminal-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #1a1a1a;
            z-index: -2;
        }
        
        /* Remove matrix rain effect */
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* ASCII Art Header */
        .ascii-header {
            text-align: center;
            padding: 40px 0;
            color: #d0d0d0;
            font-family: monospace;
            font-size: 0.7rem;
            line-height: 1.1;
            white-space: pre;
            overflow-x: auto;
        }
        
        header {
            text-align: center;
            padding: 20px 0 60px 0;
            color: #e0e0e0;
            border-bottom: 2px solid #808080;
            margin-bottom: 40px;
        }
        
        .logo {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 20px;
            text-shadow: 0 0 10px #808080;
            font-family: monospace;
        }
        
        .tagline {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
            color: #c0c0c0;
        }

        /* Token mint section */
        .token-mint-section {
            margin: 30px 0;
            padding: 20px;
            background: #2a2a2a;
            border: 2px solid #808080;
            border-radius: 0;
        }

        .token-mint-header {
            font-size: 1.2rem;
            color: #e0e0e0;
            margin-bottom: 15px;
            font-weight: bold;
            text-align: center;
            font-family: monospace;
            text-transform: uppercase;
        }

        .token-mint-container {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .token-mint-input {
            flex: 1;
            min-width: 400px;
            padding: 12px;
            background: #1a1a1a;
            border: 1px solid #555555;
            color: #e0e0e0;
            font-family: monospace;
            font-size: 0.9rem;
            border-radius: 0;
            text-align: center;
        }

        .copy-button {
            padding: 12px 16px;
            background: #808080;
            color: #1a1a1a;
            border: none;
            border-radius: 0;
            cursor: pointer;
            font-family: monospace;
            font-weight: bold;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        .copy-button:hover {
            background: #999999;
            transform: translateY(-1px);
        }

        .copy-button:active {
            transform: translateY(0);
        }

        .copy-feedback {
            color: #e0e0e0;
            font-size: 0.9rem;
            margin-left: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
            font-weight: bold;
            font-family: monospace;
        }

        .copy-feedback.show {
            opacity: 1;
        }
        
        .version-badge {
            display: inline-block;
            background: #2a2a2a;
            color: #e0e0e0;
            padding: 5px 15px;
            border: 1px solid #808080;
            border-radius: 0;
            font-family: monospace;
            margin-bottom: 30px;
        }
        
        .terminal-command {
            background: #2a2a2a;
            border: 2px solid #808080;
            border-radius: 0;
            padding: 20px;
            margin: 20px 0;
            font-family: monospace;
            color: #e0e0e0;
            position: relative;
        }
        
        .terminal-command::before {
            content: "$ ";
            color: #e0e0e0;
            font-weight: bold;
        }
        
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .btn {
            display: inline-block;
            padding: 15px 30px;
            border: 2px solid #808080;
            background: transparent;
            color: #e0e0e0;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            font-family: monospace;
            text-transform: uppercase;
        }
        
        .btn:hover {
            background: #808080;
            color: #1a1a1a;
            box-shadow: 0 0 20px #808080;
        }
        
        .btn-primary {
            background: #808080;
            color: #1a1a1a;
        }
        
        .btn-primary:hover {
            background: transparent;
            color: #e0e0e0;
        }
        
        main {
            background: #2a2a2a;
            border: 2px solid #808080;
            padding: 40px;
            margin: 20px 0;
        }
        
        .section {
            padding: 40px 0;
            border-bottom: 1px solid #555555;
        }
        
        .section:last-child {
            border-bottom: none;
        }
        
        .section-title {
            text-align: center;
            font-size: 2rem;
            margin-bottom: 20px;
            color: #e0e0e0;
            font-family: monospace;
            text-transform: uppercase;
        }
        
        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #c0c0c0;
            margin-bottom: 40px;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .feature-card {
            background: #333333;
            border: 1px solid #555555;
            padding: 30px;
            transition: all 0.3s ease;
        }
        
        .feature-card:hover {
            border-color: #808080;
            box-shadow: 0 0 20px rgba(128, 128, 128, 0.3);
        }
        
        .feature-icon {
            font-size: 2rem;
            margin-bottom: 15px;
            color: #e0e0e0;
        }
        
        .feature-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #e0e0e0;
            font-family: monospace;
        }
        
        .feature-description {
            color: #c0c0c0;
            line-height: 1.5;
        }
        
        .code-block {
            background: #1a1a1a;
            border: 1px solid #555555;
            padding: 20px;
            margin: 20px 0;
            font-family: monospace;
            color: #e0e0e0;
            overflow-x: auto;
        }
        
        .highlight {
            color: #c0c0c0;
            font-weight: bold;
        }
        
        .deeplogic-section {
            background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
            border: 2px solid #808080;
            padding: 40px;
            margin: 40px 0;
        }
        
        .deeplogic-title {
            font-size: 2.5rem;
            color: #e0e0e0;
            text-align: center;
            margin-bottom: 20px;
            font-family: monospace;
            text-shadow: 0 0 10px #808080;
        }
        
        .analysis-vectors {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .vector-card {
            background: #0a1a0a;
            border: 1px solid #004400;
            padding: 20px;
            text-align: center;
        }
        
        .vector-icon {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #e0e0e0;
        }
        
        .vector-name {
            font-size: 1.1rem;
            color: #e0e0e0;
            margin-bottom: 10px;
            font-family: monospace;
        }
        
        .vector-desc {
            color: #c0c0c0;
            font-size: 0.9rem;
        }
        
        footer {
            text-align: center;
            padding: 40px 0;
            border-top: 2px solid #808080;
            margin-top: 60px;
            color: #c0c0c0;
        }
        
        .nav-menu {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        
        .nav-link {
            color: #e0e0e0;
            text-decoration: none;
            padding: 10px 20px;
            border: 1px solid #555555;
            transition: all 0.3s ease;
            font-family: monospace;
            text-transform: uppercase;
        }
        
        .nav-link:hover {
            border-color: #808080;
            box-shadow: 0 0 10px rgba(128, 128, 128, 0.5);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .ascii-header {
                font-size: 0.5rem;
            }
            
            .logo {
                font-size: 2rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            main {
                padding: 20px;
            }

            .token-mint-input {
                min-width: 280px;
            }

            .token-mint-container {
                flex-direction: column;
            }
        }
    </style>
</head>
<body>
    <div class="terminal-bg"></div>
    
    <div class="ascii-header">░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
........███████.....█████████..█████...█████..█████...█████.....▐█░░░░░░
......███░░░░░███..███░░░░░███░░███...░░███.░░██████.██████.......▐█░░░░
.....███.....░░███░███....░░░..░███....░███..░███░█████░███.........▐█░░
....░███......░███░░█████████..░███....░███..░███░░███░░███...........▐█
....░███......░███.░░░░░░░░███.░░███...███...░███░░░░░░░███.........▐█░░
....░░███.....███..███....░███..░░░█████░....░███░░░░░░░███.......▐█░░░░
░░░░░░░░███████░░░░░█████████░░░░░░░███░░░░░░░███░░░░░░░███░░░░░▐█░░░░░░
 ███████████████████████████████████████████████████████████████████████</div>

    <div class="container">
        <header>
            <h1 class="logo">OSVM CLI</h1>
            <div class="version-badge">v0.6.0 - Now with DeepLogic AI</div>
            <p class="tagline">Advanced Solana Virtual Machine Management with AI-Powered Security Auditing</p>
            
            <!-- Token Mint Section -->
            <div class="token-mint-section">
                <div class="token-mint-header">🪙 OSVM Token Mint Address</div>
                <div class="token-mint-container">
                    <input type="text" id="tokenMint" class="token-mint-input" value="pvv4fu1RvQBkKXozyH5A843sp1mt6gTy9rPoZrBBAGS" readonly>
                    <button class="copy-button" onclick="copyTokenMint()">📋 Copy</button>
                    <span id="copyFeedback" class="copy-feedback">Copied!</span>
                </div>
            </div>
            
            <div class="terminal-command">curl -sSf https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.sh | bash</div>
            
            <div class="cta-buttons">
                <a href="#install" class="btn btn-primary">Install Now</a>
                <a href="#deeplogic" class="btn">DeepLogic AI</a>
                <a href="https://github.com/openSVM/osvm-cli" class="btn">View Source</a>
            </div>
            
            <div class="nav-menu">
                <a href="docs.html?doc=README" class="nav-link">Documentation</a>
                <a href="docs.html?doc=deeplogic-ai-analysis" class="nav-link">DeepLogic Guide</a>
                <a href="docs.html?doc=security-audit" class="nav-link">Security Audit</a>
                <a href="audit.html" class="nav-link">Demo Report</a>
            </div>
        </header>

        <main>
            <section class="section" id="quickstart">
                <h2 class="section-title">Quick Start</h2>
                <p class="section-subtitle">Get started with OSVM in seconds</p>
                
                <div class="code-block">
<span class="highlight"># Install OSVM CLI</span>
curl -sSf https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.sh | bash

<span class="highlight"># Audit any GitHub repository with AI-powered DeepLogic analysis</span>
osvm audit opensvm/aeamcp

<span class="highlight"># Audit local project</span>
osvm audit ./my-solana-project

<span class="highlight"># Deploy Solana validator</span>
osvm solana validator user@host --network mainnet

<span class="highlight"># Start local RPC node</span>
osvm rpc local --port 8899
                </div>
            </section>

            <div class="deeplogic-section" id="deeplogic">
                <h2 class="deeplogic-title">🧠 DeepLogic AI Analysis</h2>
                <p class="section-subtitle">Advanced AI-powered security analysis that goes beyond traditional scanning</p>
                
                <div class="analysis-vectors">
                    <div class="vector-card">
                        <div class="vector-icon">🔄</div>
                        <div class="vector-name">State Transition</div>
                        <div class="vector-desc">Analyzes how state changes might be exploited</div>
                    </div>
                    <div class="vector-card">
                        <div class="vector-icon">💰</div>
                        <div class="vector-name">Economic Exploit</div>
                        <div class="vector-desc">Detects financial attack scenarios and MEV vulnerabilities</div>
                    </div>
                    <div class="vector-card">
                        <div class="vector-icon">🔐</div>
                        <div class="vector-name">Access Control</div>
                        <div class="vector-desc">Finds permission bypass and authorization issues</div>
                    </div>
                    <div class="vector-card">
                        <div class="vector-icon">🧮</div>
                        <div class="vector-name">Mathematical Integrity</div>
                        <div class="vector-desc">Identifies overflow, precision, and calculation errors</div>
                    </div>
                </div>
                
                <div class="code-block">
<span class="highlight"># AI analysis enabled by default</span>
osvm audit opensvm/aeamcp

<span class="highlight"># Custom AI endpoint</span>
osvm audit opensvm/aeamcp --api-url http://localhost:3000/api/getAnswer

<span class="highlight"># Disable AI analysis</span>
osvm audit opensvm/aeamcp --noai
                </div>
            </section>

            <section class="section" id="features">
                <h2 class="section-title">Core Features</h2>
                <div class="features-grid">
                    <div class="feature-card">
                        <div class="feature-icon">🧠</div>
                        <h3 class="feature-title">AI-Powered Security</h3>
                        <p class="feature-description">DeepLogic AI analysis identifies complex logical vulnerabilities with specific code snippets and fix suggestions.</p>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🐙</div>
                        <h3 class="feature-title">GitHub Integration</h3>
                        <p class="feature-description">Direct repository auditing with intelligent branch detection. Just run: osvm audit owner/repo</p>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🚀</div>
                        <h3 class="feature-title">SVM Deployment</h3>
                        <p class="feature-description">Deploy Solana validators, RPC nodes, and manage multiple SVM implementations effortlessly.</p>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">📊</div>
                        <h3 class="feature-title">Comprehensive Reports</h3>
                        <p class="feature-description">Beautiful HTML reports with risk scenarios, code examples, and actionable remediation steps.</p>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon">🔧</div>
                        <h3 class="feature-title">Self-Healing</h3>
                        <p class="feature-description">Automatic system diagnostics and repair capabilities for consistent performance.</p>
                    </div>
                    
                    <div class="feature-card">
                        <div class="feature-icon"></div>
                        <h3 class="feature-title">Zero Config</h3>
                        <p class="feature-description">Works out of the box with sensible defaults. AI analysis enabled automatically.</p>
                    </div>
                </div>
            </section>

            <section class="section" id="install">
                <h2 class="section-title">Installation</h2>
                <div class="code-block">
<span class="highlight"># Quick install (recommended)</span>
curl -sSf https://raw.githubusercontent.com/openSVM/osvm-cli/main/install.sh | bash

<span class="highlight"># Manual install from source</span>
git clone https://github.com/openSVM/osvm-cli.git
cd osvm-cli
cargo build --release

<span class="highlight"># Verify installation</span>
osvm --version
                </div>
            </section>

            <section class="section" id="examples">
                <h2 class="section-title">Usage Examples</h2>
                <div class="code-block">
<span class="highlight"># Security Auditing</span>
osvm audit opensvm/aeamcp                    # Audit GitHub repo
osvm audit ./solana-project --format html   # Local project audit
osvm audit myorg/defi-protocol#develop      # Specific branch

<span class="highlight"># Node Management</span>
osvm nodes list --network mainnet           # List all nodes
osvm nodes status node-id-123               # Check node status
osvm nodes deploy --svm solana --host server.com

<span class="highlight"># RPC Operations</span>
osvm rpc local --port 8899                  # Local test RPC
osvm rpc devnet --background                # Devnet sync
osvm rpc query-solana mainnet --health      # Network health

<span class="highlight"># SVM Management</span>
osvm svm list                                # Available SVMs
osvm svm install solana user@host           # Remote install
osvm svm dashboard                           # Interactive dashboard
                </div>
            </section>
        </main>

        <footer>
            <p>&copy; 2024 OpenSVM. Licensed under MIT.</p>
            <p>Built for the Solana ecosystem with ❤️</p>
        </footer>
    </div>

    <script>
        // Copy token mint function
        function copyTokenMint() {
            const tokenInput = document.getElementById('tokenMint');
            const feedback = document.getElementById('copyFeedback');
            
            // Select and copy the text
            tokenInput.select();
            tokenInput.setSelectionRange(0, 99999); // For mobile devices
            
            try {
                document.execCommand('copy');
                
                // Show feedback
                feedback.classList.add('show');
                setTimeout(() => {
                    feedback.classList.remove('show');
                }, 2000);
            } catch (err) {
                // Fallback for modern browsers
                navigator.clipboard.writeText(tokenInput.value).then(() => {
                    feedback.classList.add('show');
                    setTimeout(() => {
                        feedback.classList.remove('show');
                    }, 2000);
                }).catch(() => {
                    console.error('Failed to copy token mint address');
                });
            }
            
            // Deselect the input
            tokenInput.blur();
        }
    </script>
</body>
</html>