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
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:
rss
Fetch RSS feeds from security news sources
Usage:
paste
Upload content to public paste services
Usage:
freshness
Show proof of system freshness
Usage:
price
Check cryptocurrency and precious metals prices
Usage:
balance
Check Bitcoin wallet balance
Usage:
releases
Check Kodachi release information
Usage:
cloud-stats
Fetch Kodachi cloud infrastructure statistics
Usage:
knet-status
Check Kodachi network connection status
Usage:
vps-tor-check
Check VPS Tor exit IP through SOCKS5 proxy
Usage:
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
Expected Output: System is online/offlineStep 2: Fetch security RSS feeds
Expected Output: Latest security newsStep 3: Generate freshness proof
Expected Output: Time verification with news and blockchainScenario 2: Output Formats
Different output format options
Step 1: JSON output
Expected Output: Compact JSON formatStep 2: Pretty JSON
Expected Output: Indented JSON formatStep 3: Colored JSON
Expected Output: Colorized JSON outputScenario 3: RSS Feed Operations
Fetch and display security news from RSS feeds
Step 1: Fetch all RSS feeds
Expected Output: Latest security newsStep 2: Fetch from random source
Expected Output: News from random feedStep 3: Fetch from specific sources
Expected Output: News from specified sourcesStep 4: Limit to 5 items
Expected Output: Top 5 news itemsStep 5: RSS feeds in JSON
Expected Output: JSON formatted RSS dataScenario 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
Expected Output: URLs from paste.rs, dpaste.com, termbin.com, catbox.moeStep 2: Paste text directly
Expected Output: Paste URLs from all servicesStep 3: Paste from file
Expected Output: Paste URLsStep 4: Paste to paste.rs only
Expected Output: paste.rs URLStep 5: Paste to termbin.com only
Expected Output: termbin.com URLStep 6: Paste to catbox.moe only
Expected Output: catbox.moe URLStep 7: Paste to multiple specific services
Expected Output: URLs from selected servicesStep 8: Paste results in JSON
Expected Output: JSON formatted paste resultsScenario 5: Freshness Proof Operations
Generate proof of system freshness with current data
Step 1: Show freshness proof
Expected Output: Current time and latest newsStep 2: Freshness in JSON format
Expected Output: JSON formatted freshness dataStep 3: Compact freshness JSON
Expected Output: Compact JSON freshness dataScenario 6: Cryptocurrency & Metals Operations
Check cryptocurrency prices, precious metals prices, and Bitcoin wallet balances
Step 1: Check Bitcoin price
Expected Output: Current BTC price in USDStep 2: Check Ethereum price
Expected Output: Current ETH price in USDStep 3: Check Monero price
Expected Output: Current XMR price in USDStep 4: Check Aleph Zero price
Expected Output: Current AZERO price in USDStep 5: Check NEAR Protocol price
Expected Output: Current NEAR price in USDStep 6: Check Gold spot price
Expected Output: Current XAU price in USDStep 7: Check Silver spot price
Expected Output: Current XAG price in USDStep 8: Check Gold spot price (symbol)
Expected Output: Current XAU price in USDStep 9: Check Silver spot price (symbol)
Expected Output: Current XAG price in USDStep 10: Check all crypto and metals prices
Expected Output: BTC, ETH, XMR, NEAR, AZERO, GOLD, SILVER pricesStep 11: Check Bitcoin wallet balance
Expected Output: BTC balance for the addressStep 12: Check Segwit address balance
Expected Output: BTC balance for Segwit addressScenario 7: Release Information
Check Kodachi OS release information for different editions
Step 1: Check all Kodachi releases
Expected Output: Release info for all editionsStep 2: Check Binary Pack release
Expected Output: Release and installation infoStep 3: Check Terminal edition release
Expected Output: Terminal ISO release infoStep 4: Check Desktop edition release
Expected Output: Desktop ISO release infoStep 5: Get releases in JSON format
Expected Output: Pretty JSON with all releasesScenario 8: Cloud Infrastructure Operations
Check Kodachi cloud infrastructure and network status
Step 1: Fetch cloud infrastructure statistics
Expected Output: Cloud stats with users, challenges, and infrastructureStep 2: Cloud stats in JSON format
Expected Output: Pretty JSON with cloud statisticsStep 3: Check Kodachi network connection status
Expected Output: knet: On/Off statusStep 4: knet status in JSON format
Expected Output: Pretty JSON with knet statusStep 5: Check VPS Tor exit IP (default SOCKS5 127.0.0.1:9050)
Expected Output: Tor exit IP and proxy configurationStep 6: Check Tor exit with custom SOCKS5 proxy
Expected Output: Tor exit IP through custom proxyStep 7: Tor exit check in JSON format
Expected Output: Pretty JSON with exit IP and proxy infoEnvironment 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 |