An AI-powered news aggregation site that delivers curated news articles with intelligent summaries and insights.
GistAI is a modern news platform built with Next.js that leverages artificial intelligence to provide users with comprehensive news coverage. The site curates and presents news articles in an accessible, user-friendly format.
- AI-curated news articles
- Clean, modern interface
- Article detail pages with full content
- Responsive design for all devices
- Fast, optimized performance with Next.js
Create a .env.local file in the root directory with the following variables:
BLOB_READ_WRITE_TOKEN=your-vercel-blob-token
XAI_API_KEY=your-xai-api-key
API_SECRET_KEY=your-secret-key-for-api-endpointsRequired Variables:
BLOB_READ_WRITE_TOKEN- Vercel Blob Storage token for storing news dataXAI_API_KEY- XAI/Grok API key for generating news contentAPI_SECRET_KEY- Secret key for authenticating API requests (generate a secure random string)
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
POST /api/articles/update - Generate and update news articles
Requires authentication via Bearer token:
curl -X POST http://localhost:3000/api/articles/update \
-H "Authorization: Bearer your-api-secret-key"- Next.js - React framework
- TypeScript - Type safety
- Tailwind CSS - Styling
- shadcn/ui - UI components