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: Pg-CLI – Read PG's essays in your terminal

3 pointsby areichertover 1 year ago
Hacked this [0] together for fun this afternoon, mainly because I wanted to play around with the yargs [1] library to build a simple command line tool.<p>It basically just provides an interface to list and read Paul Graham&#x27;s essays [2] in the terminal as markdown. ¯\_(ツ)_&#x2F;¯<p>To list all the essays (assuming you have npm&#x2F;npx installed): `npx pg-essays list`<p>To read a specific essay (e.g. &quot;Beating the Averages&quot;): `npx pg-essays read avg`<p>To read a random popular essay: `npx pg-essays read random`<p>That&#x27;s about it!<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;reichert621&#x2F;pg-cli">https:&#x2F;&#x2F;github.com&#x2F;reichert621&#x2F;pg-cli</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;yargs&#x2F;yargs">https:&#x2F;&#x2F;github.com&#x2F;yargs&#x2F;yargs</a><p>[2] <a href="http:&#x2F;&#x2F;www.paulgraham.com&#x2F;articles.html" rel="nofollow noreferrer">http:&#x2F;&#x2F;www.paulgraham.com&#x2F;articles.html</a>

no comments

no comments