Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +125 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: scriptforge
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 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,125 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>ScriptForge - TikTok Script Writer</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 |
+
.step-indicator {
|
| 11 |
+
width: 30px;
|
| 12 |
+
height: 30px;
|
| 13 |
+
display: flex;
|
| 14 |
+
align-items: center;
|
| 15 |
+
justify-content: center;
|
| 16 |
+
border-radius: 50%;
|
| 17 |
+
font-weight: bold;
|
| 18 |
+
transition: all 0.3s ease;
|
| 19 |
+
}
|
| 20 |
+
.step-active {
|
| 21 |
+
background-color: #6366f1;
|
| 22 |
+
color: white;
|
| 23 |
+
}
|
| 24 |
+
.step-completed {
|
| 25 |
+
background-color: #10b981;
|
| 26 |
+
color: white;
|
| 27 |
+
}
|
| 28 |
+
.step-inactive {
|
| 29 |
+
background-color: #e5e7eb;
|
| 30 |
+
color: #6b7280;
|
| 31 |
+
}
|
| 32 |
+
.fade-in {
|
| 33 |
+
animation: fadeIn 0.5s ease-in-out;
|
| 34 |
+
}
|
| 35 |
+
@keyframes fadeIn {
|
| 36 |
+
from { opacity: 0; transform: translateY(10px); }
|
| 37 |
+
to { opacity: 1; transform: translateY(0); }
|
| 38 |
+
}
|
| 39 |
+
.textarea-autosize {
|
| 40 |
+
min-height: 100px;
|
| 41 |
+
resize: none;
|
| 42 |
+
overflow-y: hidden;
|
| 43 |
+
}
|
| 44 |
+
</style>
|
| 45 |
+
</head>
|
| 46 |
+
<body class="bg-gray-50 font-sans">
|
| 47 |
+
<div class="min-h-screen flex flex-col">
|
| 48 |
+
<!-- Header -->
|
| 49 |
+
<header class="bg-white shadow-sm py-4">
|
| 50 |
+
<div class="container mx-auto px-4 flex justify-between items-center">
|
| 51 |
+
<div class="flex items-center">
|
| 52 |
+
<i class="fas fa-film text-indigo-600 text-2xl mr-3"></i>
|
| 53 |
+
<h1 class="text-xl font-bold text-gray-800">ScriptForge</h1>
|
| 54 |
+
</div>
|
| 55 |
+
<button id="exportBtn" class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md hidden">
|
| 56 |
+
<i class="fas fa-download mr-2"></i>Export Script
|
| 57 |
+
</button>
|
| 58 |
+
</div>
|
| 59 |
+
</header>
|
| 60 |
+
|
| 61 |
+
<!-- Main Content -->
|
| 62 |
+
<main class="flex-grow container mx-auto px-4 py-8">
|
| 63 |
+
<div class="max-w-3xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
|
| 64 |
+
<!-- Progress Steps -->
|
| 65 |
+
<div class="p-6 border-b">
|
| 66 |
+
<div class="flex justify-between items-center mb-6">
|
| 67 |
+
<div class="flex items-center">
|
| 68 |
+
<div id="step1" class="step-indicator step-active">1</div>
|
| 69 |
+
<div class="h-1 w-16 mx-2 bg-indigo-200"></div>
|
| 70 |
+
<div id="step2" class="step-indicator step-inactive">2</div>
|
| 71 |
+
<div class="h-1 w-16 mx-2 bg-gray-200"></div>
|
| 72 |
+
<div id="step3" class="step-indicator step-inactive">3</div>
|
| 73 |
+
<div class="h-1 w-16 mx-2 bg-gray-200"></div>
|
| 74 |
+
<div id="step4" class="step-indicator step-inactive">4</div>
|
| 75 |
+
<div class="h-1 w-16 mx-2 bg-gray-200"></div>
|
| 76 |
+
<div id="step5" class="step-indicator step-inactive">5</div>
|
| 77 |
+
</div>
|
| 78 |
+
<span id="stepTitle" class="text-sm font-medium text-indigo-600">Define Purpose & Audience</span>
|
| 79 |
+
</div>
|
| 80 |
+
<div class="w-full bg-gray-200 rounded-full h-2">
|
| 81 |
+
<div id="progressBar" class="bg-indigo-600 h-2 rounded-full" style="width: 20%"></div>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<!-- Step Content -->
|
| 86 |
+
<div class="p-6">
|
| 87 |
+
<!-- Step 1: Define Purpose & Audience -->
|
| 88 |
+
<div id="step1Content" class="fade-in">
|
| 89 |
+
<h2 class="text-xl font-bold text-gray-800 mb-4">What's your video about?</h2>
|
| 90 |
+
<p class="text-gray-600 mb-6">Start by defining your video's purpose and target audience. This will help craft a script that resonates.</p>
|
| 91 |
+
|
| 92 |
+
<div class="mb-6">
|
| 93 |
+
<label class="block text-gray-700 font-medium mb-2">Video Purpose</label>
|
| 94 |
+
<select id="purposeSelect" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500">
|
| 95 |
+
<option value="">Select a purpose</option>
|
| 96 |
+
<option value="educate">Educate/Teach</option>
|
| 97 |
+
<option value="entertain">Entertain</option>
|
| 98 |
+
<option value="inspire">Inspire/Motivate</option>
|
| 99 |
+
<option value="sell">Sell Product/Service</option>
|
| 100 |
+
<option value="story">Tell a Story</option>
|
| 101 |
+
<option value="trend">Participate in Trend</option>
|
| 102 |
+
</select>
|
| 103 |
+
</div>
|
| 104 |
+
|
| 105 |
+
<div class="mb-6">
|
| 106 |
+
<label class="block text-gray-700 font-medium mb-2">Target Audience</label>
|
| 107 |
+
<input id="audienceInput" type="text" placeholder="e.g., Teenagers interested in fashion, Young professionals learning to cook" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500">
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<div class="mb-6">
|
| 111 |
+
<label class="block text-gray-700 font-medium mb-2">Key Message (What should viewers remember?)</label>
|
| 112 |
+
<textarea id="messageInput" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500 textarea-autosize" placeholder="The one thing you want viewers to take away..."></textarea>
|
| 113 |
+
</div>
|
| 114 |
+
|
| 115 |
+
<div class="flex justify-end">
|
| 116 |
+
<button id="nextStep1" class="bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-2 rounded-md">
|
| 117 |
+
Next <i class="fas fa-arrow-right ml-2"></i>
|
| 118 |
+
</button>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
|
| 122 |
+
<!-- Step 2: Create a Hook -->
|
| 123 |
+
<div id="step2Content" class="
|
| 124 |
+
<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=lachieandmitch/scriptforge" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 125 |
+
</html>
|