TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Plain Text Cryptocurrency Prices

63 pointsby guillaumecalmost 3 years ago

17 comments

tiborsaasalmost 3 years ago
I get randomly HTML and ASCII in the terminal, otherwise cool product.<p>It would be nice to configure a list of coins to be displayed. Something like:<p><pre><code> https:&#x2F;&#x2F;plaintextco.in&#x2F;collection&#x2F;btc+tezos+near </code></pre> Also, you could reduce the HTML size significantly by using &lt;i&gt; instead of &lt;span&gt; and create a classnames for the colors.
评论 #31741843 未加载
评论 #31741001 未加载
danukeralmost 3 years ago
This is awesome! I will be able to check the prices without spinning up my old laptop&#x27;s fan.<p>My preference for time is much longer-term. Trading too often can lead to ruin due to transaction fees (and&#x2F;or emotion).<p>I&#x27;d use the 1 day, 30 day, and 365 day price changes instead of 1h, 24h, 7d.<p>Another small issue: I can&#x27;t use autoscroll in Firefox because the whole page width is a link.
lazyvaralmost 3 years ago
Some small feedback if I may: Could you separate the link and the text on the main page? My first thought was: &quot;This isn&#x27;t text. I can&#x27;t highlight or copy anything. It&#x27;s actually the opposite of what the title says.&quot; But everything was as advertised when viewing an actual coin.<p>Cool site! Cheers!
评论 #31740580 未加载
memorablealmost 3 years ago
<a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20220614131126&#x2F;https:&#x2F;&#x2F;plaintextco.in&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20220614131126&#x2F;https:&#x2F;&#x2F;plaintext...</a>
olalondealmost 3 years ago
Pretty cool, I noticed it works both in the browser and command line. I suppose you are using the User-Agent header to detect which version to serve? Which library did you use for the interface?
评论 #31740199 未加载
bluetideproalmost 3 years ago
HN hug of death, I assume.
评论 #31740134 未加载
jokestiralmost 3 years ago
That&#x27;s awesome.<p>Some things that can be improved:<p>- The UI is left justified on my mobile browser. It will look better if it is centered.<p>- The font is too small. Perhaps you could increase font size so users don&#x27;t have to zoom in.<p>Also, did you a framework to generate plaintext front-end or is it hand crafted?
评论 #31739444 未加载
KyleBerezinalmost 3 years ago
Firefox 101.0.1 on Windows didn&#x27;t seem to render it correctly. I was going to compare it to chrome but then the server died. Very cool page though.<p>Update: the server is back up and it looks fine on Firefox now. false alarm
rabusealmost 3 years ago
All I see is a white page.
评论 #31740170 未加载
weird-eye-issuealmost 3 years ago
Is this white page some sort of satire or is it down?
评论 #31740667 未加载
paulnpacealmost 3 years ago
Interesting. I wasn&#x27;t aware that you could use a Cloudflare IP address along with a different name server.
评论 #31740613 未加载
评论 #31740449 未加载
rkagereralmost 3 years ago
Oh. From the headline I was hoping for something easily parseable.
giantrobotalmost 3 years ago
I got a blank page...did crypto prices drop that much today?
julianeonalmost 3 years ago
This is really nice. Great work.
sodality2almost 3 years ago
Getting a 504 :(
评论 #31739843 未加载
评论 #31739791 未加载
j_leboulangeralmost 3 years ago
Here is an extract of what happens in terminal :<p>curl <a href="https:&#x2F;&#x2F;plaintextco.in&#x2F;coins&#x2F;bitcoin" rel="nofollow">https:&#x2F;&#x2F;plaintextco.in&#x2F;coins&#x2F;bitcoin</a><p>&lt;!DOCTYPE html&gt; &lt;title&gt;&lt;&#x2F;title&gt; &lt;meta name=&quot;description&quot; content=&quot;Plain text cryptocurrency prices&quot;&gt; &lt;style&gt; @font-face { font-family: &#x27;dejavu-sans-mono&#x27;; src: url(&#x27;&#x2F;static&#x2F;DejaVuSansMono.ttf&#x27;) format(&#x27;truetype&#x27;); } * { font-family: &#x27;dejavu-sans-mono&#x27;; font-size: small; line-height: 120%; } &lt;&#x2F;style&gt;<p>&lt;h1&gt;plaintextco.in&lt;&#x2F;h1&gt;<p>&lt;h1&gt;&lt;&#x2F;h1&gt;<p>&lt;pre&gt; Bitcoin (BTC)<p><pre><code> &lt;span style=&quot;color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #fe971a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #fe971a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #fc961a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #fc961a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #fd971a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #ff971a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt; Price $22,183 &lt;span style=&quot;color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f7931a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #fd971a;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f7931a;background-color: #ff9a1b;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f79319;background-color: #fa941a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f79217;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f79116;background-color: #f7931a;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f9a239;background-color: #f79116;&quot;&gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #f9a53f;ba </code></pre> It&#x27;s impossible to read :(
评论 #31740447 未加载
评论 #31740324 未加载
评论 #31740626 未加载
评论 #31740553 未加载
_ehtalmost 3 years ago
Plaintext and ascii art are in this year and that’s cool to me. Nice work.