The "TechCrunch News Summarizer" implemented in TypeScript is a project designed to automatically fetch and summarize articles from TechCrunch using OpenAI's GPT-4 Turbo model. This tool aims to provide quick, concise summaries of the latest technology news, making it easier for users to stay informed without needing to read entire articles. It leverages the advanced natural language processing capabilities of GPT-4 Turbo to generate accurate and relevant summaries, offering a time-efficient solution for consuming news content.
- bun
- Open AI API Key
- Discord Webhook URL(optional)
To create .env
refered with .env.example
:
$ echo 'OPEN_AI_API_KEY="<your open ai api key>"' > .env
*If you'd like to notify to Discord, you must set DISCORD_WEBHOOK_URL
in .env
.
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init
in bun v1.0.14. Bun is a fast all-in-one JavaScript runtime.