From f1498e4b6f96a8f423eeced0b71c6e1ddfaead15 Mon Sep 17 00:00:00 2001 From: Cleon <135332128+CleonGaming@users.noreply.github.com> Date: Sun, 5 Jan 2025 23:01:36 +0530 Subject: [PATCH 1/5] Added Prompt: Act As Youtube Video Analyst --- README.md | 4 ++++ prompts.csv | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 3f28b7b..95b9e6b 100644 --- a/README.md +++ b/README.md @@ -861,6 +861,10 @@ Contributed by: [@nextdoorUncleLiu](https://github.com/nextdoorUncleLiu) >I am an expert in the field of architecture, well-versed in various aspects including architectural design, architectural history and theory, structural engineering, building materials and construction, architectural physics and environmental control, building codes and standards, green buildings and sustainable design, project management and economics, architectural technology and digital tools, social cultural context and human behavior, communication and collaboration, as well as ethical and professional responsibilities. I am equipped to address your inquiries across these dimensions without necessitating further explanations. +## Act as a YouTube Video Analyst +Contributed by: [@aviral-trivedi](https://github.com/aviral-trivedi) +>I want you to act as an expert YouTube video analyst. After I share a video link or transcript, provide a comprehensive explanation of approximately {100 words} in a clear, engaging paragraph. Include a concise chronological breakdown of the creator’s key ideas, future thoughts, and significant quotes, along with relevant timestamps. Focus on the core messages of the video, ensuring explanation is both engaging and easy to follow. Avoid including any extra information beyond the main content of the video. {Link or Transcript} + ## Contributors 😍 Many thanks to these AI whisperers: diff --git a/prompts.csv b/prompts.csv index 21c4eef..b548eab 100644 --- a/prompts.csv +++ b/prompts.csv @@ -169,3 +169,4 @@ "League of Legends Player","I want you to act as a person who plays a lot of League of Legends. Your rank in the game is diamond, which is above the average but not high enough to be considered a professional. You are irrational, get angry and irritated at the smallest things, and blame your teammates for all of your losing games. You do not go outside of your room very often,besides for your school/work, and the occasional outing with friends. If someone asks you a question, answer it honestly, but do not share much interest in questions outside of League of Legends. If someone asks you a question that isn't about League of Legends, at the end of your response try and loop the conversation back to the video game. You have few desires in life besides playing the video game. You play the jungle role and think you are better than everyone else because of it." "Restaurant Owner","I want you to act as a Restaurant Owner. When given a restaurant theme, give me some dishes you would put on your menu for appetizers, entrees, and desserts. Give me basic recipes for these dishes. Also give me a name for your restaurant, and then some ways to promote your restaurant. The first prompt is ""Taco Truck""" "Architectural Expert","I am an expert in the field of architecture, well-versed in various aspects including architectural design, architectural history and theory, structural engineering, building materials and construction, architectural physics and environmental control, building codes and standards, green buildings and sustainable design, project management and economics, architectural technology and digital tools, social cultural context and human behavior, communication and collaboration, as well as ethical and professional responsibilities. I am equipped to address your inquiries across these dimensions without necessitating further explanations." +"YouTube Video Analyst","I want you to act as an expert YouTube video analyst. After I share a video link or transcript, provide a comprehensive explanation of approximately {100 words} in a clear, engaging paragraph. Include a concise chronological breakdown of the creator's key ideas, future thoughts, and significant quotes, along with relevant timestamps. Focus on the core messages of the video, ensuring explanation is both engaging and easy to follow. Avoid including any extra information beyond the main content of the video. {Link or Transcript}" \ No newline at end of file From 3fa82d4884de61d462187a15a36379285888464c Mon Sep 17 00:00:00 2001 From: f Date: Sun, 5 Jan 2025 21:12:20 +0300 Subject: [PATCH 2/5] fix ui --- _layouts/default.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index a076050..5d724b6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -321,6 +321,13 @@ background: rgba(16, 185, 129, 0.1); color: var(--accent-color); border: 1px solid var(--accent-color); + text-decoration: none; + transition: all 0.2s ease; + } + + .platform-tag:hover { + background: rgba(16, 185, 129, 0.2); + transform: translateY(-1px); } .dark-mode .platform-tag { @@ -835,11 +842,11 @@

prompts.chat

- ChatGPT - Claude - Gemini - Llama - Mistral + ChatGPT + Claude + Gemini + Llama + Mistral
From 76a9085717d1be1e187b69c18bebe35dd6253b5d Mon Sep 17 00:00:00 2001 From: f Date: Sun, 5 Jan 2025 22:03:00 +0300 Subject: [PATCH 3/5] fix ui --- _layouts/default.html | 74 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 5d724b6..0b6bc13 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,6 +5,7 @@ + prompts.chat — awesome AI prompts {% seo %} {% include head-custom.html %} @@ -1061,8 +1101,17 @@ if (results.length === 0) { const li = document.createElement('li'); - li.className = 'search-result-item'; - li.textContent = 'No prompts found'; + li.className = 'search-result-item add-prompt'; + li.innerHTML = ` + + + + + + + Add this prompt + + `; searchResults.appendChild(li); return; } @@ -1149,6 +1198,27 @@ const promptsGrid = document.createElement('div'); promptsGrid.className = 'prompts-grid'; + // Add contribute box + const contributeCard = document.createElement('div'); + contributeCard.className = 'prompt-card contribute-card'; + contributeCard.innerHTML = ` + +
+ + + + + + Add Your Prompt +
+

+ Share your creative prompts with the community! Submit a pull request to add your prompts to the collection. +

+ Contribute Now +
+ `; + promptsGrid.appendChild(contributeCard); + const promptElements = document.querySelectorAll('h2[id^=act] + p + blockquote'); promptElements.forEach((blockquote) => { From d037bbd5a5974685ea21f27ac5c2cff70b6f74bb Mon Sep 17 00:00:00 2001 From: f Date: Sun, 5 Jan 2025 22:11:29 +0300 Subject: [PATCH 4/5] fix ui --- _layouts/default.html | 56 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 0b6bc13..3b87b5a 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -76,7 +76,7 @@ display: flex; flex-direction: column; justify-content: center; - gap: 0.2rem; + gap: 0; } .header-right { @@ -86,6 +86,20 @@ gap: 12px; } + .star-count { + display: flex; + align-items: center; + gap: 4px; + color: var(--accent-color); + font-size: 0.9rem; + opacity: 0.8; + } + + .star-count svg { + width: 16px; + height: 16px; + } + .social-links { display: flex; align-items: center; @@ -282,6 +296,19 @@ transition: transform 0.3s ease; } + .site-slogan { + font-size: 0.9rem; + opacity: 0.7; + margin: 0 0 0.8rem 0; + line-height: 1; + } + + @media (max-width: 768px) { + .site-slogan { + display: none; + } + } + .site-title:hover { transform: translateY(-2px); } @@ -881,6 +908,7 @@
@@ -987,6 +1029,18 @@ // Initialize everything after DOM loads document.addEventListener('DOMContentLoaded', () => { + // Fetch GitHub stars + fetch('https://api.github.com/repos/f/awesome-chatgpt-prompts') + .then(response => response.json()) + .then(data => { + const stars = data.stargazers_count; + document.getElementById('starCount').textContent = stars.toLocaleString(); + }) + .catch(error => { + console.error('Error fetching star count:', error); + document.getElementById('starCount').textContent = '50k+'; + }); + // Create prompt cards createPromptCards(); From 9f8682ba89f6fbb0e611ec2be241c4f055a3ea6d Mon Sep 17 00:00:00 2001 From: f Date: Sun, 5 Jan 2025 22:13:36 +0300 Subject: [PATCH 5/5] fix ui --- _layouts/default.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 3b87b5a..01acdfa 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -93,6 +93,12 @@ color: var(--accent-color); font-size: 0.9rem; opacity: 0.8; + text-decoration: none; + transition: opacity 0.2s ease; + } + + .star-count:hover { + opacity: 1; } .star-count svg { @@ -918,12 +924,12 @@