Spaces:
Running
Running
File size: 10,506 Bytes
5617195 a783250 5617195 a783250 5617195 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 | // Sample AI tools data
const aiTools = [
{
id: 1,
name: "ChatGPT",
category: "Text Generation",
description: "Advanced AI chatbot that can engage in conversation, answer questions, and assist with various text-based tasks.",
image: "http://static.photos/technology/640x360/1",
pricing: "Freemium",
website: "https://chat.openai.com",
bestFor: [
"General knowledge questions",
"Content creation",
"Coding assistance",
"Idea generation"
],
limitations: [
"Knowledge cutoff in 2023",
"Can sometimes hallucinate facts",
"Limited context window"
],
tags: ["chat", "text", "productivity"]
},
{
id: 2,
name: "Midjourney",
category: "Image Generation",
description: "AI-powered image generation tool that creates stunning visuals from text prompts.",
image: "http://static.photos/art/640x360/2",
pricing: "Paid",
website: "https://www.midjourney.com",
bestFor: [
"Concept art",
"Marketing visuals",
"Creative inspiration",
"Digital artwork"
],
limitations: [
"Requires Discord to use",
"No free tier",
"Limited control over output"
],
tags: ["images", "art", "design"]
},
{
id: 3,
name: "GitHub Copilot",
category: "Code Assistance",
description: "AI pair programmer that suggests code and entire functions in real-time right from your editor.",
image: "http://static.photos/code/640x360/3",
pricing: "Paid",
website: "https://github.com/features/copilot",
bestFor: [
"Code completion",
"Learning new languages",
"Boosting productivity",
"Reducing boilerplate"
],
limitations: [
"Can suggest incorrect code",
"Requires careful review",
"Subscription cost"
],
tags: ["coding", "developer", "productivity"]
},
{
id: 4,
name: "DALL-E 3",
category: "Image Generation",
description: "Advanced AI system that can create realistic images and art from a description in natural language.",
image: "http://static.photos/art/640x360/4",
pricing: "Freemium",
website: "https://openai.com/dall-e",
bestFor: [
"Quick concept visualization",
"Marketing materials",
"Creative projects",
"Prototyping"
],
limitations: [
"Limited free generations",
"Output resolution constraints",
"Prompt interpretation can vary"
],
tags: ["images", "art", "design"]
},
{
id: 5,
name: "Claude",
category: "Text Generation",
description: "AI assistant focused on being helpful, harmless, and honest in conversations.",
image: "http://static.photos/technology/640x360/5",
pricing: "Freemium",
website: "https://claude.ai",
bestFor: [
"Detailed analysis",
"Content summarization",
"Ethical considerations",
"Long document processing"
],
limitations: [
"More conservative outputs",
"Smaller user base than ChatGPT",
"Fewer integrations"
],
tags: ["chat", "text", "analysis"]
},
{
id: 6,
name: "ElevenLabs",
category: "Audio Tools",
description: "AI voice generation platform that creates natural sounding speech from text.",
image: "http://static.photos/audio/640x360/6",
pricing: "Freemium",
website: "https://elevenlabs.io",
bestFor: [
"Voiceovers",
"Audiobook narration",
"Podcast production",
"Accessibility features"
],
limitations: [
"Limited free characters",
"Some voices sound artificial",
"Emotional range can be limited"
],
tags: ["audio", "voice", "speech"]
},
{
id: 7,
name: "RunwayML",
category: "Video Tools",
description: "Creative toolkit that makes it easy to experiment with AI for video generation and editing.",
image: "http://static.photos/video/640x360/7",
pricing: "Freemium",
website: "https://runwayml.com",
bestFor: [
"Video editing automation",
"Special effects",
"AI-generated video",
"Creative experimentation"
],
limitations: [
"Steep learning curve",
"Limited free credits",
"Processing can be slow"
],
tags: ["video", "editing", "creative"]
},
{
id: 8,
name: "Notion AI",
category: "Productivity",
description: "AI-powered workspace that helps with writing, summarization, and organization.",
image: "http://static.photos/office/640x360/8",
pricing: "Paid",
website: "https://www.notion.so/product/ai",
bestFor: [
"Note organization",
"Document summarization",
"Task management",
"Knowledge bases"
],
limitations: [
"Requires Notion subscription",
"Limited standalone features",
"Best within Notion ecosystem"
],
tags: ["productivity", "writing", "organization"]
},
{
id: 9,
name: "Canva AI",
category: "Design",
description: "Design platform with AI tools for image generation, editing, and layout suggestions.",
image: "http://static.photos/design/640x360/9",
pricing: "Freemium",
website: "https://www.canva.com/ai-tools/",
bestFor: [
"Quick graphic design",
"Social media content",
"Presentations",
"Non-designers"
],
limitations: [
"Limited customization",
"Watermark on free tier",
"Generic templates"
],
tags: ["design", "images", "marketing"]
},
{
id: 10,
name: "Perplexity",
category: "Research",
description: "AI-powered answer engine that provides accurate, sourced answers to complex questions.",
image: "http://static.photos/research/640x360/10",
pricing: "Freemium",
website: "https://www.perplexity.ai",
bestFor: [
"Research questions",
"Fact-checking",
"Learning new topics",
"Up-to-date information"
],
limitations: [
"Smaller model than some competitors",
"Fewer creative capabilities",
"Limited conversation memory"
],
tags: ["research", "answers", "knowledge"]
}
];
// Load tools on page load
document.addEventListener('DOMContentLoaded', function() {
renderTools(aiTools);
setupEventListeners();
});
function renderTools(tools) {
const container = document.getElementById('tools-container');
container.innerHTML = '';
tools.forEach(tool => {
const toolCard = document.createElement('div');
toolCard.className = 'tool-card bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg cursor-pointer';
toolCard.innerHTML = `
<img src="${tool.image}" alt="${tool.name}">
<div class="tool-card-content">
<div class="flex justify-between items-start mb-2">
<h3 class="text-xl font-semibold text-gray-800">${tool.name}</h3>
<span class="px-2 py-1 bg-purple-100 text-purple-800 rounded-full text-xs">${tool.category}</span>
</div>
<p class="text-gray-600 text-sm mb-4 line-clamp-2">${tool.description}</p>
<div class="tool-card-footer flex justify-between items-center">
<span class="px-2 py-1 bg-gray-100 text-gray-800 rounded-full text-xs">${tool.pricing}</span>
<button class="text-purple-600 hover:text-purple-800 text-sm font-medium view-details" data-id="${tool.id}">
View Details <i data-feather="arrow-right" class="w-4 h-4 inline"></i>
</button>
</div>
</div>
`;
container.appendChild(toolCard);
});
feather.replace();
}
function setupEventListeners() {
// View details buttons
document.querySelectorAll('.view-details').forEach(button => {
button.addEventListener('click', function() {
const toolId = parseInt(this.getAttribute('data-id'));
const tool = aiTools.find(t => t.id === toolId);
showToolDetails(tool);
});
});
// Close modal button
document.getElementById('close-modal').addEventListener('click', function() {
document.getElementById('tool-modal').classList.add('hidden');
});
// Modal backdrop click
document.getElementById('tool-modal').addEventListener('click', function(e) {
if (e.target === this) {
this.classList.add('hidden');
}
});
}
function showToolDetails(tool) {
document.getElementById('modal-title').textContent = tool.name;
document.getElementById('modal-category').textContent = tool.category;
document.getElementById('modal-image').src = tool.image;
document.getElementById('modal-image').alt = tool.name;
document.getElementById('modal-description').textContent = tool.description;
document.getElementById('modal-pricing').textContent = tool.pricing;
document.getElementById('modal-website').href = tool.website;
const bestForList = document.getElementById('modal-best-for');
bestForList.innerHTML = '';
tool.bestFor.forEach(item => {
const li = document.createElement('li');
li.textContent = item;
bestForList.appendChild(li);
});
const limitationsList = document.getElementById('modal-limitations');
limitationsList.innerHTML = '';
tool.limitations.forEach(item => {
const li = document.createElement('li');
li.textContent = item;
limitationsList.appendChild(li);
});
document.getElementById('tool-modal').classList.remove('hidden');
feather.replace();
} |