A modern tech news website built with Next.js, featuring AI-powered translation and summarization capabilities. The platform aggregates tech news from various sources and provides Hebrew translations for international content.
- 🌐 Real-time tech news aggregation
- 🤖 AI-powered translation (English to Hebrew)
- 📝 Automatic article summarization
- 🔍 Advanced search functionality
- 📱 Responsive, mobile-first design
- ⚡ Fast loading with Next.js
- 🎨 Modern UI with Tailwind CSS
- Frontend: Next.js 14 with TypeScript
- Styling: Tailwind CSS
- Database: PostgreSQL with Prisma ORM
- AI Services: OpenAI GPT-4
- News API: NewsAPI.org
- Analytics: Vercel Analytics
- Node.js 18+ and npm
- PostgreSQL database
- OpenAI API key
- NewsAPI.org API key
-
Clone the repository:
git clone https://github.com/yourusername/techweb.git cd techweb -
Install dependencies:
npm install
-
Create a
.envfile with the following variables:DATABASE_URL="postgresql://user:password@localhost:5432/techweb?schema=public" OPENAI_API_KEY="your-openai-api-key" NEWS_API_KEY="your-newsapi-key" -
Initialize the database:
npx prisma generate npx prisma db push
Run the development server:
npm run devOpen http://localhost:3000 to view the application.
Build the application:
npm run buildStart the production server:
npm startsrc/
├── app/ # Next.js app directory
├── components/ # React components
├── lib/ # Utility functions and services
│ ├── api/ # API services
│ ├── db/ # Database utilities
│ └── ai/ # AI services
└── types/ # TypeScript type definitions
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.