This is a modern web application that fetches and displays the latest cybersecurity news from various trusted sources. Built with Next.js and Tailwind CSS.
- Real-time fetching of cybersecurity news from multiple sources (such as THN, Dark Reading, Bleeping Computer, CISA, etc..)
- Responsive grid layout for news articles
- Server-side API route for fetching news
You can access the live project here: ThreatLens
- Clone the repository:
git clone https://github.com/SiddDevCS/ThreatLens
cd cybernews-web- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
src/
├── app/
│ ├── api/
│ │ └── news/
│ │ └── route.ts # API route for fetching news
│ └── page.tsx # Main page component
├── components/
│ ├── LoadingSpinner.tsx # Loading spinner component
│ └── NewsList.tsx # News list component
├── lib/
│ ├── news-fetcher.ts # News fetching logic
│ └── news-sources.ts # News sources configuration
└── types/
└── news.ts # 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.
