Skip to content

Commit f13a056

Browse files
first commit
0 parents  commit f13a056

20 files changed

+4488
-0
lines changed

.bolt/config.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"template": "bolt-vite-react-ts"
3+
}

.bolt/prompt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
For all designs I ask you to make, have them be beautiful, not cookie cutter. Make webpages that are fully featured and worthy for production.
2+
3+
By default, this template supports JSX syntax with Tailwind CSS classes, React hooks, and Lucide React for icons. Do not install other packages for UI themes, icons, etc unless absolutely necessary or I request them.
4+
5+
Use icons from lucide-react for logos.
6+
7+
Use stock photos from unsplash where appropriate, only valid URLs you know exist. Do not download the images, only link to them in image tags.
8+

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

README.md

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
check the app here ------ https://mellow-fairy-4fd0bd.netlify.app/
2+
3+
4+
5+
# YouTube Video Summarizer
6+
7+
A modern web application that generates AI-powered summaries of YouTube videos. Built with React, TypeScript, and Tailwind CSS.
8+
9+
![YouTube Video Summarizer](https://images.unsplash.com/photo-1611162617474-5b21e879e113?w=800&auto=format&fit=crop&q=80)
10+
11+
## Features
12+
13+
- 🎥 YouTube URL parsing and validation
14+
- 📝 AI-powered video summarization
15+
- 🎨 Beautiful, responsive UI
16+
- ⚡ Fast and lightweight
17+
- 🔄 Real-time loading states
18+
- ❌ Error handling
19+
20+
## Tech Stack
21+
22+
- React 18
23+
- TypeScript
24+
- Tailwind CSS
25+
- Vite
26+
- Lucide Icons
27+
28+
## Getting Started
29+
30+
### Prerequisites
31+
32+
- Node.js 18 or higher
33+
- npm or yarn
34+
35+
### Installation
36+
37+
1. Clone the repository
38+
```bash
39+
git clone <repository-url>
40+
cd youtube-summarizer
41+
```
42+
43+
2. Install dependencies
44+
```bash
45+
npm install
46+
```
47+
48+
3. Start the development server
49+
```bash
50+
npm run dev
51+
```
52+
53+
4. Open your browser and visit `http://localhost:5173`
54+
55+
## Building for Production
56+
57+
To create a production build:
58+
59+
```bash
60+
npm run build
61+
```
62+
63+
The build output will be in the `dist` directory.
64+
65+
## Deployment
66+
67+
This application is ready to deploy on Netlify. You can deploy it in two ways:
68+
69+
1. **Using the Netlify UI:**
70+
- Create a new site from Git
71+
- Connect your repository
72+
- Build command: `npm run build`
73+
- Publish directory: `dist`
74+
75+
2. **Using the Netlify CLI:**
76+
- Install Netlify CLI: `npm install -g netlify-cli`
77+
- Run: `netlify deploy`
78+
79+
## Usage
80+
81+
1. Enter a YouTube URL in the input field
82+
2. Click the "Summarize" button
83+
3. View the video information and AI-generated summary
84+
85+
## License
86+
87+
MIT
88+
89+
## Contributing
90+
91+
Contributions are welcome! Please feel free to submit a Pull Request.

eslint.config.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import js from '@eslint/js';
2+
import globals from 'globals';
3+
import reactHooks from 'eslint-plugin-react-hooks';
4+
import reactRefresh from 'eslint-plugin-react-refresh';
5+
import tseslint from 'typescript-eslint';
6+
7+
export default tseslint.config(
8+
{ ignores: ['dist'] },
9+
{
10+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
11+
files: ['**/*.{ts,tsx}'],
12+
languageOptions: {
13+
ecmaVersion: 2020,
14+
globals: globals.browser,
15+
},
16+
plugins: {
17+
'react-hooks': reactHooks,
18+
'react-refresh': reactRefresh,
19+
},
20+
rules: {
21+
...reactHooks.configs.recommended.rules,
22+
'react-refresh/only-export-components': [
23+
'warn',
24+
{ allowConstantExport: true },
25+
],
26+
},
27+
}
28+
);

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)