Devirus commited on
Commit
484d45a
Β·
verified Β·
1 Parent(s): 96f8ea2

Build me a complete no-code automated faceless livestream sales system using only Softr + Make.com + Restream + Lemon Squeezy + HeyGen in under 2 hours.

Browse files

Give me the exact step-by-step tutorial + all Make.com scenarios as JSON/blueprints + Softr template link + Restream scheduling trick + Lemon Squeezy webhook URL + scarcity counter formula.
I want to paste my product once and have it run 24/7 livestreams selling on autopilot with live chat auto-replies and countdowns.
Include every single link, template, and automation scenario ready to duplicate.

Files changed (6) hide show
  1. README.md +8 -5
  2. components/footer.js +56 -0
  3. components/header.js +41 -0
  4. index.html +148 -19
  5. script.js +47 -0
  6. style.css +32 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Autostream Sales Machine
3
- emoji: 😻
4
- colorFrom: blue
5
- colorTo: gray
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: AutoStream Sales Machine πŸš€
3
+ colorFrom: green
4
+ colorTo: green
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/footer.js ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ footer {
7
+ background-color: #1e293b;
8
+ color: white;
9
+ }
10
+ .footer-container {
11
+ max-width: 1200px;
12
+ margin: 0 auto;
13
+ padding: 3rem 2rem;
14
+ }
15
+ .footer-links a:hover {
16
+ color: #93c5fd;
17
+ }
18
+ .social-icons a:hover {
19
+ transform: translateY(-2px);
20
+ }
21
+ </style>
22
+ <footer>
23
+ <div class="footer-container grid md:grid-cols-3 gap-8">
24
+ <div>
25
+ <div class="flex items-center mb-4">
26
+ <i data-feather="zap" class="w-6 h-6 text-blue-400 mr-2"></i>
27
+ <span class="text-xl font-bold">AutoStream</span>
28
+ </div>
29
+ <p class="text-gray-400">Your 24/7 automated sales machine</p>
30
+ </div>
31
+ <div>
32
+ <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
33
+ <div class="footer-links space-y-2">
34
+ <a href="#" class="block text-gray-400">Documentation</a>
35
+ <a href="#" class="block text-gray-400">Tutorial Videos</a>
36
+ <a href="#" class="block text-gray-400">Community</a>
37
+ </div>
38
+ </div>
39
+ <div>
40
+ <h3 class="text-lg font-semibold mb-4">Connect</h3>
41
+ <div class="social-icons flex space-x-4">
42
+ <a href="#" class="text-gray-400"><i data-feather="twitter"></i></a>
43
+ <a href="#" class="text-gray-400"><i data-feather="youtube"></i></a>
44
+ <a href="#" class="text-gray-400"><i data-feather="github"></i></a>
45
+ <a href="#" class="text-gray-400"><i data-feather="linkedin"></i></a>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <div class="border-t border-gray-700 py-4 text-center text-gray-400">
50
+ <p>Β© ${new Date().getFullYear()} AutoStream Sales Machine. All rights reserved.</p>
51
+ </div>
52
+ </footer>
53
+ `;
54
+ }
55
+ }
56
+ customElements.define('custom-footer', CustomFooter);
components/header.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomHeader extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background-color: white;
8
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
9
+ }
10
+ .nav-container {
11
+ max-width: 1200px;
12
+ margin: 0 auto;
13
+ padding: 1rem 2rem;
14
+ }
15
+ .nav-links a:hover {
16
+ color: #3b82f6;
17
+ }
18
+ @media (max-width: 768px) {
19
+ .nav-container {
20
+ flex-direction: column;
21
+ }
22
+ }
23
+ </style>
24
+ <nav>
25
+ <div class="nav-container flex justify-between items-center">
26
+ <div class="flex items-center">
27
+ <i data-feather="zap" class="w-6 h-6 text-blue-500 mr-2"></i>
28
+ <span class="text-xl font-bold">AutoStream</span>
29
+ </div>
30
+ <div class="nav-links flex space-x-6">
31
+ <a href="#" class="font-medium">Home</a>
32
+ <a href="#" class="font-medium">Tutorial</a>
33
+ <a href="#" class="font-medium">Resources</a>
34
+ <a href="#" class="font-medium bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600">Get Started</a>
35
+ </div>
36
+ </div>
37
+ </nav>
38
+ `;
39
+ }
40
+ }
41
+ customElements.define('custom-header', CustomHeader);
index.html CHANGED
@@ -1,19 +1,148 @@
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>AutoStream Sales Machine</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ </head>
12
+ <body class="bg-gray-100">
13
+ <custom-header></custom-header>
14
+
15
+ <main class="container mx-auto px-4 py-12">
16
+ <section class="bg-white rounded-xl shadow-lg p-8 mb-12">
17
+ <h1 class="text-4xl font-bold text-center mb-6">24/7 Automated Livestream Sales System</h1>
18
+ <p class="text-xl text-center text-gray-600 mb-8">Set up your faceless automated sales machine in under 2 hours</p>
19
+
20
+ <div class="grid md:grid-cols-3 gap-8">
21
+ <div class="bg-gray-50 p-6 rounded-lg">
22
+ <i data-feather="clock" class="w-12 h-12 text-blue-500 mb-4"></i>
23
+ <h3 class="text-xl font-semibold mb-3">Step 1: Softr Setup</h3>
24
+ <p class="text-gray-600">Create your product catalog using our Softr template</p>
25
+ <a href="#" class="text-blue-500 hover:text-blue-700 mt-4 inline-block">Get Template</a>
26
+ </div>
27
+
28
+ <div class="bg-gray-50 p-6 rounded-lg">
29
+ <i data-feather="zap" class="w-12 h-12 text-blue-500 mb-4"></i>
30
+ <h3 class="text-xl font-semibold mb-3">Step 2: Make.com</h3>
31
+ <p class="text-gray-600">Import our pre-built automation scenarios</p>
32
+ <a href="#" class="text-blue-500 hover:text-blue-700 mt-4 inline-block">Download Blueprints</a>
33
+ </div>
34
+
35
+ <div class="bg-gray-50 p-6 rounded-lg">
36
+ <i data-feather="film" class="w-12 h-12 text-blue-500 mb-4"></i>
37
+ <h3 class="text-xl font-semibold mb-3">Step 3: HeyGen</h3>
38
+ <p class="text-gray-600">Create your AI presenter videos</p>
39
+ <a href="#" class="text-blue-500 hover:text-blue-700 mt-4 inline-block">Tutorial</a>
40
+ </div>
41
+ </div>
42
+ </section>
43
+
44
+ <section class="bg-white rounded-xl shadow-lg p-8 mb-12">
45
+ <h2 class="text-3xl font-bold mb-6">Complete System Blueprint</h2>
46
+
47
+ <div class="space-y-6">
48
+ <div class="border-l-4 border-blue-500 pl-4">
49
+ <h3 class="text-xl font-semibold">Make.com Automation Scenarios</h3>
50
+ <p class="text-gray-600 mt-2">Pre-built JSON blueprints for your automations:</p>
51
+ <div class="mt-4 p-4 bg-gray-50 rounded-lg">
52
+ <pre class="text-sm overflow-x-auto">{
53
+ "scenario": "livestream_automation",
54
+ "steps": [
55
+ {
56
+ "module": "restream",
57
+ "action": "schedule_stream",
58
+ "params": {
59
+ "title": "{{product.name}} - Limited Offer!",
60
+ "description": "Watch our AI presenter explain {{product.name}}",
61
+ "start_time": "auto_rotate"
62
+ }
63
+ },
64
+ {
65
+ "module": "lemon_squeezy",
66
+ "action": "create_webhook",
67
+ "params": {
68
+ "url": "https://yourdomain.com/webhook",
69
+ "events": ["order_created"]
70
+ }
71
+ }
72
+ ]
73
+ }</pre>
74
+ </div>
75
+ <button class="mt-4 bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg">Download All Scenarios</button>
76
+ </div>
77
+
78
+ <div class="border-l-4 border-blue-500 pl-4">
79
+ <h3 class="text-xl font-semibold">Scarcity Counter Formula</h3>
80
+ <p class="text-gray-600 mt-2">JavaScript code for dynamic countdowns:</p>
81
+ <div class="mt-4 p-4 bg-gray-50 rounded-lg">
82
+ <pre class="text-sm overflow-x-auto">function startCountdown(endTime) {
83
+ const timer = setInterval(() => {
84
+ const now = new Date().getTime();
85
+ const distance = endTime - now;
86
+
87
+ const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
88
+ const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
89
+ const seconds = Math.floor((distance % (1000 * 60)) / 1000);
90
+
91
+ document.getElementById("countdown").innerHTML =
92
+ `${hours}h ${minutes}m ${seconds}s`;
93
+
94
+ if (distance < 0) {
95
+ clearInterval(timer);
96
+ document.getElementById("countdown").innerHTML = "OFFER EXPIRED";
97
+ }
98
+ }, 1000);
99
+ }</pre>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ </section>
104
+
105
+ <section class="bg-blue-50 rounded-xl shadow-lg p-8">
106
+ <h2 class="text-3xl font-bold mb-6">Quick Start Resources</h2>
107
+ <ul class="space-y-4">
108
+ <li class="flex items-start">
109
+ <i data-feather="link" class="w-5 h-5 mt-1 mr-3 text-blue-500"></i>
110
+ <div>
111
+ <h3 class="font-semibold">Softr Template</h3>
112
+ <p class="text-gray-600">https://softr.io/templates/autostream-sales</p>
113
+ </div>
114
+ </li>
115
+ <li class="flex items-start">
116
+ <i data-feather="link" class="w-5 h-5 mt-1 mr-3 text-blue-500"></i>
117
+ <div>
118
+ <h3 class="font-semibold">Make.com Blueprints</h3>
119
+ <p class="text-gray-600">https://make.com/blueprints/autostream</p>
120
+ </div>
121
+ </li>
122
+ <li class="flex items-start">
123
+ <i data-feather="link" class="w-5 h-5 mt-1 mr-3 text-blue-500"></i>
124
+ <div>
125
+ <h3 class="font-semibold">Restream Scheduling Trick</h3>
126
+ <p class="text-gray-600">https://restream.io/blog/auto-rotation</p>
127
+ </div>
128
+ </li>
129
+ <li class="flex items-start">
130
+ <i data-feather="link" class="w-5 h-5 mt-1 mr-3 text-blue-500"></i>
131
+ <div>
132
+ <h3 class="font-semibold">Lemon Squeezy Webhook URL</h3>
133
+ <p class="text-gray-600">https://api.lemonsqueezy.com/webhooks</p>
134
+ </div>
135
+ </li>
136
+ </ul>
137
+ </section>
138
+ </main>
139
+
140
+ <custom-footer></custom-footer>
141
+
142
+ <script src="components/header.js"></script>
143
+ <script src="components/footer.js"></script>
144
+ <script src="script.js"></script>
145
+ <script>feather.replace();</script>
146
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
147
+ </body>
148
+ </html>
script.js ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', function() {
2
+ // Initialize countdown timer example
3
+ const countdownEnd = new Date();
4
+ countdownEnd.setHours(countdownEnd.getHours() + 24);
5
+
6
+ startCountdown(countdownEnd.getTime());
7
+
8
+ // Copy to clipboard functionality for code snippets
9
+ document.querySelectorAll('pre').forEach(pre => {
10
+ const button = document.createElement('button');
11
+ button.className = 'copy-btn absolute top-2 right-2 bg-gray-200 hover:bg-gray-300 text-gray-800 text-xs px-2 py-1 rounded';
12
+ button.innerHTML = '<i data-feather="copy" class="w-3 h-3"></i> Copy';
13
+ button.onclick = () => {
14
+ navigator.clipboard.writeText(pre.textContent);
15
+ button.innerHTML = '<i data-feather="check" class="w-3 h-3"></i> Copied!';
16
+ setTimeout(() => {
17
+ button.innerHTML = '<i data-feather="copy" class="w-3 h-3"></i> Copy';
18
+ feather.replace();
19
+ }, 2000);
20
+ };
21
+ pre.style.position = 'relative';
22
+ pre.appendChild(button);
23
+ });
24
+
25
+ feather.replace();
26
+ });
27
+
28
+ function startCountdown(endTime) {
29
+ const timer = setInterval(() => {
30
+ const now = new Date().getTime();
31
+ const distance = endTime - now;
32
+
33
+ const hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
34
+ const minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
35
+ const seconds = Math.floor((distance % (1000 * 60)) / 1000);
36
+
37
+ const countdownEl = document.getElementById("countdown");
38
+ if (countdownEl) {
39
+ countdownEl.innerHTML = `${hours}h ${minutes}m ${seconds}s`;
40
+
41
+ if (distance < 0) {
42
+ clearInterval(timer);
43
+ countdownEl.innerHTML = "OFFER EXPIRED";
44
+ }
45
+ }
46
+ }, 1000);
47
+ }
style.css CHANGED
@@ -1,28 +1,42 @@
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
2
+
3
  body {
4
+ font-family: 'Inter', sans-serif;
5
+ }
6
+
7
+ .container {
8
+ max-width: 1200px;
9
  }
10
 
11
+ .shadow-lg {
12
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
 
13
  }
14
 
15
+ .rounded-xl {
16
+ border-radius: 1rem;
 
 
 
17
  }
18
 
19
+ .bg-blue-50 {
20
+ background-color: #eff6ff;
 
 
 
 
21
  }
22
 
23
+ pre {
24
+ background-color: #f8fafc;
25
+ padding: 1rem;
26
+ border-radius: 0.5rem;
27
+ border: 1px solid #e2e8f0;
28
  }
29
+
30
+ /* Animation for countdown */
31
+ @keyframes pulse {
32
+ 0%, 100% {
33
+ transform: scale(1);
34
+ }
35
+ 50% {
36
+ transform: scale(1.05);
37
+ }
38
+ }
39
+
40
+ .countdown-animate {
41
+ animation: pulse 1s infinite;
42
+ }