This is Hacker News with one-sentence summaries automatically generated by GPT-3.
You’ll need Clojure CLI tools. You also need to have access to the OpenAI API.
- (Optional) Edit the configuration. The defaults should work out-of-the-box, except that some links will point to my deployed instance.
- 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
This code uses my Skyscraper library to fetch and cache the data. Successfully running this code will produce a Skyscraper cache in ~/skyscraper-data
.