From 4d388ecf9edbb52afd823476db5a0dfc7bff1837 Mon Sep 17 00:00:00 2001 From: Mike-FreeAI <145850829+Mike-FreeAI@users.noreply.github.com> Date: Mon, 8 Jul 2024 10:30:42 +0100 Subject: [PATCH 1/4] Add dark mode and publish to GitHub Pages using GitHub Actions --- .github/workflows/publish.yml | 33 +++++++++++++++++++++++ README.md | 8 ++++++ _config.yml | 8 ++++++ _layouts/default.html | 51 +++++++++++++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..d14fbff --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,33 @@ +name: Publish to GitHub Pages + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + ruby-version: '2.7' + + - name: Install dependencies + run: | + gem install bundler + bundle install + + - name: Build site + run: bundle exec jekyll build + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./_site diff --git a/README.md b/README.md index 3a0463d..1d59908 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,14 @@ The _unofficial_ ChatGPT desktop application provides a convenient way to access --- +## Dark Mode Implementation + +We have implemented a dark mode for this repository to enhance your reading experience. The dark mode is implemented using CSS variables and a toggle button. You can switch between light and dark modes by clicking the toggle button. + +## GitHub Pages Deployment using GitHub Actions + +We have set up a GitHub Actions workflow to automatically publish this repository to GitHub Pages. This workflow ensures that the latest changes are always available on the GitHub Pages site. You can find the workflow configuration in the `.github/workflows/publish.yml` file. + # Prompts ## ChatGPT SEO prompts diff --git a/_config.yml b/_config.yml index 37c2dff..f2f07ea 100644 --- a/_config.yml +++ b/_config.yml @@ -1,2 +1,10 @@ name: Awesome ChatGPT Prompts title: null + +# Dark mode configuration +dark_mode: true + +# GitHub Pages configuration +github_pages: + url: "https://.github.io/" + branch: "gh-pages" diff --git a/_layouts/default.html b/_layouts/default.html index 4e224cf..e361a00 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,10 +7,45 @@ {% seo %} + {% include head-custom.html %} +
{% if site.title and site.title != page.title %}

{{ site.title }}

@@ -47,6 +82,22 @@ }, false); x.previousElementSibling.previousElementSibling.prepend(button); }); + + function toggleDarkMode() { + const body = document.body; + body.classList.toggle('dark-mode'); + const isDarkMode = body.classList.contains('dark-mode'); + localStorage.setItem('dark-mode', isDarkMode); + document.querySelector('.dark-mode-toggle').textContent = isDarkMode ? '🌙' : '🌞'; + } + + document.addEventListener('DOMContentLoaded', () => { + const isDarkMode = localStorage.getItem('dark-mode') === 'true'; + if (isDarkMode) { + document.body.classList.add('dark-mode'); + document.querySelector('.dark-mode-toggle').textContent = '🌙'; + } + }); From 1f06568375a56590215cd8dd108c4b8a85ccc25a Mon Sep 17 00:00:00 2001 From: buimatt <33008923+buimatt@users.noreply.github.com> Date: Thu, 11 Jul 2024 04:35:44 -0700 Subject: [PATCH 2/4] Update README.md Restaurant Owner Prompt --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 3a0463d..1ac3b9f 100644 --- a/README.md +++ b/README.md @@ -841,6 +841,11 @@ Contributed by: [@JulianFisla](https://github.com/JulianFisla) >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. +## Act as a Restaurant Owner +Contributed by: [@buimatt](https://github.com/buimatt) + +>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" + ## Contributors 😍 Many thanks to these AI whisperers: From a31541a836ab350a99d8e6a94ac41acd533257f1 Mon Sep 17 00:00:00 2001 From: buimatt <33008923+buimatt@users.noreply.github.com> Date: Thu, 11 Jul 2024 04:56:02 -0700 Subject: [PATCH 3/4] Update prompts.csv --- prompts.csv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prompts.csv b/prompts.csv index afbe518..ff84f47 100644 --- a/prompts.csv +++ b/prompts.csv @@ -166,4 +166,5 @@ "Prompt Enhancer","Act as a Prompt Enhancer AI that takes user-input prompts and transforms them into more engaging, detailed, and thought-provoking questions. Describe the process you follow to enhance a prompt, the types of improvements you make, and share an example of how you'd turn a simple, one-sentence prompt into an enriched, multi-layered question that encourages deeper thinking and more insightful responses." "Cheap Travel Ticket Advisor","You are a cheap travel ticket advisor specializing in finding the most affordable transportation options for your clients. When provided with departure and destination cities, as well as desired travel dates, you use your extensive knowledge of past ticket prices, tips, and tricks to suggest the cheapest routes. Your recommendations may include transfers, extended layovers for exploring transfer cities, and various modes of transportation such as planes, car-sharing, trains, ships, or buses. Additionally, you can recommend websites for combining different trips and flights to achieve the most cost-effective journey." "Data Scientist","I want you to act as a data scientist. Imagine you're working on a challenging project for a cutting-edge tech company. You've been tasked with extracting valuable insights from a large dataset related to user behavior on a new app. Your goal is to provide actionable recommendations to improve user engagement and retention." -"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." +"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"" From f9d3913d844c0222e87cc531dc06ef2b182b4113 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Kadir=20Ak=C4=B1n?= Date: Sat, 27 Jul 2024 23:51:27 +0300 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index cee374e..8f0dd62 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) -[![ContentCodex](https://github.com/f/awesome-chatgpt-prompts/blob/main/.github/contentcodex.png?raw=true)](https://contentcodex.ai/?via=fka) - - - **[Be my sponsor and your logo will be here and prompts.chat!](https://github.com/sponsors/f/sponsorships?sponsor=f&tier_id=319423)** ---