Skip to content

nathell/summhn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autosummarized HN

This is Hacker News with one-sentence summaries automatically generated by GPT-3.

Running it

Prerequisites

You’ll need Clojure CLI tools. You also need to have access to the OpenAI API.

Steps

  1. (Optional) Edit the configuration. The defaults should work out-of-the-box, except that some links will point to my deployed instance.
  2. In your terminal, run the following (substitute the key with your own, which you can get from OpenAI’s dashboard):
OPENAI_KEY=[sk_your_key] clojure -X summhn.core/run

Notes

This code uses my Skyscraper library to fetch and cache the data. Successfully running this code will produce a Skyscraper cache in ~/skyscraper-data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published