Spaces:
Running
Running
Make a site where I can autopist blogs from Google news and recreate new content and post to all blogging sites - Initial Deployment
68009ef verified | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>NewsBlog Autoposter - Automated Content Creation</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: '#3B82F6', | |
| secondary: '#10B981', | |
| dark: '#1F2937', | |
| light: '#F9FAFB' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%); | |
| } | |
| .content-box { | |
| min-height: 300px; | |
| max-height: 500px; | |
| overflow-y: auto; | |
| } | |
| .dashboard-card { | |
| transition: all 0.3s ease; | |
| } | |
| .dashboard-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| } | |
| .loading-spinner { | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .tab-content { | |
| display: none; | |
| } | |
| .tab-content.active { | |
| display: block; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <!-- Header --> | |
| <header class="gradient-bg text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-newspaper text-3xl"></i> | |
| <h1 class="text-2xl font-bold">NewsBlog Autoposter</h1> | |
| </div> | |
| <nav class="hidden md:block"> | |
| <ul class="flex space-x-6"> | |
| <li><a href="#" class="hover:underline font-medium">Dashboard</a></li> | |
| <li><a href="#" class="hover:underline">Settings</a></li> | |
| <li><a href="#" class="hover:underline">Pricing</a></li> | |
| <li><a href="#" class="hover:underline">Help</a></li> | |
| </ul> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button class="bg-white text-primary px-4 py-2 rounded-full font-medium hover:bg-gray-100 transition">Login</button> | |
| <button class="hidden md:block bg-primary text-white px-4 py-2 rounded-full font-medium hover:bg-blue-700 transition">Sign Up</button> | |
| <button class="md:hidden text-white text-2xl"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Dashboard Overview --> | |
| <section class="mb-12"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-gray-500">Articles Processed</p> | |
| <h3 class="text-3xl font-bold text-primary">1,248</h3> | |
| </div> | |
| <div class="bg-blue-100 p-3 rounded-full"> | |
| <i class="fas fa-file-alt text-primary text-xl"></i> | |
| </div> | |
| </div> | |
| <p class="text-green-500 mt-2 text-sm"><i class="fas fa-arrow-up"></i> 12% from last week</p> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-gray-500">Blogs Connected</p> | |
| <h3 class="text-3xl font-bold text-secondary">8</h3> | |
| </div> | |
| <div class="bg-green-100 p-3 rounded-full"> | |
| <i class="fas fa-globe text-secondary text-xl"></i> | |
| </div> | |
| </div> | |
| <p class="text-green-500 mt-2 text-sm"><i class="fas fa-plus"></i> Add more</p> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-gray-500">Posts Scheduled</p> | |
| <h3 class="text-3xl font-bold text-yellow-500">24</h3> | |
| </div> | |
| <div class="bg-yellow-100 p-3 rounded-full"> | |
| <i class="fas fa-clock text-yellow-500 text-xl"></i> | |
| </div> | |
| </div> | |
| <p class="text-gray-500 mt-2 text-sm">Next post in 2 hours</p> | |
| </div> | |
| <div class="dashboard-card bg-white rounded-xl shadow-md p-6"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <p class="text-gray-500">Content Uniqueness</p> | |
| <h3 class="text-3xl font-bold text-purple-500">87%</h3> | |
| </div> | |
| <div class="bg-purple-100 p-3 rounded-full"> | |
| <i class="fas fa-fingerprint text-purple-500 text-xl"></i> | |
| </div> | |
| </div> | |
| <p class="text-green-500 mt-2 text-sm"><i class="fas fa-check"></i> Good quality</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Main Functionality --> | |
| <section class="bg-white rounded-xl shadow-lg overflow-hidden mb-12"> | |
| <div class="border-b border-gray-200"> | |
| <div class="flex overflow-x-auto"> | |
| <button class="tab-btn px-6 py-4 font-medium text-primary border-b-2 border-primary" data-tab="scrape">Scrape News</button> | |
| <button class="tab-btn px-6 py-4 font-medium text-gray-500 hover:text-primary" data-tab="rewrite">Rewrite Content</button> | |
| <button class="tab-btn px-6 py-4 font-medium text-gray-500 hover:text-primary" data-tab="schedule">Schedule Posts</button> | |
| <button class="tab-btn px-6 py-4 font-medium text-gray-500 hover:text-primary" data-tab="publish">Publish Now</button> | |
| </div> | |
| </div> | |
| <!-- Scrape News Tab --> | |
| <div id="scrape" class="tab-content active p-6"> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <div class="lg:col-span-1"> | |
| <h2 class="text-xl font-bold mb-4">News Scraper Settings</h2> | |
| <div class="space-y-4"> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Search Query</label> | |
| <input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary" placeholder="e.g. technology, business, health"> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Language</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary"> | |
| <option>English</option> | |
| <option>Spanish</option> | |
| <option>French</option> | |
| <option>German</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Region</label> | |
| <select class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary"> | |
| <option>United States</option> | |
| <option>United Kingdom</option> | |
| <option>Canada</option> | |
| <option>Australia</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label class="block text-gray-700 mb-2">Number of Articles</label> | |
| <input type="range" min="1" max="20" value="5" class="w-full"> | |
| <div class="flex justify-between text-sm text-gray-500"> | |
| <span>1</span> | |
| <span>5</span> | |
| <span>10</span> | |
| <span>15</span> | |
| <span>20</span> | |
| </div> | |
| </div> | |
| <button id="scrape-btn" class="w-full bg-primary text-white py-3 rounded-lg font-medium hover:bg-blue-700 transition flex items-center justify-center"> | |
| <i class="fas fa-search mr-2"></i> Scrape Google News | |
| </button> | |
| </div> | |
| </div> | |
| <div class="lg:col-span-2"> | |
| <h2 class="text-xl font-bold mb-4">Scraped Articles</h2> | |
| <div class="bg-gray-50 rounded-lg p-4 content-box"> | |
| <div id="scraped-results" class="space-y-4"> | |
| <div class="text-center py-10 text-gray-400"> | |
| <i class="fas fa-newspaper text-4xl mb-3"></i> | |
| <p>No articles scraped yet. Enter your search criteria and click "Scrape Google News" to begin.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Rewrite Content Tab --> | |
| <div id="rewrite" class="tab-content p-6"> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> | |
| <div> | |
| <h2 class="text-xl font-bold mb-4">Original Content</h2> | |
| <div class="bg-gray-50 rounded-lg p-4 content-box"> | |
| <div id="original-content"> | |
| <p class="text-gray-400 italic">Select an article from the scraped results to view its content here.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div> | |
| <h2 class="text-xl font-bold mb-4">Rewritten Content</h2> | |
| <div class="bg-gray-50 rounded-lg p-4 content-box"> | |
| <div id="rewritten-content"> | |
| <p class="text-gray-400 italic">Content will be automatically rewritten here after processing.</p> | |
| </div> | |
| </div> | |
| <div class="mt-4 space-y-3"> | |
| <div class="flex items-center"> | |
| <input type="range" id="creativity-slider" min="1" max="10" value="7" class="w-full mr-4"> | |
| <span id="creativity-value" class="font-medium">7/10 Creativity</span> | |
| </div> | |
| <div class="flex space-x-3"> | |
| <button id="rewrite-btn" class="flex-1 bg-secondary text-white py-2 rounded-lg font-medium hover:bg-green-700 transition flex items-center justify-center"> | |
| <i class="fas fa-magic mr-2"></i> Rewrite Content | |
| </button> | |
| <button class="flex-1 bg-gray-200 text-gray-700 py-2 rounded-lg font-medium hover:bg-gray-300 transition flex items-center justify-center"> | |
| <i class="fas fa-redo mr-2"></i> Regenerate | |
| </button> | |
| </div> | |
| <button class="w-full bg-gray-200 text-gray-700 py-2 rounded-lg font-medium hover:bg-gray-300 transition flex items-center justify-center"> | |
| <i class="fas fa-edit mr-2"></i> Manual Edit | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Schedule Posts Tab --> | |
| <div id="schedule" class="tab-content p-6"> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <div class="lg:col-span-1"> | |
| <h2 class="text-xl font-bold mb | |
| <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=369Rasenga/pokieboy" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |