Pablozach commited on
Commit
26e7918
·
verified ·
1 Parent(s): 149fe9f

Real nitro - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +214 -18
  3. prompts.txt +2 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Yurni
3
- emoji: 🔥
4
- colorFrom: yellow
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: yurni
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,215 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Nitro Generator Tool</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
9
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
11
+ <script src="https://unpkg.com/feather-icons"></script>
12
+ <style>
13
+ .glow {
14
+ text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
15
+ }
16
+ .gradient-bg {
17
+ background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
18
+ }
19
+ .code-box {
20
+ font-family: 'Courier New', monospace;
21
+ letter-spacing: 1px;
22
+ }
23
+ .pulse {
24
+ animation: pulse 2s infinite;
25
+ }
26
+ @keyframes pulse {
27
+ 0% { transform: scale(1); }
28
+ 50% { transform: scale(1.05); }
29
+ 100% { transform: scale(1); }
30
+ }
31
+ </style>
32
+ </head>
33
+ <body class="min-h-screen bg-gray-900 text-white">
34
+ <div class="gradient-bg min-h-screen flex flex-col">
35
+ <!-- Header -->
36
+ <header class="py-6 px-4 sm:px-6 lg:px-8">
37
+ <div class="flex justify-between items-center">
38
+ <h1 class="text-2xl font-bold glow">NitroGen Pro</h1>
39
+ <div class="flex space-x-4">
40
+ <button class="flex items-center space-x-1 bg-purple-800 hover:bg-purple-700 px-4 py-2 rounded-lg transition">
41
+ <i data-feather="info"></i>
42
+ <span>About</span>
43
+ </button>
44
+ <button class="flex items-center space-x-1 bg-purple-800 hover:bg-purple-700 px-4 py-2 rounded-lg transition">
45
+ <i data-feather="settings"></i>
46
+ <span>Settings</span>
47
+ </button>
48
+ </div>
49
+ </div>
50
+ </header>
51
+
52
+ <!-- Main Content -->
53
+ <main class="flex-grow flex flex-col items-center justify-center px-4 sm:px-6 lg:px-8" data-aos="fade-up">
54
+ <div class="max-w-2xl w-full bg-gray-800 bg-opacity-50 backdrop-blur-lg rounded-xl p-8 shadow-2xl">
55
+ <div class="text-center mb-8">
56
+ <h2 class="text-3xl font-bold mb-2 glow">Discord Nitro Generator</h2>
57
+ <p class="text-gray-300">Generate random Discord Nitro gift codes instantly</p>
58
+ </div>
59
+
60
+ <div class="mb-8">
61
+ <div class="flex justify-between items-center mb-4">
62
+ <label class="text-lg font-medium">Number of codes</label>
63
+ <div class="flex items-center space-x-2">
64
+ <button id="decrease" class="bg-purple-800 hover:bg-purple-700 w-8 h-8 rounded flex items-center justify-center">
65
+ <i data-feather="minus"></i>
66
+ </button>
67
+ <input id="count" type="number" min="1" max="100" value="5" class="w-16 text-center bg-gray-700 rounded py-1">
68
+ <button id="increase" class="bg-purple-800 hover:bg-purple-700 w-8 h-8 rounded flex items-center justify-center">
69
+ <i data-feather="plus"></i>
70
+ </button>
71
+ </div>
72
+ </div>
73
+
74
+ <div class="flex justify-between items-center mb-6">
75
+ <label class="text-lg font-medium">Code type</label>
76
+ <div class="flex space-x-4">
77
+ <label class="flex items-center space-x-2">
78
+ <input type="radio" name="type" value="classic" checked class="form-radio text-purple-500">
79
+ <span>Classic</span>
80
+ </label>
81
+ <label class="flex items-center space-x-2">
82
+ <input type="radio" name="type" value="boost" class="form-radio text-purple-500">
83
+ <span>Boost</span>
84
+ </label>
85
+ </div>
86
+ </div>
87
+
88
+ <button id="generateBtn" class="w-full py-3 bg-purple-600 hover:bg-purple-500 rounded-lg font-bold text-lg pulse flex items-center justify-center space-x-2 transition">
89
+ <i data-feather="zap"></i>
90
+ <span>Generate Codes</span>
91
+ </button>
92
+ </div>
93
+
94
+ <div id="results" class="hidden">
95
+ <div class="flex justify-between items-center mb-4">
96
+ <h3 class="text-xl font-medium">Generated Codes</h3>
97
+ <button id="copyAll" class="flex items-center space-x-1 bg-purple-800 hover:bg-purple-700 px-3 py-1 rounded text-sm">
98
+ <i data-feather="copy"></i>
99
+ <span>Copy All</span>
100
+ </button>
101
+ </div>
102
+ <div id="codeList" class="space-y-2 max-h-64 overflow-y-auto p-2 bg-gray-900 rounded-lg">
103
+ <!-- Codes will appear here -->
104
+ </div>
105
+ <div class="mt-4 text-center text-sm text-gray-400">
106
+ <p>These are randomly generated codes. There's no guarantee they will work.</p>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </main>
111
+
112
+ <!-- Footer -->
113
+ <footer class="py-6 px-4 sm:px-6 lg:px-8 text-center text-gray-400 text-sm">
114
+ <p>© 2023 NitroGen Pro. This tool is for educational purposes only.</p>
115
+ </footer>
116
+ </div>
117
+
118
+ <script>
119
+ document.addEventListener('DOMContentLoaded', () => {
120
+ feather.replace();
121
+ AOS.init();
122
+
123
+ // Counter controls
124
+ const countInput = document.getElementById('count');
125
+ document.getElementById('increase').addEventListener('click', () => {
126
+ countInput.value = Math.min(100, parseInt(countInput.value) + 1);
127
+ });
128
+ document.getElementById('decrease').addEventListener('click', () => {
129
+ countInput.value = Math.max(1, parseInt(countInput.value) - 1);
130
+ });
131
+
132
+ // Generate button
133
+ document.getElementById('generateBtn').addEventListener('click', () => {
134
+ const count = parseInt(countInput.value);
135
+ const type = document.querySelector('input[name="type"]:checked').value;
136
+
137
+ // Clear previous results
138
+ const codeList = document.getElementById('codeList');
139
+ codeList.innerHTML = '';
140
+
141
+ // Generate codes
142
+ for (let i = 0; i < count; i++) {
143
+ const code = generateCode(type);
144
+ const codeElement = document.createElement('div');
145
+ codeElement.className = 'flex justify-between items-center bg-gray-700 p-3 rounded code-box';
146
+ codeElement.innerHTML = `
147
+ <span>${code}</span>
148
+ <button class="copy-btn flex items-center space-x-1 bg-purple-800 hover:bg-purple-700 px-2 py-1 rounded text-xs" data-code="${code}">
149
+ <i data-feather="copy" class="w-3 h-3"></i>
150
+ <span>Copy</span>
151
+ </button>
152
+ `;
153
+ codeList.appendChild(codeElement);
154
+ }
155
+
156
+ // Show results
157
+ document.getElementById('results').classList.remove('hidden');
158
+
159
+ // Scroll to results
160
+ document.getElementById('results').scrollIntoView({ behavior: 'smooth' });
161
+
162
+ // Update feather icons
163
+ feather.replace();
164
+
165
+ // Add copy event listeners
166
+ document.querySelectorAll('.copy-btn').forEach(btn => {
167
+ btn.addEventListener('click', (e) => {
168
+ const code = e.currentTarget.getAttribute('data-code');
169
+ navigator.clipboard.writeText(code);
170
+
171
+ // Show copied feedback
172
+ const icon = e.currentTarget.querySelector('i');
173
+ icon.setAttribute('data-feather', 'check');
174
+ feather.replace();
175
+
176
+ setTimeout(() => {
177
+ icon.setAttribute('data-feather', 'copy');
178
+ feather.replace();
179
+ }, 1000);
180
+ });
181
+ });
182
+ });
183
+
184
+ // Copy all button
185
+ document.getElementById('copyAll').addEventListener('click', () => {
186
+ const codes = Array.from(document.querySelectorAll('.copy-btn')).map(btn => btn.getAttribute('data-code'));
187
+ navigator.clipboard.writeText(codes.join('\n'));
188
+
189
+ // Show copied feedback
190
+ const icon = document.getElementById('copyAll').querySelector('i');
191
+ icon.setAttribute('data-feather', 'check');
192
+ feather.replace();
193
+
194
+ setTimeout(() => {
195
+ icon.setAttribute('data-feather', 'copy');
196
+ feather.replace();
197
+ }, 1000);
198
+ });
199
+
200
+ // Function to generate random code
201
+ function generateCode(type) {
202
+ const prefix = type === 'boost' ? 'https://discord.gift/' : 'https://discord.com/gifts/';
203
+ const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
204
+ let code = '';
205
+
206
+ for (let i = 0; i < 16; i++) {
207
+ code += chars.charAt(Math.floor(Math.random() * chars.length));
208
+ }
209
+
210
+ return prefix + code;
211
+ }
212
+ });
213
+ </script>
214
+ </body>
215
  </html>
prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ اصنع لي tools génért nitro
2
+ Real nitro