Spaces:
Running
Running
can you suggest steps for putting scripts into production
Browse files- README.md +8 -5
- index.html +127 -19
- production-checklist.md +66 -0
- script.js +41 -0
- style.css +53 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ScriptCraft Launchpad 🚀
|
| 3 |
+
colorFrom: gray
|
| 4 |
+
colorTo: gray
|
| 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).
|
index.html
CHANGED
|
@@ -1,19 +1,127 @@
|
|
| 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>LaughScript Factory | AI Comedy Writer</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 |
+
<script src="components/navbar.js"></script>
|
| 12 |
+
<script src="components/footer.js"></script>
|
| 13 |
+
</head>
|
| 14 |
+
<body class="bg-gray-100 min-h-screen flex flex-col">
|
| 15 |
+
<custom-navbar></custom-navbar>
|
| 16 |
+
|
| 17 |
+
<main class="flex-grow container mx-auto px-4 py-8">
|
| 18 |
+
<section class="text-center mb-12">
|
| 19 |
+
<h1 class="text-5xl font-bold text-gray-800 mb-4">LaughScript Factory</h1>
|
| 20 |
+
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Generate hilarious scripts for movies, TV shows, and theater productions with AI-powered comedy writing!</p>
|
| 21 |
+
</section>
|
| 22 |
+
|
| 23 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-12">
|
| 24 |
+
<div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-shadow">
|
| 25 |
+
<div class="text-purple-600 mb-4">
|
| 26 |
+
<i data-feather="film" class="w-12 h-12"></i>
|
| 27 |
+
</div>
|
| 28 |
+
<h3 class="text-2xl font-semibold mb-3">Movie Scripts</h3>
|
| 29 |
+
<p class="text-gray-600 mb-4">Generate full-length comedy movie scripts based on your prompts and jokes.</p>
|
| 30 |
+
<a href="movies.html" class="inline-block px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition">Try Now</a>
|
| 31 |
+
</div>
|
| 32 |
+
|
| 33 |
+
<div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-shadow">
|
| 34 |
+
<div class="text-blue-600 mb-4">
|
| 35 |
+
<i data-feather="tv" class="w-12 h-12"></i>
|
| 36 |
+
</div>
|
| 37 |
+
<h3 class="text-2xl font-semibold mb-3">TV Show Scripts</h3>
|
| 38 |
+
<p class="text-gray-600 mb-4">Create sitcom episodes or comedy sketches with your unique humor style.</p>
|
| 39 |
+
<a href="tv.html" class="inline-block px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">Try Now</a>
|
| 40 |
+
</div>
|
| 41 |
+
<div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-shadow">
|
| 42 |
+
<div class="text-green-600 mb-4">
|
| 43 |
+
<i data-feather="users" class="w-12 h-12"></i>
|
| 44 |
+
</div>
|
| 45 |
+
<h3 class="text-2xl font-semibold mb-3">Production Tools</h3>
|
| 46 |
+
<p class="text-gray-600 mb-4">Essential checklists and templates for bringing scripts to life.</p>
|
| 47 |
+
<a href="production-checklist.md" class="inline-block px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition">View Checklist</a>
|
| 48 |
+
</div>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<section class="bg-white rounded-xl shadow-lg p-8 mb-12">
|
| 52 |
+
<h2 class="text-3xl font-bold text-center mb-6">How It Works</h2>
|
| 53 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 54 |
+
<div class="text-center">
|
| 55 |
+
<div class="bg-yellow-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 56 |
+
<i data-feather="edit" class="text-yellow-600"></i>
|
| 57 |
+
</div>
|
| 58 |
+
<h3 class="text-xl font-semibold mb-2">1. Enter Your Prompt</h3>
|
| 59 |
+
<p class="text-gray-600">Describe your comedy idea or upload existing jokes.</p>
|
| 60 |
+
</div>
|
| 61 |
+
<div class="text-center">
|
| 62 |
+
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 63 |
+
<i data-feather="cpu" class="text-blue-600"></i>
|
| 64 |
+
</div>
|
| 65 |
+
<h3 class="text-xl font-semibold mb-2">2. AI Generates Script</h3>
|
| 66 |
+
<p class="text-gray-600">Our algorithm creates a professional comedy script.</p>
|
| 67 |
+
</div>
|
| 68 |
+
<div class="text-center">
|
| 69 |
+
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
|
| 70 |
+
<i data-feather="download" class="text-green-600"></i>
|
| 71 |
+
</div>
|
| 72 |
+
<h3 class="text-xl font-semibold mb-2">3. Download & Share</h3>
|
| 73 |
+
<p class="text-gray-600">Get your script and share with collaborators.</p>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</section>
|
| 77 |
+
|
| 78 |
+
<section class="text-center">
|
| 79 |
+
<h2 class="text-3xl font-bold mb-6">Featured Community Scripts</h2>
|
| 80 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 81 |
+
<!-- These would be populated from an API in a real implementation -->
|
| 82 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 83 |
+
<img src="http://static.photos/comedy/640x360/1" alt="Comedy script" class="w-full h-48 object-cover">
|
| 84 |
+
<div class="p-4">
|
| 85 |
+
<h3 class="font-bold text-xl mb-2">The Zombie Who Couldn't Bite</h3>
|
| 86 |
+
<p class="text-gray-700 text-sm mb-3">A romantic comedy about a vegan zombie trying to fit in.</p>
|
| 87 |
+
<div class="flex justify-between items-center">
|
| 88 |
+
<span class="text-sm text-gray-600">Movie Script</span>
|
| 89 |
+
<button class="text-purple-600 hover:text-purple-800 text-sm font-medium">Read More</button>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 94 |
+
<img src="http://static.photos/comedy/640x360/2" alt="Comedy script" class="w-full h-48 object-cover">
|
| 95 |
+
<div class="p-4">
|
| 96 |
+
<h3 class="font-bold text-xl mb-2">Office Space: The Musical</h3>
|
| 97 |
+
<p class="text-gray-700 text-sm mb-3">TP shortage leads to corporate rebellion in song and dance.</p>
|
| 98 |
+
<div class="flex justify-between items-center">
|
| 99 |
+
<span class="text-sm text-gray-600">Theater Script</span>
|
| 100 |
+
<button class="text-purple-600 hover:text-purple-800 text-sm font-medium">Read More</button>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
<div class="bg-white rounded-lg shadow-md overflow-hidden">
|
| 105 |
+
<img src="http://static.photos/comedy/640x360/3" alt="Comedy script" class="w-full h-48 object-cover">
|
| 106 |
+
<div class="p-4">
|
| 107 |
+
<h3 class="font-bold text-xl mb-2">Alien Roommates</h3>
|
| 108 |
+
<p class="text-gray-700 text-sm mb-3">Sitcom about extraterrestrials trying to understand human customs.</p>
|
| 109 |
+
<div class="flex justify-between items-center">
|
| 110 |
+
<span class="text-sm text-gray-600">TV Script</span>
|
| 111 |
+
<button class="text-purple-600 hover:text-purple-800 text-sm font-medium">Read More</button>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
</section>
|
| 117 |
+
</main>
|
| 118 |
+
|
| 119 |
+
<custom-footer></custom-footer>
|
| 120 |
+
|
| 121 |
+
<script>
|
| 122 |
+
feather.replace();
|
| 123 |
+
</script>
|
| 124 |
+
<script src="script.js"></script>
|
| 125 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 126 |
+
</body>
|
| 127 |
+
</html>
|
production-checklist.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
```markdown
|
| 2 |
+
# ScriptCraft Production Launch Checklist 🚀
|
| 3 |
+
|
| 4 |
+
## Pre-Production Phase
|
| 5 |
+
1. **Script Finalization**
|
| 6 |
+
- [ ] Final draft approved by all stakeholders
|
| 7 |
+
- [ ] Script formatted to industry standards
|
| 8 |
+
- [ ] Page count and timing verified
|
| 9 |
+
|
| 10 |
+
2. **Talent Acquisition**
|
| 11 |
+
- [ ] Casting complete (principal actors)
|
| 12 |
+
- [ ] Voice actors booked (if animation)
|
| 13 |
+
- [ ] Stand-ins/Extras confirmed
|
| 14 |
+
|
| 15 |
+
3. **Location & Logistics**
|
| 16 |
+
- [ ] Shooting locations secured
|
| 17 |
+
- [ ] Permits obtained
|
| 18 |
+
- [ ] Parking/transportation arranged
|
| 19 |
+
- [ ] Catering scheduled
|
| 20 |
+
|
| 21 |
+
## Production Phase
|
| 22 |
+
1. **Day 1 Checklist**
|
| 23 |
+
- [ ] Call sheets distributed
|
| 24 |
+
- [ ] Equipment tested
|
| 25 |
+
- [ ] Safety briefing conducted
|
| 26 |
+
- [ ] First shot scheduled
|
| 27 |
+
|
| 28 |
+
2. **Daily Workflow**
|
| 29 |
+
- [ ] Script supervisor on set
|
| 30 |
+
- [ ] Daily progress reports
|
| 31 |
+
- [ ] Dailies reviewed
|
| 32 |
+
- [ ] Next day prep complete
|
| 33 |
+
|
| 34 |
+
## Post-Production
|
| 35 |
+
1. **Editing**
|
| 36 |
+
- [ ] Rough cut completed
|
| 37 |
+
- [ ] Producer/director review
|
| 38 |
+
- [ ] Final cut locked
|
| 39 |
+
|
| 40 |
+
2. **Sound & Effects**
|
| 41 |
+
- [ ] ADR sessions complete
|
| 42 |
+
- [ ] Sound mix finalized
|
| 43 |
+
- [ ] Foley/effects added
|
| 44 |
+
|
| 45 |
+
3. **Delivery**
|
| 46 |
+
- [ ] Final quality check
|
| 47 |
+
- [ ] All formats exported
|
| 48 |
+
- [ ] Metadata added
|
| 49 |
+
- [ ] Delivery to platform
|
| 50 |
+
|
| 51 |
+
## Launch & Beyond
|
| 52 |
+
1. **Marketing**
|
| 53 |
+
- [ ] Press kit prepared
|
| 54 |
+
- [ ] Social media assets created
|
| 55 |
+
- [ ] Premiere event scheduled
|
| 56 |
+
|
| 57 |
+
2. **Distribution**
|
| 58 |
+
- [ ] Platform requirements verified
|
| 59 |
+
- [ ] Closed captions added
|
| 60 |
+
- [ ] Final delivery confirmation
|
| 61 |
+
|
| 62 |
+
3. **Post-Launch**
|
| 63 |
+
- [ ] Performance analytics setup
|
| 64 |
+
- [ ] Audience feedback collection
|
| 65 |
+
- [ ] Wrap party scheduled! 🎉
|
| 66 |
+
```
|
script.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Shared functionality across pages
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
// Initialize tooltips
|
| 4 |
+
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
| 5 |
+
tooltipTriggerList.map(function (tooltipTriggerEl) {
|
| 6 |
+
return new bootstrap.Tooltip(tooltipTriggerEl);
|
| 7 |
+
});
|
| 8 |
+
|
| 9 |
+
// Smooth scrolling for anchor links
|
| 10 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 11 |
+
anchor.addEventListener('click', function (e) {
|
| 12 |
+
e.preventDefault();
|
| 13 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 14 |
+
behavior: 'smooth'
|
| 15 |
+
});
|
| 16 |
+
});
|
| 17 |
+
});
|
| 18 |
+
|
| 19 |
+
// Theme switcher functionality
|
| 20 |
+
const themeSwitcher = document.getElementById('theme-switcher');
|
| 21 |
+
if (themeSwitcher) {
|
| 22 |
+
themeSwitcher.addEventListener('click', function() {
|
| 23 |
+
document.documentElement.classList.toggle('dark');
|
| 24 |
+
localStorage.setItem('theme', document.documentElement.classList.contains('dark') ? 'dark' : 'light');
|
| 25 |
+
});
|
| 26 |
+
}
|
| 27 |
+
});
|
| 28 |
+
|
| 29 |
+
// API functions for script generation
|
| 30 |
+
async function generateScript(prompt, scriptType) {
|
| 31 |
+
try {
|
| 32 |
+
// In a real implementation, this would call your backend API
|
| 33 |
+
console.log(`Generating ${scriptType} script with prompt: ${prompt}`);
|
| 34 |
+
|
| 35 |
+
// Simulate API delay
|
| 36 |
+
await new Promise(resolve => setTimeout(resolve, 1500));
|
| 37 |
+
|
| 38 |
+
// Return mock data for demonstration
|
| 39 |
+
return {
|
| 40 |
+
success: true,
|
| 41 |
+
script: `INT. ${scriptType.toUpperCase()} SETTING - DAY\n\n${prompt}\n\n(Generated ${
|
style.css
CHANGED
|
@@ -1,28 +1,63 @@
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Base styles */
|
| 2 |
body {
|
| 3 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
+
/* Animation for buttons */
|
| 7 |
+
.btn-hover {
|
| 8 |
+
transition: all 0.3s ease;
|
| 9 |
+
transform: translateY(0);
|
| 10 |
}
|
| 11 |
|
| 12 |
+
.btn-hover:hover {
|
| 13 |
+
transform: translateY(-2px);
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
+
/* Custom scrollbar */
|
| 17 |
+
::-webkit-scrollbar {
|
| 18 |
+
width: 8px;
|
|
|
|
|
|
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
+
::-webkit-scrollbar-track {
|
| 22 |
+
background: #f1f1f1;
|
| 23 |
}
|
| 24 |
+
|
| 25 |
+
::-webkit-scrollbar-thumb {
|
| 26 |
+
background: #888;
|
| 27 |
+
border-radius: 4px;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
::-webkit-scrollbar-thumb:hover {
|
| 31 |
+
background: #555;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
/* Pulse animation for CTA elements */
|
| 35 |
+
@keyframes pulse {
|
| 36 |
+
0% {
|
| 37 |
+
transform: scale(1);
|
| 38 |
+
}
|
| 39 |
+
50% {
|
| 40 |
+
transform: scale(1.05);
|
| 41 |
+
}
|
| 42 |
+
100% {
|
| 43 |
+
transform: scale(1);
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.pulse {
|
| 48 |
+
animation: pulse 2s infinite;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
/* Fade-in animation */
|
| 52 |
+
@keyframes fadeIn {
|
| 53 |
+
from {
|
| 54 |
+
opacity: 0;
|
| 55 |
+
}
|
| 56 |
+
to {
|
| 57 |
+
opacity: 1;
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.fade-in {
|
| 62 |
+
animation: fadeIn 0.5s ease-in;
|
| 63 |
+
}
|