
Watermelon addicted, #Blockchain & #Web3 enthusiasts
- Tweets4.1K
- Following714
- Followers133
- Likes9.3K
![Source: https://hub.docker.com/repository/docker/williambnorton/synternet-price-consumer/ This command requires jq for processing the output of this docker: docker run --rm williambnorton/synternet-price-consumer:latest | jq -r --unbuffered ' "\u001b[2J\u001b[H\u001b[1;37;44m ⏰ " + (now|strftime("%H:%M")) + " │ SYNTERNET LIVE PRICES \u001b[0m", "\u001b[90m" + ("─"*50) + "\u001b[0m", (["SYNT","BTC","ETH","SOL","AVAX","XRP","WBTC","UNI","TRUMP","TON","SUI","OSMO","LTC","KCS","INJ","DOT","DOGE","AAVE"][] as $s | .[$s] as $d | "\u001b[1;33m" + ($s+" ")[0:6] + "\u001b[0m $\u001b[1;37m" + ( ($d.price*1e4|round/1e4|tostring) as $price | ($price | split(".")) as $parts | (($parts[0] | gsub("(?<d>[0-9])(?=(?:[0-9]{3})+$)"; "\(.d),")) + (if $parts[1] then "." + $parts[1] else "" end)) ) + "\u001b[0m " + (if $d.price_percent_change_24h>=0 then "\u001b[32m▲" else "\u001b[31m▼" end) + (($d.price_percent_change_24h*10|round/10)|tostring) + "%\u001b[0m" )'](https://pbs.twimg.com/media/G2NU4kSakAAbYVo.jpg?name=small&format=webp)
ALT Source: https://hub.docker.com/repository/docker/williambnorton/synternet-price-consumer/ This command requires jq for processing the output of this docker: docker run --rm williambnorton/synternet-price-consumer:latest | jq -r --unbuffered ' "\u001b[2J\u001b[H\u001b[1;37;44m ⏰ " + (now|strftime("%H:%M")) + " │ SYNTERNET LIVE PRICES \u001b[0m", "\u001b[90m" + ("─"*50) + "\u001b[0m", (["SYNT","BTC","ETH","SOL","AVAX","XRP","WBTC","UNI","TRUMP","TON","SUI","OSMO","LTC","KCS","INJ","DOT","DOGE","AAVE"][] as $s | .[$s] as $d | "\u001b[1;33m" + ($s+" ")[0:6] + "\u001b[0m $\u001b[1;37m" + ( ($d.price*1e4|round/1e4|tostring) as $price | ($price | split(".")) as $parts | (($parts[0] | gsub("(?<d>[0-9])(?=(?:[0-9]{3})+$)"; "\(.d),")) + (if $parts[1] then "." + $parts[1] else "" end)) ) + "\u001b[0m " + (if $d.price_percent_change_24h>=0 then "\u001b[32m▲" else "\u001b[31m▼" end) + (($d.price_percent_change_24h*10|round/10)|tostring) + "%\u001b[0m" )'





















