Skip to content

online-info-switch

Online information hub for Kodachi OS - RSS feeds, paste services, freshness proofs, and connectivity status

Version: 9.0.1 | Size: 4.9MB | Author: Warith Al Maawali

License: Proprietary | Website: https://www.digi77.com


File Information

Property Value
Binary Name online-info-switch
Version 9.0.1
Build Date 2026-03-23T08:25:59.937990850Z
Rust Version 1.82.0
File Size 4.9MB
JSON Data View Raw JSON

SHA256 Checksum

a4b573faa4b0828c9a96f5b47d7580b97057847b0dc4888477c3b7c43a01acba

Features

Feature Description
Feature Online/offline status checking via health-control
Feature RSS feed aggregation from security news sources
Feature Public paste service integration
Feature Proof of freshness with current news and blockchain data

Security Features

Feature Description
Authentication Secure authentication with certificate pinning
Encryption TLS 1.3 for all network communications
Inputvalidation All inputs are validated and sanitized
Ratelimiting Built-in rate limiting for network operations

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
--json-pretty Pretty-print JSON output with indentation
--json-human Enhanced JSON output with improved formatting (like jq)
--verbose Enable verbose output
--quiet Suppress non-essential output
--no-color Disable colored output
--config <FILE> Use custom configuration file
--timeout <SECS> Set timeout (default: 30)
--retry <COUNT> Retry attempts (default: 3)

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
Expected Output: System is online/offline

Step 2: Fetch security RSS feeds

online-info-switch rss
Expected Output: Latest security news

Step 3: Generate freshness proof

online-info-switch freshness
Expected Output: Time verification with news and blockchain

Scenario 2: Output Formats

Different output format options

Step 1: JSON output

online-info-switch status --json
Expected Output: Compact JSON format

Step 2: Pretty JSON

online-info-switch status --json-pretty
Expected Output: Indented JSON format

Step 3: Colored JSON

online-info-switch status --json-human
Expected Output: Colorized JSON output

Scenario 3: RSS Feed Operations

Fetch and display security news from RSS feeds

Step 1: Fetch all RSS feeds

online-info-switch rss
Expected Output: Latest security news

Step 2: Fetch from random source

online-info-switch rss --random
Expected Output: News from random feed

Step 3: Fetch from specific sources

online-info-switch rss --sources "darkreading,wired"
Expected Output: News from specified sources

Step 4: Limit to 5 items

online-info-switch rss --max-items 5
Expected Output: Top 5 news items

Step 5: RSS feeds in JSON

online-info-switch rss --json-pretty
Expected Output: JSON formatted RSS data

Scenario 4: Paste Service Operations

Upload content to public paste services (paste.rs, dpaste.com, termbin.com, catbox.moe)

Step 1: Paste from stdin to all services

echo "Hello World" | online-info-switch paste
Expected Output: URLs from paste.rs, dpaste.com, termbin.com, catbox.moe

Step 2: Paste text directly

online-info-switch paste "Sample content"
Expected Output: Paste URLs from all services

Step 3: Paste from file

online-info-switch paste --file /path/to/file.txt
Expected Output: Paste URLs

Step 4: Paste to paste.rs only

online-info-switch paste "test" --services "paste.rs"
Expected Output: paste.rs URL

Step 5: Paste to termbin.com only

online-info-switch paste "test" --services "termbin.com"
Expected Output: termbin.com URL

Step 6: Paste to catbox.moe only

online-info-switch paste "test" --services "catbox.moe"
Expected Output: catbox.moe URL

Step 7: Paste to multiple specific services

online-info-switch paste "test" --services "dpaste.com,catbox.moe,paste.rs"
Expected Output: URLs from selected services

Step 8: Paste results in JSON

online-info-switch paste "test" --json-pretty
Expected Output: JSON formatted paste results

Scenario 5: Freshness Proof Operations

Generate proof of system freshness with current data

Step 1: Show freshness proof

online-info-switch freshness
Expected Output: Current time and latest news

Step 2: Freshness in JSON format

online-info-switch freshness --json-pretty
Expected Output: JSON formatted freshness data

Step 3: Compact freshness JSON

online-info-switch freshness --json
Expected Output: Compact JSON freshness data

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
Expected Output: Current BTC price in USD

Step 2: Check Ethereum price

online-info-switch price eth
Expected Output: Current ETH price in USD

Step 3: Check Monero price

online-info-switch price xmr
Expected Output: Current XMR price in USD

Step 4: Check Aleph Zero price

online-info-switch price azero
Expected Output: Current AZERO price in USD

Step 5: Check NEAR Protocol price

online-info-switch price near
Expected Output: Current NEAR price in USD

Step 6: Check Gold spot price

online-info-switch price gold
Expected Output: Current XAU price in USD

Step 7: Check Silver spot price

online-info-switch price silver
Expected Output: Current XAG price in USD

Step 8: Check Gold spot price (symbol)

online-info-switch price xau
Expected Output: Current XAU price in USD

Step 9: Check Silver spot price (symbol)

online-info-switch price xag
Expected Output: Current XAG price in USD

Step 10: Check all crypto and metals prices

online-info-switch price all
Expected Output: BTC, ETH, XMR, NEAR, AZERO, GOLD, SILVER prices

Step 11: Check Bitcoin wallet balance

online-info-switch balance 34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo
Expected Output: BTC balance for the address

Step 12: Check Segwit address balance

online-info-switch balance bc1ql49ydapnjafl5t2cp9zqpjwe6pdgmxy98859v2
Expected Output: BTC balance for Segwit address

Scenario 7: Release Information

Check Kodachi OS release information for different editions

Step 1: Check all Kodachi releases

online-info-switch releases
Expected Output: Release info for all editions

Step 2: Check Binary Pack release

online-info-switch releases binary_pack
Expected Output: Release and installation info

Step 3: Check Terminal edition release

online-info-switch releases terminal
Expected Output: Terminal ISO release info

Step 4: Check Desktop edition release

online-info-switch releases desktop
Expected Output: Desktop ISO release info

Step 5: Get releases in JSON format

online-info-switch releases --json-pretty
Expected Output: Pretty JSON with all releases

Scenario 8: Cloud Infrastructure Operations

Check Kodachi cloud infrastructure and network status

Step 1: Fetch cloud infrastructure statistics

online-info-switch cloud-stats
Expected Output: Cloud stats with users, challenges, and infrastructure

Step 2: Cloud stats in JSON format

online-info-switch cloud-stats --json-pretty
Expected Output: Pretty JSON with cloud statistics

Step 3: Check Kodachi network connection status

online-info-switch knet-status
Expected Output: knet: On/Off status

Step 4: knet status in JSON format

online-info-switch knet-status --json-pretty
Expected Output: Pretty JSON with knet status

Step 5: Check VPS Tor exit IP (default SOCKS5 127.0.0.1:9050)

online-info-switch vps-tor-check
Expected Output: Tor exit IP and proxy configuration

Step 6: Check Tor exit with custom SOCKS5 proxy

online-info-switch vps-tor-check --socks-host 192.168.1.100 --socks-port 9051
Expected Output: Tor exit IP through custom proxy

Step 7: Tor exit check in JSON format

online-info-switch vps-tor-check --json-pretty
Expected Output: Pretty JSON with exit IP and proxy info

Environment Variables

Variable Description Default Values
RUST_LOG Set logging level info error
NO_COLOR Disable all colored output when set unset 1

Exit Codes

Code Description
0 Success
1 General error
2 Invalid arguments
3 Permission denied
4 Network error
5 File not found