Skip to content

Commit 431c280

Browse files
Merge pull request #3 from mohammadumar-dev/develop
docs: add full README with project overview, features, and setup instructions
2 parents a4f0387 + 1e792e7 commit 431c280

File tree

4 files changed

+214
-1
lines changed

4 files changed

+214
-1
lines changed

README.md

Lines changed: 214 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,214 @@
1-
# dwui-new-tab
1+
# DWUI - Dynamic Web User Interface
2+
3+
> Transform your boring Chrome new tab into a stunning, modern interface with glassmorphism effects and smooth animations.
4+
5+
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg?style=flat&logo=opensource&logoColor=white)](https://choosealicense.com/licenses/mit/)
6+
[![React](https://img.shields.io/badge/React-19.2.0-blue.svg?style=flat&logo=react&logoColor=white)](https://reactjs.org/)
7+
[![TypeScript](https://img.shields.io/badge/TypeScript-5.9.3-blue.svg?style=flat&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
8+
[![Vite](https://img.shields.io/badge/Vite-7.2.4-purple.svg?style=flat&logo=vite&logoColor=white)](https://vitejs.dev/)
9+
[![Shadcn UI](https://img.shields.io/badge/Shadcn%20UI-red.svg?style=flat&logo=shadcn&logoColor=white)](https://ui.shadcn.com/)
10+
11+
## 🛒 Browser Store Availability
12+
13+
🚀 **Coming soon to:**
14+
15+
- **Chrome Web Store** – Coming soon
16+
- **Microsoft Edge Add-ons Store** – Coming soon
17+
18+
## 📸 Screenshots
19+
20+
<!-- Add your screenshots here -->
21+
22+
### 🌌 DWUI Preview
23+
![DWUI Preview](./screenshots/preview_1.webp)
24+
*A stunning glassmorphic interface enhanced with an aurora-style backdrop.*
25+
26+
---
27+
28+
### 🔍 Search Feature
29+
![Search Feature](./screenshots/preview_2.webp)
30+
*Integrated Chrome search with a sleek modern UI.*
31+
32+
---
33+
34+
### 🧩 Shortcuts Grid
35+
![Shortcuts Grid](./screenshots/preview_3.webp)
36+
*A customizable shortcuts grid with a minimal dark sidebar.*
37+
38+
39+
## ✨ Features
40+
41+
- 🎨 **Modern UI Components** – Built with Shadcn UI and React Bits Aurora components
42+
-**Glassmorphism Design** – Elegant, glass-like transparency across the interface
43+
- 🌊 **Aurora Background** – Smooth, animated gradient background powered by WebGL
44+
- 🔍 **Smart Search** – Integrated Chrome search API for fast, seamless web searching
45+
-**Digital Clock** – Real-time clock with accurate timezone handling
46+
- 🔗 **Quick Access Sidebar** – Instant access to Google apps and essential tools
47+
- 📱 **Shortcuts Grid** – Add or remove custom shortcuts for your favorite websites
48+
- 🌙 **Dark Theme** – Fully optimized dark-only interface for a sleek, modern look
49+
50+
51+
## 🚀 Getting Started
52+
53+
### Prerequisites
54+
55+
Before you begin, make sure you have the following installed:
56+
- [Node.js](https://nodejs.org/) (v18 or higher)
57+
- [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)
58+
- Google Chrome browser
59+
60+
### Installation
61+
62+
1. **Clone the repository**
63+
```bash
64+
git clone https://github.com/mohammadumar-dev/dwui-new-tab.git
65+
cd dwui-new-tab
66+
```
67+
68+
2. **Install dependencies**
69+
```bash
70+
npm install
71+
# or
72+
yarn install
73+
```
74+
75+
3. **Build the extension**
76+
```bash
77+
npm run build
78+
# or
79+
yarn build
80+
```
81+
This creates a `dist` folder with your extension files.
82+
83+
4. **Load the extension in Chrome**
84+
- Open Chrome and navigate to `chrome://extensions/`
85+
- Enable **Developer mode** (toggle in the top-right corner)
86+
- Click **Load unpacked**
87+
- Select the `dist` folder from your project directory
88+
- Your new tab is now active! 🎉
89+
90+
## 🛠️ Development
91+
92+
### Run in Development Mode
93+
94+
```bash
95+
npm run dev
96+
# or
97+
yarn dev
98+
```
99+
100+
This starts the Vite development server. You can view your changes at `http://localhost:5173`.
101+
102+
> **Note:** Some Chrome API features (like search) won't work in dev mode. Build and load the extension to test these features.
103+
104+
### Project Structure
105+
106+
```
107+
dwui-new-tab/
108+
├── public/
109+
│ ├── manifest.json # Chrome extension manifest
110+
│ └── vite.svg
111+
├── src/
112+
│ ├── components/
113+
│ │ ├── ui/ # Shadcn UI components
114+
│ │ ├── Aurora.tsx # Animated background
115+
│ │ ├── DigitalClock.tsx
116+
│ │ ├── SearchBar.tsx # Chrome search integration
117+
│ │ ├── ShortcutsGrid.tsx
118+
│ │ └── app-sidebar.tsx
119+
│ ├── hooks/ # Custom React hooks
120+
│ ├── lib/ # Utility functions
121+
│ ├── App.tsx # Main application component
122+
│ ├── main.tsx # Application entry point
123+
│ └── globals.css # Global styles
124+
├── package.json
125+
└── vite.config.ts
126+
```
127+
128+
## 🎨 Customization
129+
130+
### Change Aurora Colors
131+
132+
Edit the color stops in `App.tsx`:
133+
134+
```tsx
135+
<Aurora
136+
colorStops={["#3A29FF", "#FF94B4", "#FF3232"]} // Change these hex colors
137+
blend={0.5}
138+
amplitude={1}
139+
speed={0.35}
140+
/>
141+
```
142+
143+
### Adjust Clock Timezone
144+
145+
Modify the timezone prop in `App.tsx`:
146+
147+
```tsx
148+
<DigitalClock
149+
timezone="America/New_York" // Change to your timezone
150+
hour12={true} // Set false for 24-hour format
151+
/>
152+
```
153+
154+
### Add Custom Shortcuts
155+
156+
The shortcuts are stored locally in the browser. You can add, edit, or delete shortcuts directly from the interface using the grid layout.
157+
158+
## 🔧 Tech Stack
159+
160+
| Technology | Purpose |
161+
|------------|---------|
162+
| [React 19](https://react.dev/) | UI framework |
163+
| [TypeScript](https://www.typescriptlang.org/) | Type safety |
164+
| [Vite](https://vitejs.dev/) | Build tool & dev server |
165+
| [Shadcn UI](https://ui.shadcn.com/) | UI component library |
166+
| [Tailwind CSS](https://tailwindcss.com/) | Styling |
167+
| [OGL](https://github.com/oframe/ogl) | WebGL for Aurora effect |
168+
| [dnd-kit](https://dndkit.com/) | Drag and drop functionality |
169+
| [Lucide Icons](https://lucide.dev/) | Icon library |
170+
171+
## 📦 Build for Production
172+
173+
To create an optimized production build:
174+
175+
```bash
176+
npm run build
177+
```
178+
179+
The build artifacts will be in the `dist/` folder, ready to be loaded as an unpacked extension or packaged for distribution.
180+
181+
## 🤝 Contributing
182+
183+
Contributions are welcome! Here's how you can help:
184+
185+
1. Fork the repository
186+
2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
187+
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
188+
4. Push to the branch (`git push origin feature/AmazingFeature`)
189+
5. Open a Pull Request
190+
191+
## 📝 License
192+
193+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
194+
195+
## 🙏 Acknowledgments
196+
197+
- [Shadcn UI](https://ui.shadcn.com/) for the beautiful component library
198+
- [OGL](https://github.com/oframe/ogl) for the WebGL aurora effect
199+
- The React and Vite communities for excellent tools
200+
201+
## 📧 Contact
202+
203+
Mohammad Umar
204+
- GitHub: [@mohammadumar-dev](https://github.com/mohammadumar-dev)
205+
- Email: [mohammadumar.dev@gmail.com](mailto:mohammadumar.dev@gmail.com)
206+
- Portfolio: [mohammadumar-dev](https://mohammadumar-dev.netlify.app)
207+
208+
Project Link: [https://github.com/mohammadumar-dev/dwui-new-tab](https://github.com/mohammadumar-dev/dwui-new-tab)
209+
210+
211+
---
212+
213+
<p align="center">Made with ❤️ by Mohammad Umar</p>
214+
<p align="center">If you find this project useful, please consider giving it a ⭐</p>

screenshots/preview_1.webp

39.6 KB
Loading

screenshots/preview_2.webp

26.8 KB
Loading

screenshots/preview_3.webp

39.6 KB
Loading

0 commit comments

Comments
 (0)