This platform provides AI-generated summaries of news articles, automatically updating at regular intervals. Users can also input a URL to get a summarized version of the article. The platform categorizes articles and offers them in both English and Spanish, regardless of the original language of the article.
- Automated Summaries: Periodic summaries of news articles using AI.
- Manual URL Summarization: Users can input a URL to get an instant summary of the article.
- Categorization: Articles are automatically categorized based on their content.
- Bilingual Support: Articles are available in both English and Spanish.
To get started with the project, follow these steps:
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/blasferna/lazynews.git cd lazynews
-
Install the dependencies:
npm install
-
Create a
.env
file in the root of the project and add the following environment variables:POSTGRES_DATABASE="verceldb" POSTGRES_HOST= POSTGRES_PASSWORD= POSTGRES_PRISMA_URL= POSTGRES_URL= POSTGRES_URL_NON_POOLING= POSTGRES_URL_NO_SSL= POSTGRES_USER="default" OPENAI_API_KEY=
To start the development server, run:
npm run dev
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.
- Vercel AI SDK - This project uses the Vercel AI SDK to generate summaries. learn how to use the Vercel AI SDK to add AI capabilities to your projects.