$ curl -i https://plaintextco.in/
HTTP/2 504
date: Tue, 14 Jun 2022 14:13:44 GMT
[more headers]
cf-ray: 71b3ab17fc7254d5-MAN
<!DOCTYPE htmcurl https://plaintextco.in/coins/bitcoin
<!DOCTYPE html> <title></title> <meta name="description" content="Plain text cryptocurrency prices"> <style> @font-face { font-family: 'dejavu-sans-mono'; src: url('/static/DejaVuSansMono.ttf') format('truetype'); } * { font-family: 'dejavu-sans-mono'; font-size: small; line-height: 120%; } </style>
<h1>plaintextco.in</h1>
<h1></h1>
<pre> Bitcoin (BTC)
<span style="color: #f7931a;"></span><span style="color: #f7931a;"></span><span style="color: #fe971a;background-color: #f7931a;"></span><span style="color: #fe971a;background-color: #f7931a;"></span><span style="color: #fc961a;background-color: #f7931a;"></span><span style="color: #fc961a;background-color: #f7931a;"></span><span style="color: #fd971a;background-color: #f7931a;"></span><span style="color: #ff971a;background-color: #f7931a;"></span><span style="color: #f7931a;"></span><span style="color: #f7931a;"></span> Price $22,183
<span style="color: #f7931a;"></span><span style="color: #f7931a;background-color: #f7931a;"></span><span style="color: #fd971a;background-color: #f7931a;"></span><span style="color: #f7931a;background-color: #ff9a1b;"></span><span style="color: #f79319;background-color: #fa941a;"></span><span style="color: #f79217;background-color: #f7931a;"></span><span style="color: #f79116;background-color: #f7931a;"></span><span style="color: #f9a239;background-color: #f79116;"></span><span style="color: #f9a53f;ba
It's impossible to read :(It would be nice to configure a list of coins to be displayed. Something like:
https://plaintextco.in/collection/btc+tezos+near
Also, you could reduce the HTML size significantly by using <i> instead of <span> and create a classnames for the colors. https://plaintextco.in/?ids=bitcoin,ethereum,mina-protocol,avalanche-2Some things that can be improved:
- The UI is left justified on my mobile browser. It will look better if it is centered.
- The font is too small. Perhaps you could increase font size so users don't have to zoom in.
Also, did you a framework to generate plaintext front-end or is it hand crafted?
It's all hand crafted. My first time using golang so the code is probably not as efficient as it could be.
\xe2\x94\x82\n\xe2\x94\x94\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x98\n
Cool site! Cheers!
https://web.archive.org/web/20220614131126/https://plaintext...
My preference for time is much longer-term. Trading too often can lead to ruin due to transaction fees (and/or emotion).
I'd use the 1 day, 30 day, and 365 day price changes instead of 1h, 24h, 7d.
Another small issue: I can't use autoscroll in Firefox because the whole page width is a link.
Update: the server is back up and it looks fine on Firefox now. false alarm