Skip to content

calesennett/pi-hn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-hn

A simple Hacker News front-page reader extension for pi.

pi-hn screenshot

Features

  • /hn command opens a selectable front-page list
  • j/k (and arrow keys) navigate the list
  • a or Enter opens the article URL
  • x fetches and parses the selected article (via Readability) and adds it to session context for follow-up prompts
  • c opens comments in browser
  • Read tracking is stored in a local JSON file at ~/.pi/agent/data/pi-hn/db.json (or $PI_CODING_AGENT_DIR/data/pi-hn/db.json)

Install

pi install npm:@calesennett/pi-hn

Local development

In this repo, load the extension directly:

pi -e ./extensions/hn.ts

About

Hacker News front page reader extension for pi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors