Non-commercial use. briefnewsCLI is a Python command-line tool for fetching and summarizing news articles from various sources. It simplifies the process of staying informed by providing quick access to summarized news articles by AI in your terminal.
- Fetch and display top news stories.
- Summarize news articles for quick insights.
- Customizable summarization options.
- Easy-to-use and interactive command-line interface.
You can install briefnewsCLI via pip. Ensure you have Python 3.7 or higher installed.
pip install briefnewscli
To use briefnewsCLI, you need to configure the following environment variables:
NYT_API_KEY
: Your New York Times API key for authentication.
Please make sure to set these environment variables in your local environment before using briefnewsCLI.
After installation, you can use briefnewsCLI by running the brief-news
command in your terminal:
briefnewscli headlines
To summarize today's top stories, use:
briefnewscli brief
For more details and options, refer to the Commands section below.
headlines
Fetch and display the top news stories from various sources.
briefnewscli headlines
brief
Summarize news articles for quick insights. Customize summarization options as needed.
briefnewscli brief
For additional commands and options, run briefnewscli --help
.
Contributions to BriefNewsCLI are welcome! To contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to the main repository.
This project is licensed under the Creative Commons Legal Code.