🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

pg-essays

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-essays

A dumb little cli tool for reading Paul Graham's (PG) essays in the terminal as markdown.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

pg-cli

A dumb little cli tool for reading Paul Graham's (PG) essays in the terminal as markdown.

Usage

View all essays:

npx pg-essays list

Read an essay by slug:

npx pg-essays read greatwork

API

You can also access this data via API:

  • https://pg-essays.fly.dev/api/essays
  • https://pg-essays.fly.dev/api/essays/greatwork
curl https://pg-essays.fly.dev/api/essays
curl https://pg-essays.fly.dev/api/essays/greatwork

Deploy to Fly

Host the Express API yourself on fly.io for free:

# Install fly cli
brew install flyctl
# Set up Docker image
fly launch
# Deploy app
fly deploy
# Open app in browser
fly open

FAQs

Package last updated on 19 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts