Hacker News new | ask | show | jobs
by tiborsaas 1467 days ago
I get randomly HTML and ASCII in the terminal, otherwise cool product.

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.
2 comments

Yes, since I got too many requests from HN, I had to enable the CDN. I didn't realize it would cache both html and terminal request together. I tried setting "Vary: User-Agent" but it didn't work. You can add: "?term=true" to make it work in terminal for now.
I think Vary: Accept-Encoding or similar is the solution for this but not sure
looks like OP implemented it ( https://plaintextco.in/about ) :

   https://plaintextco.in/?ids=bitcoin,ethereum,mina-protocol,avalanche-2
oh cool, it's now ready for bookmarking :)