online-info-switch
Online information hub for Kodachi OS - RSS feeds, paste services, freshness proofs, and connectivity status
Version: 9.8.4 (build 319) | Size: 6.2MB | Author: Warith Al Maawali
License: Proprietary | Website: https://www.digi77.com
File Information
| Property | Value |
|---|---|
| Binary Name | online-info-switch |
| Version | 9.8.4 (build 319) |
| Build Date | REDACTED-BUILD-TIME |
| Rust Version | 1.82.0 |
| File Size | 6.2MB |
| Author | Warith Al Maawali |
| License | Proprietary |
| Category | Kodachi Binary |
| Description | Online information hub for Kodachi OS - RSS feeds, paste services, freshness proofs, and connectivity status |
| Git Commit | unknown |
| Metadata Generated | 2026-06-28T11:16:35Z |
| Binary Timestamp | Unknown |
| JSON Data | View Raw JSON |
SHA256 Checksum
dbb452059b5f82cbe96aa200eaba6832bb2a674b8c825a6e9460eef9a44f9984
Features
| # | Feature |
|---|---|
| 1 | Online/offline status checking via health-control |
| 2 | RSS feed aggregation from security news sources |
| 3 | Public paste service integration |
| 4 | Proof of freshness with current news and blockchain data |
Security Features
| Feature | Description |
|---|---|
| Authentication | Not provided by cli-core (see online-auth) |
| Encryption | Not provided by cli-core |
| Input Validation | Argument parsing via clap; per-command validation is the consumer's responsibility |
| Rate Limiting | Not provided by cli-core |
System Requirements
| Requirement | Value |
|---|---|
| OS | Linux (Debian-based) |
| Privileges | root/sudo for system operations |
| Dependencies | OpenSSL, libcurl |
Global Options
| Flag | Description |
|---|---|
-h, --help |
Print help information |
-v, --version |
Print version information |
-n, --info |
Display detailed information |
-e, --examples |
Show usage examples |
--json |
Output in JSON format |
-o, --output-format <FORMAT> |
Force output format (text|json) |
--json-pretty |
Pretty-print JSON output with indentation |
--json-human |
Enhanced JSON output with improved formatting (like jq) |
--fields <FIELD_LIST> |
Select specific fields to include in output (comma-separated) |
--limit <NUMBER> |
Limit number of results returned |
--offset <NUMBER> |
Skip first N results (for pagination) |
-d, --work-dir <PATH> |
Working directory (defaults to auto-detected base directory) |
--port <PORT> |
Set custom port number (1024-65535) |
--log-level <LEVEL> |
Set log level (error|warn|info|debug) |
--verbose |
Enable verbose output |
--quiet |
Suppress non-essential output |
--no-color |
Disable colored output |
--config <FILE> |
Use custom configuration file |
--timeout <SECS> |
Set operation timeout in seconds (optional; no default applied) |
--retry <COUNT> |
Retry attempts (optional; no default applied) |
Commands
Commands
status
Show current online/offline status
Usage:
online-info-switch status [OPTIONS]
rss
Fetch RSS feeds from security news sources
Usage:
online-info-switch rss [OPTIONS]
paste
Upload content to public paste services
Usage:
online-info-switch paste [OPTIONS]
freshness
Show proof of system freshness
Usage:
online-info-switch freshness [OPTIONS]
price
Check cryptocurrency and precious metals prices
Usage:
online-info-switch price [OPTIONS]
balance
Check Bitcoin wallet balance
Usage:
online-info-switch balance [OPTIONS]
releases
Check Kodachi release information
Usage:
online-info-switch releases [OPTIONS]
cloud-stats
Fetch Kodachi cloud infrastructure statistics
Usage:
online-info-switch cloud-stats [OPTIONS]
knet-status
Check Kodachi network connection status
Usage:
online-info-switch knet-status [OPTIONS]
vps-tor-check
Check VPS Tor exit IP through SOCKS5 proxy
Usage:
online-info-switch vps-tor-check [OPTIONS]
Operational Scenarios
Scenario-oriented workflows generated from the binary's built-in -e --json examples.
Scenario 1: Basic Usage
Common operations for online information services
Step 1: Check online/offline status
online-info-switch status
Step 2: Fetch security RSS feeds
online-info-switch rss
Step 3: Generate freshness proof
online-info-switch freshness
Scenario 2: Output Formats
Different output format options
Step 1: JSON output
online-info-switch status --json
Step 2: Pretty JSON
online-info-switch status --json-pretty
Step 3: Colored JSON
online-info-switch status --json-human
Scenario 3: RSS Feed Operations
Fetch and display security news from RSS feeds
Step 1: Fetch all RSS feeds
online-info-switch rss
Step 2: Fetch from random source
online-info-switch rss --random
Step 3: Fetch from specific sources
online-info-switch rss --sources "darkreading,wired"
Step 4: Limit to 5 items
online-info-switch rss --max-items 5
Step 5: RSS feeds in JSON
online-info-switch rss --json-pretty
Scenario 4: Paste Service Operations
Upload content to public paste services (paste.rs, dpaste.com, catbox.moe). termbin.com requires --allow-termbin-plaintext (plaintext TCP, bypasses Tor/proxy).
Step 1: Paste from stdin to all default services (HTTPS only, Tor/proxy-safe)
echo "Hello World" | online-info-switch paste
Step 2: Paste text directly to default HTTPS services
online-info-switch paste "Sample content"
Step 3: Paste from file
online-info-switch paste --file /path/to/file.txt
Step 4: Paste to paste.rs only
online-info-switch paste "test" --services "paste.rs"
Step 5: Paste to termbin.com (WARNING: plaintext TCP, bypasses Tor/proxy — explicit opt-in required)
online-info-switch paste "test" --services "termbin.com" --allow-termbin-plaintext
Note
termbin.com sends data over unencrypted TCP port 9999 which bypasses Tor and any proxy, exposing your real IP address. Only use on trusted networks when anonymity is not required.
Step 6: Paste to catbox.moe only
online-info-switch paste "test" --services "catbox.moe"
Step 7: Paste to multiple specific services
online-info-switch paste "test" --services "dpaste.com,catbox.moe,paste.rs"
Step 8: Paste results in JSON
online-info-switch paste "test" --json-pretty
Scenario 5: Freshness Proof Operations
Generate proof of system freshness with current data
Step 1: Show freshness proof
online-info-switch freshness
Step 2: Freshness in JSON format
online-info-switch freshness --json-pretty
Step 3: Compact freshness JSON
online-info-switch freshness --json
Scenario 6: Cryptocurrency & Metals Operations
Check cryptocurrency prices, precious metals prices, and Bitcoin wallet balances
Step 1: Check Bitcoin price
online-info-switch price btc
Step 2: Check Ethereum price
online-info-switch price eth
Step 3: Check Monero price
online-info-switch price xmr
Step 4: Check Aleph Zero price
online-info-switch price azero
Step 5: Check NEAR Protocol price
online-info-switch price near
Step 6: Check Gold spot price
online-info-switch price gold
Step 7: Check Silver spot price
online-info-switch price silver
Step 8: Check Gold spot price (symbol)
online-info-switch price xau
Step 9: Check Silver spot price (symbol)
online-info-switch price xag
Step 10: Check all crypto and metals prices
online-info-switch price all
Step 11: Check Bitcoin wallet balance
online-info-switch balance 34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo
Step 12: Check Segwit address balance
online-info-switch balance bc1ql49ydapnjafl5t2cp9zqpjwe6pdgmxy98859v2
Scenario 7: Release Information
Check Kodachi OS release information for different editions
Step 1: Check all Kodachi releases
online-info-switch releases
Step 2: Check Binary Pack release
online-info-switch releases binary_pack
Step 3: Check Terminal edition release
online-info-switch releases terminal
Step 4: Check Desktop edition release
online-info-switch releases desktop
Step 5: Get releases in JSON format
online-info-switch releases --json-pretty
Scenario 8: Cloud Infrastructure Operations
Check Kodachi cloud infrastructure and network status
Step 1: Fetch cloud infrastructure statistics
online-info-switch cloud-stats
Step 2: Cloud stats in JSON format
online-info-switch cloud-stats --json-pretty
Step 3: Check Kodachi network connection status
online-info-switch knet-status
Step 4: knet status in JSON format
online-info-switch knet-status --json-pretty
Step 5: Check Tor exit IP (auto-detects local Tor SOCKS5: probes 9050, 9150, and Kodachi multi-instance pool 10000-10019)
online-info-switch vps-tor-check
Note
Pass --socks-port or --socks-host to override auto-detection.
Step 6: Check Tor exit with custom SOCKS5 proxy
online-info-switch vps-tor-check --socks-host 192.168.1.100 --socks-port 9051
Step 7: Tor exit check in JSON format
online-info-switch vps-tor-check --json-pretty
Environment Variables
| Variable | Description | Default | Values |
|---|---|---|---|
RUST_LOG |
Set logging level | info | error|warn|info|debug|trace |
NO_COLOR |
Disable all colored output when set | unset | 1|true|yes (any value disables color) |
Exit Codes
| Code | Description |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Invalid arguments |
| 3 | Permission denied |
| 4 | Network error |
| 5 | File not found |