cryptowiz commited on
Commit
4bbdc99
·
verified ·
1 Parent(s): 3881e4e

<?php /* Plugin Name: AMAZING FINDS AI Studio Description: All-in-one eCommerce + Funnel + SEO + AI Studio (images, video, chat, automation) for free. Author: You Version: 1.0 */ // ============================ // 1. Auto-install free plugins // ============================ register_activation_hook(__FILE__, function(){ include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); $plugins = [ 'woocommerce/woocommerce.php' => 'https://downloads.wordpress.org/plugin/woocommerce.latest-stable.zip', 'cartflows/cartflows.php' => 'https://downloads.wordpress.org/plugin/cartflows.latest-stable.zip', 'seo-by-rank-math/rank-math.php' => 'https://downloads.wordpress.org/plugin/seo-by-rank-math.latest-stable.zip' ]; foreach($plugins as $slug => $url){ if(!is_plugin_active($slug)){ $zip = download_url($url); $result = unzip_file($zip, WP_PLUGIN_DIR); @unlink ($zip); } } }); // ============================ // 2. Set store name // ============================ add_action('init', function(){ update_option('blogname', 'AMAZING FINDS'); }); // ============================ // 3. Add default funnel pages // ============================ register_activation_hook(__FILE__, function(){ $landing = wp_insert_post([ 'post_title' => 'AMAZING FINDS Landing', 'post_content' => '<h2>Welcome to AMAZING FINDS!</h2><p>Special Offer → [add_to_cart id="1"]</p>', 'post_status' => 'publish', 'post_type' => 'page' ]); $thankyou = wp_insert_post([ 'post_title' => 'AMAZING FINDS Thank You', 'post_content' => '<h2>Thanks for your order!</h2><p>Check your email for details.</p>', 'post_status' => 'publish', 'post_type' => 'page' ]); update_option('funnel_landing_id', $landing); update_option('funnel_thankyou_id', $thankyou); }); // ============================ // 4. Add SEO schema // ============================ add_action('wp_head', function(){ if(is_product()){ global $product; echo '<script type="application/ld+json">'.json_encode([ "@context" => "https://schema.org/", "@type" => "Product", "name" => $product->get_name(), "image" => wp_get_attachment_url($product->get_image_id()), "description" => wp_strip_all_tags($product->get_short_description()), "sku" => $product->get_sku(), "brand" => "AMAZING FINDS", "offers" => [ "@type" => "Offer", "priceCurrency" => get_woocommerce_currency(), "price" => $product->get_price(), "availability" => "https://schema.org/InStock" ] ], JSON_UNESCAPED_SLASHES).'</script>'; } }); // ============================ // 5. Chatbot + AI Agent // ============================ add_action('wp_footer', function(){ ?> <script> (function(d,t) { var BASE_URL="https://app.chatwoot.com"; var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=BASE_URL+"/packs/js/sdk.js"; s.parentNode.insertBefore(g,s); g.onload=function(){ window.chatwootSDK.run({websiteToken: "YOUR_CHATWOOT_TOKEN", baseUrl: BASE_URL}) } })(document,"script"); </script> <?php }); // ============================ // 6. Webhooks for automation (social posting) // ============================ add_action('publish_product', function($post_id){ $product = wc_get_product($post_id); $data = [ 'title' => get_the_title($post_id), 'url' => get_permalink($post_id), 'image' => wp_get_attachment_url($product->get_image_id()), 'price' => $product->get_price() ]; $social_hooks = [ 'https://your-n8n-instance/webhook/post-youtube', 'https://your-n8n-instance/webhook/post-instagram', 'https://your-n8n-instance/webhook/post-facebook', 'https://your-n8n-instance/webhook/post-twitter', 'https://your-n8n-instance/webhook/post-tiktok', 'https://your-n8n-instance/webhook/post-linkedin', 'https://your-n8n-instance/webhook/post-snapchat', 'https://your-n8n-instance/webhook/post-amazon' ]; foreach($social_hooks as $hook){ wp_remote_post($hook, ['body' => $data]); } }); // ============================ // 7. AI Studio Menu // ============================ add_action('admin_menu', function(){ add_menu_page('AMAZING FINDS AI Studio', 'AI Studio', 'manage_options', 'amazing-finds-ai-studio', 'af_ai_studio_page', 'dashicons-admin-multisite', 6); }); function af_ai_studio_page(){ ?> <h1>AMAZING FINDS AI Studio</h1> <p>Welcome to your AI Studio: edit images, create videos, and generate product content.</p> <h2>Image Editor</h2> <p>Upload or select product images to enhance, remove background, add text/watermark, or generate AI images.</p> <h2>Video Editor</h2> <p>Create short promo videos for products, add text/logo overlays, resize for social media, and auto-publish.</p> <h2>AI Content</h2> <p>Generate product descriptions, blog posts, and social captions with one click.</p> <p>All media can be automatically posted to your social channels and saved in WooCommerce.</p> <?php } ?> - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +308 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Https Huggingface Co Spaces Enzostvs Deepsite
3
- emoji: 😻
4
- colorFrom: yellow
5
- colorTo: indigo
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: https-huggingface-co-spaces-enzostvs-deepsite
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: gray
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,308 @@
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>AMAZING FINDS - AI Studio Features</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .feature-card:hover {
11
+ transform: translateY(-5px);
12
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
13
+ }
14
+ .gradient-text {
15
+ background: linear-gradient(90deg, #3b82f6, #8b5cf6);
16
+ -webkit-background-clip: text;
17
+ background-clip: text;
18
+ color: transparent;
19
+ }
20
+ .blob {
21
+ position: absolute;
22
+ opacity: 0.2;
23
+ filter: blur(40px);
24
+ z-index: -1;
25
+ }
26
+ </style>
27
+ </head>
28
+ <body class="bg-gray-50 font-sans">
29
+ <!-- Header -->
30
+ <header class="bg-white shadow-sm">
31
+ <div class="container mx-auto px-4 py-6 flex justify-between items-center">
32
+ <div class="flex items-center space-x-2">
33
+ <div class="w-10 h-10 bg-gradient-to-r from-blue-500 to-purple-600 rounded-lg flex items-center justify-center">
34
+ <i class="fas fa-bolt text-white text-xl"></i>
35
+ </div>
36
+ <h1 class="text-2xl font-bold text-gray-800">AMAZING FINDS</h1>
37
+ </div>
38
+ <button class="bg-gradient-to-r from-blue-500 to-purple-600 text-white px-6 py-2 rounded-lg font-medium hover:opacity-90 transition">
39
+ Get Started
40
+ </button>
41
+ </div>
42
+ </header>
43
+
44
+ <!-- Hero Section -->
45
+ <section class="relative overflow-hidden">
46
+ <div class="blob bg-blue-400 w-96 h-96 top-0 left-0"></div>
47
+ <div class="blob bg-purple-400 w-96 h-96 bottom-0 right-0"></div>
48
+
49
+ <div class="container mx-auto px-4 py-20 text-center relative z-10">
50
+ <h1 class="text-5xl md:text-6xl font-bold text-gray-800 mb-6">
51
+ <span class="gradient-text">AMAZING FINDS</span> AI Studio
52
+ </h1>
53
+ <p class="text-xl text-gray-600 max-w-3xl mx-auto mb-10">
54
+ All-in-one eCommerce solution with AI-powered store setup, SEO, media editing, chatbots and automation.
55
+ </p>
56
+ <div class="flex flex-col sm:flex-row justify-center gap-4">
57
+ <button class="bg-gradient-to-r from-blue-500 to-purple-600 text-white px-8 py-3 rounded-lg font-medium hover:opacity-90 transition text-lg">
58
+ Install Plugin Now
59
+ </button>
60
+ <button class="border border-gray-300 text-gray-700 px-8 py-3 rounded-lg font-medium hover:bg-gray-50 transition text-lg">
61
+ See Demo
62
+ </button>
63
+ </div>
64
+ </div>
65
+ </section>
66
+
67
+ <!-- Features Section -->
68
+ <section class="py-16 bg-white">
69
+ <div class="container mx-auto px-4">
70
+ <div class="text-center mb-16">
71
+ <h2 class="text-3xl font-bold text-gray-800 mb-4">Complete eCommerce Automation</h2>
72
+ <p class="text-gray-600 max-w-2xl mx-auto">
73
+ One-click install sets up WooCommerce, funnels, SEO, AI chat, media editing and social automation.
74
+ </p>
75
+ </div>
76
+
77
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
78
+ <!-- Store & Funnel -->
79
+ <div class="bg-gray-50 rounded-xl p-6 feature-card transition duration-300">
80
+ <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
81
+ <i class="fas fa-store text-blue-600 text-xl"></i>
82
+ </div>
83
+ <h3 class="text-xl font-bold text-gray-800 mb-3">Store & Funnel</h3>
84
+ <ul class="space-y-2 text-gray-600">
85
+ <li class="flex items-start">
86
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
87
+ <span>WooCommerce store setup</span>
88
+ </li>
89
+ <li class="flex items-start">
90
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
91
+ <span>CartFlows funnel pages (landing + thank you)</span>
92
+ </li>
93
+ </ul>
94
+ </div>
95
+
96
+ <!-- SEO & Ranking -->
97
+ <div class="bg-gray-50 rounded-xl p-6 feature-card transition duration-300">
98
+ <div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
99
+ <i class="fas fa-chart-line text-purple-600 text-xl"></i>
100
+ </div>
101
+ <h3 class="text-xl font-bold text-gray-800 mb-3">SEO & Ranking</h3>
102
+ <ul class="space-y-2 text-gray-600">
103
+ <li class="flex items-start">
104
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
105
+ <span>RankMath integration</span>
106
+ </li>
107
+ <li class="flex items-start">
108
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
109
+ <span>Automatic schema markup on products</span>
110
+ </li>
111
+ <li class="flex items-start">
112
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
113
+ <span>Auto-generates blog + product descriptions via AI</span>
114
+ </li>
115
+ </ul>
116
+ </div>
117
+
118
+ <!-- AI Agent & Chat -->
119
+ <div class="bg-gray-50 rounded-xl p-6 feature-card transition duration-300">
120
+ <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4">
121
+ <i class="fas fa-robot text-green-600 text-xl"></i>
122
+ </div>
123
+ <h3 class="text-xl font-bold text-gray-800 mb-3">AI Agent & Chat</h3>
124
+ <ul class="space-y-2 text-gray-600">
125
+ <li class="flex items-start">
126
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
127
+ <span>Chatwoot live chat + AI responder</span>
128
+ </li>
129
+ <li class="flex items-start">
130
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
131
+ <span>Answers FAQs, product info, shipping, returns</span>
132
+ </li>
133
+ <li class="flex items-start">
134
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
135
+ <span>Optional handoff to human</span>
136
+ </li>
137
+ </ul>
138
+ </div>
139
+
140
+ <!-- Media Studio -->
141
+ <div class="bg-gray-50 rounded-xl p-6 feature-card transition duration-300">
142
+ <div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center mb-4">
143
+ <i class="fas fa-photo-film text-yellow-600 text-xl"></i>
144
+ </div>
145
+ <h3 class="text-xl font-bold text-gray-800 mb-3">Media Studio</h3>
146
+ <ul class="space-y-2 text-gray-600">
147
+ <li class="flex items-start">
148
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
149
+ <span>Video Editor: Trim, merge, overlay text/logo</span>
150
+ </li>
151
+ <li class="flex items-start">
152
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
153
+ <span>Auto-generate product promo videos</span>
154
+ </li>
155
+ <li class="flex items-start">
156
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
157
+ <span>Resize for TikTok, Reels, YouTube Shorts</span>
158
+ </li>
159
+ <li class="flex items-start">
160
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
161
+ <span>Auto-post via n8n/IFTTT</span>
162
+ </li>
163
+ </ul>
164
+ </div>
165
+
166
+ <!-- Image Editor -->
167
+ <div class="bg-gray-50 rounded-xl p-6 feature-card transition duration-300">
168
+ <div class="w-12 h-12 bg-pink-100 rounded-lg flex items-center justify-center mb-4">
169
+ <i class="fas fa-image text-pink-600 text-xl"></i>
170
+ </div>
171
+ <h3 class="text-xl font-bold text-gray-800 mb-3">Image Editor</h3>
172
+ <ul class="space-y-2 text-gray-600">
173
+ <li class="flex items-start">
174
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
175
+ <span>Crop, resize, brightness/contrast</span>
176
+ </li>
177
+ <li class="flex items-start">
178
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
179
+ <span>Background removal + AI enhancement</span>
180
+ </li>
181
+ <li class="flex items-start">
182
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
183
+ <span>Text-to-image generation</span>
184
+ </li>
185
+ <li class="flex items-start">
186
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
187
+ <span>Product mockups & watermarks</span>
188
+ </li>
189
+ </ul>
190
+ </div>
191
+
192
+ <!-- Automation -->
193
+ <div class="bg-gray-50 rounded-xl p-6 feature-card transition duration-300">
194
+ <div class="w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center mb-4">
195
+ <i class="fas fa-bolt text-red-600 text-xl"></i>
196
+ </div>
197
+ <h3 class="text-xl font-bold text-gray-800 mb-3">Automation</h3>
198
+ <ul class="space-y-2 text-gray-600">
199
+ <li class="flex items-start">
200
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
201
+ <span>Webhook triggers for orders, new products, media</span>
202
+ </li>
203
+ <li class="flex items-start">
204
+ <i class="fas fa-check text-green-500 mt-1 mr-2"></i>
205
+ <span>Auto-post to YouTube, TikTok, Instagram, Facebook, X, LinkedIn, Snapchat, Amazon</span>
206
+ </li>
207
+ </ul>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </section>
212
+
213
+ <!-- CTA Section -->
214
+ <section class="py-16 bg-gradient-to-r from-blue-500 to-purple-600 text-white">
215
+ <div class="container mx-auto px-4 text-center">
216
+ <h2 class="text-3xl font-bold mb-6">Free All-in-One eCommerce Plugin</h2>
217
+ <p class="text-xl mb-8 max-w-2xl mx-auto opacity-90">
218
+ The AMAZING FINDS AI Studio plugin installs everything automatically - no coding required.
219
+ </p>
220
+ <div class="flex flex-col sm:flex-row justify-center gap-4">
221
+ <button class="bg-white text-blue-600 px-8 py-3 rounded-lg font-medium hover:bg-gray-100 transition text-lg">
222
+ Download Now - Free
223
+ </button>
224
+ <button class="border border-white text-white px-8 py-3 rounded-lg font-medium hover:bg-white hover:bg-opacity-10 transition text-lg">
225
+ View Documentation
226
+ </button>
227
+ </div>
228
+ </div>
229
+ </section>
230
+
231
+ <!-- Footer -->
232
+ <footer class="bg-gray-900 text-white py-12">
233
+ <div class="container mx-auto px-4">
234
+ <div class="flex flex-col md:flex-row justify-between">
235
+ <div class="mb-8 md:mb-0">
236
+ <div class="flex items-center space-x-2 mb-4">
237
+ <div class="w-10 h-10 bg-gradient-to-r from-blue-500 to-purple-600 rounded-lg flex items-center justify-center">
238
+ <i class="fas fa-bolt text-white text-xl"></i>
239
+ </div>
240
+ <h3 class="text-xl font-bold">AMAZING FINDS</h3>
241
+ </div>
242
+ <p class="text-gray-400 max-w-xs">
243
+ Free WordPress plugin for automated eCommerce with AI tools.
244
+ </p>
245
+ </div>
246
+ <div class="grid grid-cols-2 md:grid-cols-3 gap-8">
247
+ <div>
248
+ <h4 class="text-lg font-semibold mb-4">Product</h4>
249
+ <ul class="space-y-2">
250
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
251
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
252
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
253
+ </ul>
254
+ </div>
255
+ <div>
256
+ <h4 class="text-lg font-semibold mb-4">Company</h4>
257
+ <ul class="space-y-2">
258
+ <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
259
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
260
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
261
+ </ul>
262
+ </div>
263
+ <div>
264
+ <h4 class="text-lg font-semibold mb-4">Support</h4>
265
+ <ul class="space-y-2">
266
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Help Center</a></li>
267
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
268
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Community</a></li>
269
+ </ul>
270
+ </div>
271
+ </div>
272
+ </div>
273
+ <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
274
+ <p class="text-gray-400 mb-4 md:mb-0">© 2023 AMAZING FINDS. All rights reserved.</p>
275
+ <div class="flex space-x-6">
276
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter text-xl"></i></a>
277
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook text-xl"></i></a>
278
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram text-xl"></i></a>
279
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-linkedin text-xl"></i></a>
280
+ </div>
281
+ </div>
282
+ </div>
283
+ </footer>
284
+
285
+ <script>
286
+ // Simple animation for feature cards on scroll
287
+ document.addEventListener('DOMContentLoaded', function() {
288
+ const featureCards = document.querySelectorAll('.feature-card');
289
+
290
+ const observer = new IntersectionObserver((entries) => {
291
+ entries.forEach(entry => {
292
+ if (entry.isIntersecting) {
293
+ entry.target.style.opacity = '1';
294
+ entry.target.style.transform = 'translateY(0)';
295
+ }
296
+ });
297
+ }, { threshold: 0.1 });
298
+
299
+ featureCards.forEach(card => {
300
+ card.style.opacity = '0';
301
+ card.style.transform = 'translateY(20px)';
302
+ card.style.transition = 'all 0.5s ease';
303
+ observer.observe(card);
304
+ });
305
+ });
306
+ </script>
307
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=cryptowiz/https-huggingface-co-spaces-enzostvs-deepsite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
308
+ </html>