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: 6.0MB | 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 2025-09-23T19:20:04.194094412Z
Rust Version 1.82.0
File Size 6.0MB
JSON Data View Raw JSON

SHA256 Checksum

13d74aca8f319749c10d718e5cde95afc783e853ef6aaa061254e19f07902c02

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 prices

Usage:

online-info-switch price [OPTIONS]

balance

Check Bitcoin wallet balance

Usage:

online-info-switch balance [OPTIONS]

Examples

Basic Usage

Common operations for online information services

Check online/offline status

online-info-switch status
Expected Output: System is online/offline

Fetch security RSS feeds

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

Generate freshness proof

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

Output Formats

Different output format options

JSON output

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

Pretty JSON

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

Colored JSON

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

RSS Feed Operations

Fetch and display security news from RSS feeds

Fetch all RSS feeds

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

Fetch from random source

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

Fetch from specific sources

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

Limit to 5 items

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

RSS feeds in JSON

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

Paste Service Operations

Upload content to public paste services

Paste from stdin

echo "Hello World" | online-info-switch paste
Expected Output: Paste URLs

Paste text directly

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

Paste from file

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

Paste results in JSON

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

Freshness Proof Operations

Generate proof of system freshness with current data

Show freshness proof

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

Freshness in JSON format

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

Compact freshness JSON

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

Cryptocurrency Operations

Check cryptocurrency prices and Bitcoin wallet balances

Check Bitcoin price

online-info-switch price btc
Expected Output: Current BTC price in USD

Check Ethereum price

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

Check Monero price

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

Check Aleph Zero price

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

Check NEAR Protocol price

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

Check all crypto prices at once

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

Check Bitcoin wallet balance

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

Check Segwit address balance

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

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

Back to top