Skip to content

thejchap/jc-news

Repository files navigation

jc news

jc news is a script that summarizes the top 20-ish posts on hacker news, then prints to a printer on your local network! the hacker news(paper).

jc-news

getting started

this can be run easily via uvx if you have uv installed.

# make sure we have a printer
uvx --from git+https://github.com/thejchap/jc-news jc-news list-printers

# dry run pdf generation
uvx --from git+https://github.com/thejchap/jc-news jc-news run --dry-run=pdf

# print it!
uvx --from git+https://github.com/thejchap/jc-news jc-news run

summarization

you need to either be logged in to claude code via a pro account, or have an ANTHROPIC_API_KEY environment variable set. the script uses the anthropic api for summarization.

contributing

prs welcome

verification

# run the tests
uv run tryke test

# run the type checker
uv run ty check

# linting/formatting
uv run ruff check
uv run ruff format --check

# or...
uvx prek -a

About

summarizes the top 10-20 hacker news articles and prints to a printer on your local network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages