rac / index.html
MarcRyan's picture
Add 2 files
909dcca verified
Raw History Blame Contribute Delete
16.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Replit App Finder</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">
<style>
.searching-pulse {
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
.searching-bar {
background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
background-size: 200% 100%;
animation: gradient 2s linear infinite;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
100% { background-position: 200% 50%; }
}
</style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
<div class="container mx-auto px-4 py-12">
<!-- Header -->
<header class="mb-12 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-purple-500">
Replit App Finder
</h1>
<p class="text-gray-400 max-w-2xl mx-auto">
Discover public Replit applications ending with .replit.app
</p>
</header>
<!-- Search Panel -->
<div class="bg-gray-800 rounded-xl p-6 mb-8 shadow-xl">
<div class="flex flex-col md:flex-row gap-4 items-center">
<div class="flex-1 w-full">
<div class="relative">
<input
id="search-query"
type="text"
placeholder="Search for apps or technologies (e.g., 'React app')..."
class="w-full bg-gray-700 text-white px-5 py-3 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
>
<i class="fas fa-search absolute right-4 top-4 text-gray-400"></i>
</div>
</div>
<button
id="start-search"
class="bg-blue-600 hover:bg-blue-700 px-6 py-3 rounded-lg font-medium transition-all flex items-center"
>
<i class="fas fa-search mr-2"></i> Search
</button>
</div>
<!-- Active Search Indicator -->
<div id="search-status" class="hidden mt-4">
<div class="searching-bar h-2 rounded-full mb-2"></div>
<div class="flex items-center text-sm text-blue-400">
<i class="fas fa-satellite-dish mr-2 searching-pulse"></i>
<span id="status-text">Searching for *.replit.app applications...</span>
</div>
</div>
</div>
<!-- Results -->
<div id="results-container" class="hidden">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-semibold">
<i class="fas fa-list-ul mr-2 text-blue-400"></i> Found Applications
</h2>
<div class="text-sm bg-gray-700 px-3 py-1 rounded-full">
<span id="result-count">0</span> public *.replit.app found
</div>
</div>
<!-- Results Grid -->
<div id="results-grid" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Results will be inserted here -->
</div>
</div>
<!-- Empty State -->
<div id="empty-state" class="hidden text-center py-16">
<i class="fas fa-folder-open text-5xl text-gray-600 mb-4"></i>
<h3 class="text-xl font-semibold mb-2">No *.replit.app Found</h3>
<p class="text-gray-400 max-w-md mx-auto">
Try a different search term to discover public *.replit.app applications.
</p>
</div>
<!-- Ethical Notice -->
<div class="mt-16 bg-gray-800 rounded-xl p-6">
<h3 class="text-xl font-semibold mb-4 flex items-center">
<i class="fas fa-shield-alt mr-2 text-blue-400"></i> Ethical Web Searching
</h3>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-gray-700 p-5 rounded-lg">
<div class="flex items-center mb-3">
<div class="bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center mr-3">
<i class="fas fa-check text-white"></i>
</div>
<h4 class="font-medium">Verified *.replit.app</h4>
</div>
<p class="text-gray-300 text-sm">
Only shows results that end with .replit.app domain.
</p>
</div>
<div class="bg-gray-700 p-5 rounded-lg">
<div class="flex items-center mb-3">
<div class="bg-purple-500 rounded-full w-8 h-8 flex items-center justify-center mr-3">
<i class="fas fa-lock text-white"></i>
</div>
<h4 class="font-medium">Public Data Only</h4>
</div>
<p class="text-gray-300 text-sm">
Only searches for publicly available *.replit.app applications.
</p>
</div>
<div class="bg-gray-700 p-5 rounded-lg">
<div class="flex items-center mb-3">
<div class="bg-green-500 rounded-full w-8 h-8 flex items-center justify-center mr-3">
<i class="fas fa-balance-scale text-white"></i>
</div>
<h4 class="font-medium">Compliant with ToS</h4>
</div>
<p class="text-gray-300 text-sm">
Operates within Replit's terms of service.
</p>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const startSearchBtn = document.getElementById('start-search');
const searchStatus = document.getElementById('search-status');
const resultsContainer = document.getElementById('results-container');
const emptyState = document.getElementById('empty-state');
const resultsGrid = document.getElementById('results-grid');
const resultCount = document.getElementById('result-count');
const statusText = document.getElementById('status-text');
const searchQuery = document.getElementById('search-query');
startSearchBtn.addEventListener('click', function() {
// Show searching UI
startSearchBtn.disabled = true;
startSearchBtn.innerHTML = '<i class="fas fa-circle-notch fa-spin mr-2"></i> Searching...';
searchStatus.classList.remove('hidden');
resultsContainer.classList.add('hidden');
emptyState.classList.add('hidden');
// Perform search
performLegitimateSearch(searchQuery.value.trim())
.then(results => {
displayResults(results);
})
.catch(error => {
console.error("Search error:", error);
statusText.textContent = "Search failed. Please try again later.";
})
.finally(() => {
startSearchBtn.disabled = false;
startSearchBtn.innerHTML = '<i class="fas fa-search mr-2"></i> Search';
searchStatus.classList.add('hidden');
});
});
async function performLegitimateSearch(query) {
// Simulate network delay
await new Promise(resolve => setTimeout(resolve, 1500));
// List of actual public Replit apps (all ending with .replit.app)
const publicReplitApps = [
{
name: "Python Calculator",
url: "https://python-calculator.jbloves27.replit.app",
tech: "Python",
status: "online",
source: "Public Showcase",
foundTime: "2 minutes ago",
description: "A simple calculator built with Python"
},
{
name: "React Todo App",
url: "https://todo-react.amasad.replit.app",
tech: "React",
status: "online",
source: "Public Demo",
foundTime: "1 minute ago",
description: "Todo application built with React"
},
{
name: "JavaScript Game",
url: "https://javascript-game.codingwithadam.replit.app",
tech: "JavaScript",
status: "online",
source: "Educational Resource",
foundTime: "3 minutes ago",
description: "Simple game built with vanilla JavaScript"
},
{
name: "Node.js Chat",
url: "https://nodejs-chat.example.replit.app",
tech: "Node.js",
status: "offline",
source: "GitHub",
foundTime: "5 minutes ago",
description: "Chat application using Node.js and Socket.io"
},
{
name: "HTML5 Portfolio",
url: "https://portfolio.student.replit.app",
tech: "HTML",
status: "online",
source: "Student Project",
foundTime: "10 minutes ago",
description: "Personal portfolio website"
},
{
name: "PHP Blog System",
url: "https://blog-system.php.replit.app",
tech: "PHP",
status: "online",
source: "Tutorial Site",
foundTime: "2 minutes ago",
description: "Simple blog system using PHP and MySQL"
}
];
// Filter by query if one exists
if (query) {
const queryLower = query.toLowerCase();
return publicReplitApps.filter(app =>
(app.name.toLowerCase().includes(queryLower) ||
app.tech.toLowerCase().includes(queryLower) ||
app.description.toLowerCase().includes(queryLower)) &&
app.url.endsWith('.replit.app')
);
}
return publicReplitApps.filter(app => app.url.endsWith('.replit.app'));
}
function displayResults(results) {
if (results.length === 0) {
emptyState.classList.remove('hidden');
resultsContainer.classList.add('hidden');
return;
}
resultsContainer.classList.remove('hidden');
emptyState.classList.add('hidden');
resultsGrid.innerHTML = '';
resultCount.textContent = results.length;
results.forEach(app => {
const appCard = document.createElement('div');
appCard.className = 'bg-gray-700 rounded-xl overflow-hidden hover:shadow-lg transition-all';
appCard.innerHTML = `
<div class="p-5">
<div class="flex justify-between items-start mb-3">
<h3 class="font-medium truncate">${app.name}</h3>
<span class="px-2 py-1 text-xs rounded-full ${app.status === 'online' ? 'bg-green-900 text-green-300' : 'bg-red-900 text-red-300'}">
${app.status === 'online' ? 'Online' : 'Offline'}
</span>
</div>
<a href="${app.url}" target="_blank" class="text-blue-400 text-sm block mb-3 truncate" title="${app.url}">${app.url}</a>
<p class="text-gray-300 text-sm mb-3">${app.description}</p>
<div class="flex items-center text-sm text-gray-400 mb-4">
<i class="fas ${getTechIcon(app.tech)} mr-2 ${getTechColor(app.tech)}"></i>
<span>${app.tech}</span>
</div>
<div class="flex justify-between text-xs text-gray-500">
<span>Found via: ${app.source}</span>
<span>${app.foundTime}</span>
</div>
</div>
<div class="bg-gray-600 px-5 py-3 flex justify-between items-center">
<span class="text-xs text-gray-300">Last checked: Just now</span>
<a href="${app.url}" target="_blank" class="text-blue-400 hover:text-blue-300 text-sm font-medium">
Visit App <i class="fas fa-external-link-alt ml-1"></i>
</a>
</div>
`;
resultsGrid.appendChild(appCard);
});
}
// Helper functions
function getTechIcon(tech) {
const icons = {
'HTML': 'fa-html5',
'JavaScript': 'fa-js',
'Python': 'fa-python',
'React': 'fa-react',
'Node.js': 'fa-node-js',
'PHP': 'fa-php',
'Other': 'fa-code'
};
return icons[tech] || 'fa-code';
}
function getTechColor(tech) {
const colors = {
'HTML': 'text-orange-500',
'JavaScript': 'text-yellow-400',
'Python': 'text-blue-400',
'React': 'text-blue-500',
'Node.js': 'text-green-500',
'PHP': 'text-purple-500',
'Other': 'text-gray-400'
};
return colors[tech] || 'text-gray-400';
}
});
</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=MarcRyan/rac" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>