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
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 prices
Usage:
balance
Check Bitcoin wallet balance
Usage:
Examples
Basic Usage
Common operations for online information services
Check online/offline status
Expected Output: System is online/offlineFetch security RSS feeds
Expected Output: Latest security newsGenerate freshness proof
Expected Output: Time verification with news and blockchainOutput Formats
Different output format options
JSON output
Expected Output: Compact JSON formatPretty JSON
Expected Output: Indented JSON formatColored JSON
Expected Output: Colorized JSON outputRSS Feed Operations
Fetch and display security news from RSS feeds
Fetch all RSS feeds
Expected Output: Latest security newsFetch from random source
Expected Output: News from random feedFetch from specific sources
Expected Output: News from specified sourcesLimit to 5 items
Expected Output: Top 5 news itemsRSS feeds in JSON
Expected Output: JSON formatted RSS dataPaste Service Operations
Upload content to public paste services
Paste from stdin
Expected Output: Paste URLsPaste text directly
Expected Output: Paste URLsPaste from file
Expected Output: Paste URLsPaste results in JSON
Expected Output: JSON formatted paste resultsFreshness Proof Operations
Generate proof of system freshness with current data
Show freshness proof
Expected Output: Current time and latest newsFreshness in JSON format
Expected Output: JSON formatted freshness dataCompact freshness JSON
Expected Output: Compact JSON freshness dataCryptocurrency Operations
Check cryptocurrency prices and Bitcoin wallet balances
Check Bitcoin price
Expected Output: Current BTC price in USDCheck Ethereum price
Expected Output: Current ETH price in USDCheck Monero price
Expected Output: Current XMR price in USDCheck Aleph Zero price
Expected Output: Current AZERO price in USDCheck NEAR Protocol price
Expected Output: Current NEAR price in USDCheck all crypto prices at once
Expected Output: BTC, ETH, XMR, NEAR, AZERO pricesCheck Bitcoin wallet balance
Expected Output: BTC balance for the addressCheck Segwit address balance
Expected Output: BTC balance for Segwit addressEnvironment 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 |