osvm 0.8.3

OpenSVM CLI tool for managing SVM nodes and deployments
Documentation
<!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</title>
    <link rel="stylesheet" href="styles.css">
    <link rel="icon" type="image/x-icon" href="favicon.ico">
    <meta name="description"
        content="Command-line interface for managing Solana Virtual Machines with AI assistance and MCP integration">
</head>

<body>
    <!-- Terminal Window Frame -->
    <div class="terminal-window">
        <!-- Terminal Header -->
        <div class="terminal-header">
            <div class="terminal-buttons">
                <span class="btn-close"></span>
                <span class="btn-minimize"></span>
                <span class="btn-maximize"></span>
            </div>
            <div class="terminal-title">osvm-cli@docs:~$</div>
        </div>

        <!-- Main Terminal Content -->
        <div class="terminal-content">
            <!-- Command Prompt Header -->
            <div class="command-line">
                <span class="prompt">user@osvm:~$</span>
                <span class="command typing">cat README.md</span>
            </div>

            <!-- Main Content -->
            <main class="content">
                <!-- ASCII Art Header -->
                <pre class="ascii-art">
                    ╔═══════════════════════════════════════════════╗
                    ║░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░║
                    ║░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░║
                    ║░░░░░░██████╗░██╗░░░██╗███████╗███╗░░░███╗░░░░░║
                    ║░░░░░██╔═══██╗██║░░░██║██╔════╝████╗░████║░░░░░║
                    ║░░░░░██║░░░██║██║░░░██║███████╗██╔████╔██║░░░░░║
                    ║░░░░░██║░░░██║╚██╗░██╔╝╚════██║██║╚██╔╝██║░░░░░║
                    ║░░░░░╚██████╔╝░╚████╔╝░███████║██║░╚═╝░██║░░░░░║
                    ║░░░░░░╚═════╝░░░╚═══╝░░╚══════╝╚═╝░░░░░╚═╝░░░░░║
                    ║░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░║
                    ║░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░║
                    ╚═══════════════════════════════════════════════╝
                </pre>

                <!-- Main Description -->
                <section class="intro">
                    <h1>Solana Virtual Machine Command-Line Interface</h1>
                    <p class="subtitle">Deploy, monitor, and manage SVM infrastructure with AI assistance and extensible
                        plugins</p>

                    <div class="badges">
                        <span class="badge">MIT License</span>
                        <span class="badge">Rust 1.80+</span>
                        <span class="badge">Solana 1.14+</span>
                    </div>

                    <div class="demo-notice">
                        <span class="demo-icon">💡</span>
                        <span class="demo-text">Click any command on this page to copy it to your clipboard!</span>
                    </div>
                </section>

                <!-- Quick Start -->
                <section class="quick-start">
                    <h2><span class="section-marker">[</span>QUICK START<span class="section-marker">]</span></h2>

                    <div class="install-box">
                        <div class="command-line">
                            <span class="prompt">$</span>
                            <span class="command">curl -sSf https://osvm.ai/install.sh | sh</span>
                            <button class="copy-btn"
                                onclick="copyToClipboard('curl -sSf https://osvm.ai/install.sh | sh')">COPY</button>
                        </div>
                    </div>

                    <div class="command-grid">
                        <div class="command-example" onclick="copyCommand('osvm svm list')">
                            <div class="command-line">
                                <span class="prompt">$</span>
                                <span class="command">osvm svm list</span>
                                <span class="copy-indicator">CLICK TO COPY</span>
                            </div>
                            <div class="command-desc">List available SVMs</div>
                        </div>

                        <div class="command-example" onclick="copyCommand('osvm svm dashboard')">
                            <div class="command-line">
                                <span class="prompt">$</span>
                                <span class="command">osvm svm dashboard</span>
                                <span class="copy-indicator">CLICK TO COPY</span>
                            </div>
                            <div class="command-desc">Launch monitoring dashboard</div>
                        </div>

                        <div class="command-example" onclick="copyCommand('osvm chat')">
                            <div class="command-line">
                                <span class="prompt">$</span>
                                <span class="command">osvm chat</span>
                                <span class="copy-indicator">CLICK TO COPY</span>
                            </div>
                            <div class="command-desc">AI-powered assistance</div>
                        </div>

                        <div class="command-example" onclick="copyCommand('osvm examples')">
                            <div class="command-line">
                                <span class="prompt">$</span>
                                <span class="command">osvm examples</span>
                                <span class="copy-indicator">CLICK TO COPY</span>
                            </div>
                            <div class="command-desc">View usage examples</div>
                        </div>
                    </div>
                </section>

                <!-- Navigation Menu -->
                <section class="navigation">
                    <h2><span class="section-marker">[</span>DOCUMENTATION<span class="section-marker">]</span></h2>

                    <div class="nav-grid">
                        <div class="nav-section">
                            <h3>CORE OPERATIONS</h3>
                            <ul class="nav-list">
                                <li><a href="#svm-management">SVM Management</a></li>
                                <li><a href="#node-deployment">Node Deployment</a></li>
                                <li><a href="#rpc-services">RPC Services</a></li>
                                <li><a href="#ebpf-deployment">eBPF Deployment</a></li>
                            </ul>
                        </div>

                        <div class="nav-section">
                            <h3>ADVANCED FEATURES</h3>
                            <ul class="nav-list">
                                <li><a href="#ai-integration">AI Integration</a></li>
                                <li><a href="#mcp-servers">MCP Servers</a></li>
                                <li><a href="#plugin-system">Plugin System</a></li>
                                <li><a href="#security-audit">Security Audit</a></li>
                            </ul>
                        </div>

                        <div class="nav-section">
                            <h3>TOOLS & MONITORING</h3>
                            <ul class="nav-list">
                                <li><a href="#dashboard">Dashboard</a></li>
                                <li><a href="#system-health">System Health</a></li>
                                <li><a href="#log-monitoring">Log Monitoring</a></li>
                                <li><a href="#ci-cd">CI/CD Integration</a></li>
                            </ul>
                        </div>

                        <div class="nav-section">
                            <h3>DEVELOPMENT</h3>
                            <ul class="nav-list">
                                <li><a href="#plugin-development">Plugin Development</a></li>
                                <li><a href="#api-reference">API Reference</a></li>
                                <li><a href="#contributing">Contributing</a></li>
                                <li><a href="#examples">Examples</a></li>
                            </ul>
                        </div>
                    </div>
                </section>

                <!-- Features Overview -->
                <section class="features">
                    <h2><span class="section-marker">[</span>FEATURES<span class="section-marker">]</span></h2>

                    <div class="feature-grid">
                        <div class="feature-card">
                            <div class="feature-icon">📡</div>
                            <h3>SVM DEPLOYMENT</h3>
                            <p>Deploy and manage Solana Virtual Machines across mainnet, testnet, and devnet with
                                automated configuration</p>
                        </div>

                        <div class="feature-card">
                            <div class="feature-icon">🤖</div>
                            <h3>AI INTEGRATION</h3>
                            <p>Built-in AI assistance for security analysis, code review, and blockchain queries with
                                multiple provider support</p>
                        </div>

                        <div class="feature-card">
                            <div class="feature-icon">🔌</div>
                            <h3>MCP SERVERS</h3>
                            <p>Connect to Model Context Protocol servers for enhanced blockchain data access and
                                external integrations</p>
                        </div>

                        <div class="feature-card">
                            <div class="feature-icon">🧩</div>
                            <h3>PLUGIN SYSTEM</h3>
                            <p>Extensible architecture with custom commands, tools, themes, and integrations via secure
                                plugin framework</p>
                        </div>

                        <div class="feature-card">
                            <div class="feature-icon">📊</div>
                            <h3>MONITORING</h3>
                            <p>Real-time dashboard with TPS tracking, resource monitoring, and automated health checks
                            </p>
                        </div>

                        <div class="feature-card">
                            <div class="feature-icon">🔧</div>
                            <h3>SELF-REPAIR</h3>
                            <p>Intelligent system diagnostics with automatic error detection and repair capabilities</p>
                        </div>
                    </div>
                </section>

                <!-- Command Examples -->
                <section class="examples">
                    <h2><span class="section-marker">[</span>EXAMPLES<span class="section-marker">]</span></h2>

                    <div class="example-tabs">
                        <button class="tab-btn active" onclick="showTab('basic')">BASIC</button>
                        <button class="tab-btn" onclick="showTab('deployment')">DEPLOYMENT</button>
                        <button class="tab-btn" onclick="showTab('ai')">AI</button>
                        <button class="tab-btn" onclick="showTab('advanced')">ADVANCED</button>
                    </div>

                    <div class="tab-content active" id="basic">
                        <div class="code-block">
                            <div class="code-header">Basic Operations <span class="copy-hint">← Click any command to
                                    copy</span></div>
                            <pre><code><span class="comment"># List all available SVMs</span>
<span class="copyable-command" onclick="copyCommand('osvm svm list')"><span class="prompt">$</span> osvm svm list</span>

<span class="comment"># Get detailed information about a specific SVM</span>
<span class="copyable-command" onclick="copyCommand('osvm svm get sonic')"><span class="prompt">$</span> osvm svm get sonic</span>

<span class="comment"># Check system health</span>
<span class="copyable-command" onclick="copyCommand('osvm doctor')"><span class="prompt">$</span> osvm doctor</span>

<span class="comment"># Auto-fix common issues</span>
<span class="copyable-command" onclick="copyCommand('osvm doctor --fix')"><span class="prompt">$</span> osvm doctor --fix</span>

<span class="comment"># Get wallet balance</span>
<span class="copyable-command" onclick="copyCommand('osvm balance')"><span class="prompt">$</span> osvm balance</span></code></pre>
                        </div>
                    </div>

                    <div class="tab-content" id="deployment">
                        <div class="code-block">
                            <div class="code-header">Node Deployment <span class="copy-hint">← Click any command to
                                    copy</span></div>
                            <pre><code><span class="comment"># Deploy validator node to mainnet</span>
<span class="copyable-command" onclick="copyCommand('osvm user@host --svm sonic --node-type validator --network mainnet')"><span class="prompt">$</span> osvm user@host --svm sonic --node-type validator --network mainnet</span>

<span class="comment"># Deploy multiple SVMs to devnet</span>
<span class="copyable-command" onclick="copyCommand('osvm user@host --svm sonic,solana,eclipse --node-type validator --network devnet')"><span class="prompt">$</span> osvm user@host --svm sonic,solana,eclipse --node-type validator --network devnet</span>

<span class="comment"># Deploy eBPF program to all networks</span>
<span class="copyable-command" onclick="copyCommand('osvm deploy ./program.so --program-id ./id.json --owner ./owner.json --fee ./fee.json')"><span class="prompt">$</span> osvm deploy ./program.so --program-id ./id.json --owner ./owner.json --fee ./fee.json</span></code></pre>
                        </div>
                    </div>

                    <div class="tab-content" id="ai">
                        <div class="code-block">
                            <div class="code-header">AI Integration <span class="copy-hint">← Click any command to
                                    copy</span></div>
                            <pre><code><span class="comment"># Ask AI questions about Solana</span>
<span class="copyable-command" onclick="copyCommand('osvm &quot;What are Solana security best practices?&quot;')"><span class="prompt">$</span> osvm "What are Solana security best practices?"</span>

<span class="comment"># Audit smart contract code</span>
<span class="copyable-command" onclick="copyCommand('osvm audit ./contracts')"><span class="prompt">$</span> osvm audit ./contracts</span>

<span class="comment"># Interactive AI chat</span>
<span class="copyable-command" onclick="copyCommand('osvm chat')"><span class="prompt">$</span> osvm chat</span></code></pre>
                        </div>
                    </div>

                    <div class="tab-content" id="advanced">
                        <div class="code-block">
                            <div class="code-header">Advanced Features <span class="copy-hint">← Click any command to
                                    copy</span></div>
                            <pre><code><span class="comment"># Setup MCP server from GitHub</span>
<span class="copyable-command" onclick="copyCommand('osvm mcp add-github solana-mcp https://github.com/openSVM/solana-mcp-server')"><span class="prompt">$</span> osvm mcp add-github solana-mcp https://github.com/openSVM/solana-mcp-server</span>

<span class="comment"># Install plugin from repository</span>
<span class="copyable-command" onclick="copyCommand('osvm plugins install github.com/user/weather-plugin')"><span class="prompt">$</span> osvm plugins install github.com/user/weather-plugin</span>

<span class="comment"># Launch interactive dashboard</span>
<span class="copyable-command" onclick="copyCommand('osvm svm dashboard')"><span class="prompt">$</span> osvm svm dashboard</span></code></pre>
                        </div>
                    </div>
                </section>

                <!-- Footer -->
                <footer class="terminal-footer">
                    <div class="footer-content">
                        <div class="footer-section">
                            <h4>LINKS</h4>
                            <ul>
                                <li><a href="https://github.com/opensvm/osvm-cli">GitHub</a></li>
                                <li><a href="https://github.com/opensvm/osvm-cli/releases">Releases</a></li>
                                <li><a href="https://github.com/opensvm/osvm-cli/issues">Issues</a></li>
                                <li><a href="https://github.com/opensvm/osvm-cli/discussions">Discussions</a></li>
                            </ul>
                        </div>

                        <div class="footer-section">
                            <h4>DOCS</h4>
                            <ul>
                                <li><a href="#getting-started">Getting Started</a></li>
                                <li><a href="#api-reference">API Reference</a></li>
                                <li><a href="#plugin-development">Plugin Development</a></li>
                                <li><a href="#troubleshooting">Troubleshooting</a></li>
                            </ul>
                        </div>

                        <div class="footer-section">
                            <h4>COMMUNITY</h4>
                            <ul>
                                <li><a href="https://discord.gg/opensvm">Discord</a></li>
                                <li><a href="https://twitter.com/opensvm">Twitter</a></li>
                                <li><a href="https://t.me/opensvm">Telegram</a></li>
                                <li><a href="mailto:hello@opensvm.org">Contact</a></li>
                            </ul>
                        </div>
                    </div>

                    <div class="copyright">
                        <div class="command-line">
                            <span class="prompt">osvm@docs:~$</span>
                            <span class="command">echo "MIT License © 2024 OpenSVM"</span>
                        </div>
                    </div>
                </footer>
            </main>
        </div>
    </div>

    <script src="script.js"></script>
</body>

</html>