omnipost / index.html
kattastrofik-kattastrofey's picture
create an app that is an all-in -one marketing tool. it can automate daily posting for social media sites, linkedin x, threads, instagram, facebook, etc and then generate the content weekly based on a topic given by the user and also reasearch and add tranding hashtags and post at scheduled times - this will require a weekly setup from the user - Initial Deployment
17d47e7 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OmniPost - All-in-One Social Media Automation</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
dark: '#1e293b',
}
}
}
}
</script>
<style>
.platform-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.content-preview {
min-height: 150px;
border-left: 4px solid #6366f1;
}
.hashtag-chip {
transition: all 0.2s;
}
.hashtag-chip:hover {
background-color: #e0e7ff;
color: #6366f1;
}
[data-tooltip] {
position: relative;
}
[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: #1e293b;
color: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
opacity: 0;
transition: opacity 0.2s;
pointer-events: none;
}
[data-tooltip]:hover::after {
opacity: 1;
}
</style>
</head>
<body class="bg-gray-50 text-gray-800">
<div class="min-h-screen flex flex-col">
<!-- Header -->
<header class="bg-white shadow-sm py-4">
<div class="container mx-auto px-4 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-rocket text-2xl text-primary"></i>
<h1 class="text-2xl font-bold text-dark">OmniPost</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="text-primary font-medium">Dashboard</a>
<a href="#" class="hover:text-primary transition">Content</a>
<a href="#" class="hover:text-primary transition">Schedule</a>
<a href="#" class="hover:text-primary transition">Analytics</a>
<a href="#" class="hover:text-primary transition">Settings</a>
</nav>
<div class="flex items-center space-x-4">
<button class="p-2 rounded-full hover:bg-gray-100">
<i class="fas fa-bell text-gray-600"></i>
</button>
<div class="w-8 h-8 rounded-full bg-primary flex items-center justify-center text-white font-medium">
U
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-grow container mx-auto px-4 py-8">
<div class="flex flex-col lg:flex-row gap-8">
<!-- Left Sidebar -->
<aside class="lg:w-1/4 space-y-6">
<div class="bg-white p-6 rounded-xl shadow-sm">
<h2 class="text-lg font-bold mb-4">Weekly Setup</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium mb-1" for="topic">Main Topic</label>
<input type="text" id="topic" placeholder="Enter your marketing topic..."
class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
</div>
<div>
<label class="block text-sm font-medium mb-1" for="tone">Content Tone</label>
<select id="tone" class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent">
<option>Professional</option>
<option>Casual</option>
<option>Funny</option>
<option>Inspirational</option>
<option>Educational</option>
</select>
</div>
<div>
<label class="block text-sm font-medium mb-1">Post Frequency</label>
<div class="flex items-center space-x-2">
<input type="range" min="1" max="21" value="7" class="w-full">
<span class="text-sm font-medium">7</span>
</div>
<p class="text-xs text-gray-500 mt-1">Posts per week</p>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h2 class="text-lg font-bold mb-4">Connected Platforms</h2>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 rounded-lg bg-gray-50">
<div class="flex items-center space-x-3">
<i class="fab fa-twitter text-blue-400 text-xl"></i>
<span>Twitter (X)</span>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" checked class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-gray-50">
<div class="flex items-center space-x-3">
<i class="fab fa-linkedin text-blue-600 text-xl"></i>
<span>LinkedIn</span>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" checked class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-gray-50">
<div class="flex items-center space-x-3">
<i class="fab fa-instagram text-pink-600 text-xl"></i>
<span>Instagram</span>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-gray-50">
<div class="flex items-center space-x-3">
<i class="fab fa-facebook text-blue-700 text-xl"></i>
<span>Facebook</span>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
<div class="flex items-center justify-between p-3 rounded-lg bg-gray-50">
<div class="flex items-center space-x-3">
<i class="fab fa-threads text-black text-xl"></i>
<span>Threads</span>
</div>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" checked class="sr-only peer">
<div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"></div>
</label>
</div>
</div>
<button class="w-full mt-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition">
Connect More Platforms
</button>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<h2 class="text-lg font-bold mb-4">Optimal Posting Times</h2>
<div class="space-y-4">
<div class="flex items-center justify-between">
<span>Twitter (X)</span>
<span class="text-sm font-medium">9:00 AM</span>
</div>
<div class="flex items-center justify-between">
<span>LinkedIn</span>
<span class="text-sm font-medium">10:30 AM</span>
</div>
<div class="flex items-center justify-between">
<span>Instagram</span>
<span class="text-sm font-medium">12:00 PM</span>
</div>
<div class="flex items-center justify-between">
<span>Facebook</span>
<span class="text-sm font-medium">2:00 PM</span>
</div>
<div class="flex items-center justify-between">
<span>Threads</span>
<span class="text-sm font-medium">4:30 PM</span>
</div>
</div>
<button class="w-full mt-4 py-2 border border-primary text-primary rounded-lg hover:bg-primary/10 transition">
Customize Times
</button>
</div>
</aside>
<!-- Main Content Area -->
<div class="lg:w-3/4 space-y-6">
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Content Generator</h2>
<div class="flex space-x-3">
<button class="px-4 py-2 border rounded-lg hover:bg-gray-50 transition">
Generate Sample
</button>
<button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition flex items-center space-x-2">
<i class="fas fa-magic"></i>
<span>Generate Content</span>
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
<div>
<label class="block text-sm font-medium mb-2">Content Type</label>
<div class="grid grid-cols-3 gap-2">
<button class="py-2 border rounded-lg hover:bg-gray-50 transition font-medium">Posts</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition">Images</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition">Videos</button>
</div>
</div>
<div>
<label class="block text-sm font-medium mb-2">Content Length</label>
<div class="grid grid-cols-3 gap-2">
<button class="py-2 border rounded-lg hover:bg-gray-50 transition">Short</button>
<button class="py-2 border rounded-lg bg-primary text-white hover:bg-primary/90 transition font-medium">Medium</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition">Long</button>
</div>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Custom Instructions</label>
<textarea class="w-full px-4 py-2 border rounded-lg focus:ring-2 focus:ring-primary focus:border-transparent h-24"
placeholder="Add any specific instructions for content generation..."></textarea>
</div>
<div class="bg-gray-50 p-4 rounded-lg content-preview">
<h3 class="font-medium mb-2">Generated Weekly Content</h3>
<div class="text-gray-600">
Enter your topic and click "Generate Content" to see AI-generated posts for your week.
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Hashtag Generator</h2>
<button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition flex items-center space-x-2">
<i class="fas fa-search"></i>
<span>Find Trending Hashtags</span>
</button>
</div>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Target Platform</label>
<div class="grid grid-cols-2 md:grid-cols-5 gap-2">
<button class="py-2 border rounded-lg hover:bg-gray-50 transition flex items-center justify-center space-x-2">
<i class="fab fa-twitter text-blue-400"></i>
<span>Twitter</span>
</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition flex items-center justify-center space-x-2">
<i class="fab fa-linkedin text-blue-600"></i>
<span>LinkedIn</span>
</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition flex items-center justify-center space-x-2">
<i class="fab fa-instagram text-pink-600"></i>
<span>Instagram</span>
</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition flex items-center justify-center space-x-2">
<i class="fab fa-facebook text-blue-700"></i>
<span>Facebook</span>
</button>
<button class="py-2 border rounded-lg hover:bg-gray-50 transition flex items-center justify-center space-x-2">
<i class="fab fa-threads text-black"></i>
<span>Threads</span>
</button>
</div>
</div>
<div class="flex flex-wrap gap-2 mb-4">
<div class="bg-gray-100 px-3 py-1 rounded-full text-sm hashtag-chip hover:shadow-sm">
#digitalmarketing <i class="fas fa-plus ml-1 text-xs text-gray-500"></i>
</div>
<div class="bg-gray-100 px-3 py-1 rounded-full text-sm hashtag-chip hover:shadow-sm">
#socialmediatips <i class="fas fa-plus ml-1 text-xs text-gray-500"></i>
</div>
<div class="bg-gray-100 px-3 py-1 rounded-full text-sm hashtag-chip hover:shadow-sm">
#contentcreation <i class="fas fa-plus ml-1 text-xs text-gray-500"></i>
</div>
<div class="bg-gray-100 px-3 py-1 rounded-full text-sm hashtag-chip hover:shadow-sm">
#marketingstrategy <i class="fas fa-plus ml-1 text-xs text-gray-500"></i>
</div>
<div class="bg-gray-100 px-3 py-1 rounded-full text-sm hashtag-chip hover:shadow-sm">
#brandawareness <i class="fas fa-plus ml-1 text-xs text-gray-500"></i>
</div>
</div>
<div class="text-sm text-gray-500">
Click on hashtags to add them to your posts. We analyze trending hashtags based on your topic and platforms.
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Weekly Schedule Preview</h2>
<button class="px-4 py-2 bg-primary text-white rounded-lg hover:bg-primary/90 transition flex items-center space-x-2">
<i class="far fa-save"></i>
<span>Save Schedule</span>
</button>
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="border-b">
<th class="text-left py-3">Day</th>
<th class="text-left py-3">Time</th>
<th class="text-left py-3">Platform</th>
<th class="text-left py-3">Content</th>
<th class="text-left py-3">Status</th>
</tr>
</thead>
<tbody class="divide-y">
<tr class="hover:bg-gray-50">
<td class="py-3 font-medium">Monday</td>
<td class="py-3">9:00 AM</td>
<td class="py-3">
<div class="flex items-center space-x-2">
<i class="fab fa-twitter text-blue-400"></i>
<span>Twitter</span>
</div>
</td>
<td class="py-3 text-sm text-gray-600">Industry trends analysis...</td>
<td class="py-3">
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Ready</span>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="py-3 font-medium">Tuesday</td>
<td class="py-3">10:30 AM</td>
<td class="py-3">
<div class="flex items-center space-x-2">
<i class="fab fa-linkedin text-blue-600"></i>
<span>LinkedIn</span>
</div>
</td>
<td class="py-3 text-sm text-gray-600">Professional insights...</td>
<td class="py-3">
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Ready</span>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="py-3 font-medium">Wednesday</td>
<td class="py-3">12:00 PM</td>
<td class="py-3">
<div class="flex items-center space-x-2">
<i class="fab fa-instagram text-pink-600"></i>
<span>Instagram</span>
</div>
</td>
<td class="py-3 text-sm text-gray-600">Visual content showcase...</td>
<td class="py-3">
<span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Pending</span>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="py-3 font-medium">Thursday</td>
<td class="py-3">2:00 PM</td>
<td class="py-3">
<div class="flex items-center space-x-2">
<i class="fab fa-facebook text-blue-700"></i>
<span>Facebook</span>
</div>
</td>
<td class="py-3 text-sm text-gray-600">Community engagement...</td>
<td class="py-3">
<span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Pending</span>
</td>
</tr>
<tr class="hover:bg-gray-50">
<td class="py-3 font-medium">Friday</td>
<td class="py-3">4:30 PM</td>
<td class="py-3">
<div class="flex items-center space-x-2">
<i class="fab fa-threads text-black"></i>
<span>Threads</span>
</div>
</td>
<td class="py-3 text-sm text-gray-600">Weekend discussion starter...</td>
<td class="py-3">
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">Ready</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-6 flex justify-end space-x-3">
<button class="px-4 py-2 border rounded-lg hover:bg-gray-50 transition">
Edit Schedule
</button>
<button class="px-4 py-2 bg-secondary text-white rounded-lg hover:bg-secondary/90 transition flex items-center space-x-2">
<i class="fas fa-paper-plane"></i>
<span>Confirm & Schedule</span>
</button>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-white border-t py-6">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 mb-4 md:mb-0">
<i class="fas fa-rocket text-xl text-primary"></i>
<span class="font-bold text-dark">OmniPost</span>
</div>
<div class="text-sm text-gray-500">
&copy; 2023 OmniPost. All rights reserved.
<a href="#" class="hover:text-primary ml-4">Terms</a>
<a href="#" class="hover:text-primary ml-4">Privacy</a>
<a href="#" class="hover:text-primary ml-4">Help</a>
</div>
<div class="flex space-x-4 mt-4 md:mt-0">
<a href="#" class="text-gray-500 hover:text-primary transition" data-tooltip="Twitter">
<i class="fab fa-twitter text-lg"></i>
</a>
<a href="#" class="text-gray-500 hover:text-primary transition" data-tooltip="Facebook">
<i class="fab fa-facebook text-lg"></i>
</a>
<a href="#" class="text-gray-500 hover:text-primary transition" data-tooltip="Instagram">
<i class="fab fa-instagram text-lg"></i>
</a>
<a href="#" class="text-gray-500 hover:text-primary transition" data-tooltip="LinkedIn">
<i class="fab fa-linkedin text-lg"></i>
</a>
</div>
</div>
</div>
</footer>
</div>
<script>
// Sample functionality for demonstration
document.querySelectorAll('[data-tooltip]').forEach(el => {
el.addEventListener('mouseover', function() {
const tooltip = this.querySelector('::after');
if (tooltip) tooltip.style.opacity = 1;
});
el.addEventListener('mouseout', function() {
const tooltip = this.querySelector('::after');
if (tooltip) tooltip.style.opacity = 0;
});
});
// Simulate content generation
const generateButton = document.querySelector('button.fa-magic').parentElement;
generateButton.addEventListener('click', function() {
const contentPreview = document.querySelector('.content-preview');
contentPreview.innerHTML = `
<div class="space-y-4">
<h3 class="font-medium">Generated Weekly Content</h3>
<div class="border-b pb-3">
<div class="flex items-center space-x-2 text-sm text-gray-500 mb-1">
<i class="fab fa-twitter text-blue-400"></i>
<span>Monday 9:00 AM</span>
</div>
<p>"Exploring the latest trends in digital marketing for 2023. What strategies are working best for your business? #digitalmarketing #marketingtrends"</p>
</div>
<div class="border-b pb-3">
<div class="flex items-center space-x-2 text-sm text-gray-500 mb-1">
<i class="fab fa-linkedin text-blue-600"></i>
<span>Tuesday 10:30 AM</span>
</div>
<p>"Professional development tip: Set aside 30 minutes each day to learn something new in your field. Continuous learning is key to career growth. #professionaldevelopment #careergrowth"</p>
</div>
<div>
<div class="flex items-center space-x-2 text-sm text-gray-500 mb-1">
<i class="fab fa-threads text-black"></i>
<span>Friday 4:30 PM</span>
</div>
<p>"What are your goals for next week? Planning ahead can dramatically increase productivity. Share your plans below! #productivity #weeklyplanning"</p>
</div>
</div>
<div class="mt-3 text-sm text-gray-500">
<i class="fas fa-info-circle text-primary mr-1"></i>
Drag and drop to reorder posts. Click to edit content.
</div>
`;
// Generate sample hashtags
const hashtagContainer = document.querySelector('.flex-wrap.gap-2');
const sampleHashtags = [
'#socialmediamanagement',
'#marketingautomation',
'#businesstips',
'#entrepreneurlife',
'#brandstrategy',
'#contentmarketing',
'#digitalstrategy',
'#growthhacking'
];
sampleHashtags.forEach(tag => {
const chip = document.createElement('div');
chip.className = 'bg-gray-100 px-3 py-1 rounded-full text-sm hashtag-chip hover:shadow-sm';
chip.innerHTML = `${tag} <i class="fas fa-plus ml-1 text-xs text-gray-500"></i>`;
hashtagContainer.appendChild(chip);
});
});
</script>
<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=kattastrofik-kattastrofey/omnipost" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>