A modern, customizable new tab page for web browsers built with React, TypeScript, and Tailwind CSS. This project provides a clean and functional replacement for the default new tab page with features like time display, weather information, search functionality, and customizable shortcuts.
- 🕒 Real-time clock display
- 🌤️ Local weather information
- 🔍 Quick search functionality
- ⚡ Customizable shortcuts
- 📱 Responsive design
- React 19
- TypeScript
- Vite
- Tailwind CSS
- Lucide React Icons
- Node.js (Latest LTS version recommended)
- npm or yarn
-
Clone the repository:
git clone https://github.com/eswar-7116/browser-homepage.git cd browser-homepage -
Install dependencies:
npm install -
Start the development server:
npm run dev -
Create a
.envfile in the root directory and add your OpenWeatherMap API key:VITE_WEATHER_API_KEY=your_api_key_hereYou can get an API key by signing up at OpenWeatherMap.
-
Build the frontend:
npm run build
- Build the project using
npm run build - Set up the built project on a web server or use it locally
- Set the New Tab URL to your deployed page or local build in browser settings
Edit the src/util/shortcuts.ts file to modify your quick access shortcuts. Each shortcut requires:
- Name
- URL
npm run dev- Start development servernpm run build- Build the frontendnpm run preview- Preview production buildnpm run lint- Run ESLint
src/
├── components/
│ ├── layout/ # Main layout components
│ └── reusable/ # Reusable UI components
├── types/ # TypeScript type definitions
├── util/ # Utility functions and data
└── assets/ # Static assets
- 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 open source and available under the MIT License.