mirror of
https://github.com/LouisShark/chatgpt_system_prompt.git
synced 2025-07-06 06:40:28 -04:00
fix: replace colon or other symbol(some systems don't support) in filename
This commit is contained in:
parent
b6e7e9e0f9
commit
3b2579197c
3 changed files with 8 additions and 5 deletions
|
@ -117,7 +117,7 @@ some useful prompts:
|
||||||
- [Synthia 😋🌟](./prompts/gpts/Synthia%20%F0%9F%98%8B%F0%9F%8C%9F.md)
|
- [Synthia 😋🌟](./prompts/gpts/Synthia%20%F0%9F%98%8B%F0%9F%8C%9F.md)
|
||||||
- [Take Code Captures](./prompts/gpts/Take%20Code%20Captures.md)
|
- [Take Code Captures](./prompts/gpts/Take%20Code%20Captures.md)
|
||||||
- [TaxGPT](./prompts/gpts/TaxGPT.md)
|
- [TaxGPT](./prompts/gpts/TaxGPT.md)
|
||||||
- [The Secret of Monkey Island: Amsterdam](./prompts/gpts/The%20Secret%20of%20Monkey%20Island%3A%20Amsterdam.md)
|
- [The Secret of Monkey Island_ Amsterdam](./prompts/gpts/The%20Secret%20of%20Monkey%20Island%3A%20Amsterdam.md)
|
||||||
- [The Shaman](./prompts/gpts/The%20Shaman.md)
|
- [The Shaman](./prompts/gpts/The%20Shaman.md)
|
||||||
- [TherapistGPT](./prompts/gpts/TherapistGPT.md)
|
- [TherapistGPT](./prompts/gpts/TherapistGPT.md)
|
||||||
- [Trey Ratcliff's Photo Critique GPT](./prompts/gpts/Trey%20Ratcliff%27s%20Photo%20Critique%20GPT.md)
|
- [Trey Ratcliff's Photo Critique GPT](./prompts/gpts/Trey%20Ratcliff%27s%20Photo%20Critique%20GPT.md)
|
||||||
|
@ -127,7 +127,7 @@ some useful prompts:
|
||||||
- [Virtual Sweetheart](./prompts/gpts/Virtual%20Sweetheart.md)
|
- [Virtual Sweetheart](./prompts/gpts/Virtual%20Sweetheart.md)
|
||||||
- [Visual Weather Artist GPT](./prompts/gpts/Visual%20Weather%20Artist%20GPT.md)
|
- [Visual Weather Artist GPT](./prompts/gpts/Visual%20Weather%20Artist%20GPT.md)
|
||||||
- [Watercolor Illustrator GPT](./prompts/gpts/Watercolor%20Illustrator%20GPT.md)
|
- [Watercolor Illustrator GPT](./prompts/gpts/Watercolor%20Illustrator%20GPT.md)
|
||||||
- [What should I watch?](./prompts/gpts/What%20should%20I%20watch%3F.md)
|
- [What should I watch_](./prompts/gpts/What%20should%20I%20watch%3F.md)
|
||||||
- [Writing Assistant](./prompts/gpts/Writing%20Assistant.md)
|
- [Writing Assistant](./prompts/gpts/Writing%20Assistant.md)
|
||||||
- [X Optimizer GPT](./prompts/gpts/X%20Optimizer%20GPT.md)
|
- [X Optimizer GPT](./prompts/gpts/X%20Optimizer%20GPT.md)
|
||||||
- [YT Summarizer](./prompts/gpts/YT%20Summarizer.md)
|
- [YT Summarizer](./prompts/gpts/YT%20Summarizer.md)
|
||||||
|
@ -158,6 +158,7 @@ some useful prompts:
|
||||||
- [子言女友](./prompts/gpts/%E5%AD%90%E8%A8%80%E5%A5%B3%E5%8F%8B.md)
|
- [子言女友](./prompts/gpts/%E5%AD%90%E8%A8%80%E5%A5%B3%E5%8F%8B.md)
|
||||||
- [脏话连篇](./prompts/gpts/%E8%84%8F%E8%AF%9D%E8%BF%9E%E7%AF%87.md)
|
- [脏话连篇](./prompts/gpts/%E8%84%8F%E8%AF%9D%E8%BF%9E%E7%AF%87.md)
|
||||||
- [解梦大师](./prompts/gpts/%E8%A7%A3%E6%A2%A6%E5%A4%A7%E5%B8%88.md)
|
- [解梦大师](./prompts/gpts/%E8%A7%A3%E6%A2%A6%E5%A4%A7%E5%B8%88.md)
|
||||||
|
- [武林秘传_江湖探险](./prompts/gpts/%E6%AD%A6%E6%9E%97%E7%A7%98%E4%BC%A0_%E6%B1%9F%E6%B9%96%E6%8E%A2%E9%99%A9.md)
|
||||||
- [春霞つくし Tsukushi Harugasumi](./prompts/gpts/%E6%98%A5%E9%9C%9E%E3%81%A4%E3%81%8F%E3%81%97%20Tsukushi%20Harugasumi.md)
|
- [春霞つくし Tsukushi Harugasumi](./prompts/gpts/%E6%98%A5%E9%9C%9E%E3%81%A4%E3%81%8F%E3%81%97%20Tsukushi%20Harugasumi.md)
|
||||||
- [攻击型领导](./prompts/gpts/%E6%94%BB%E5%87%BB%E5%9E%8B%E9%A2%86%E5%AF%BC.md)
|
- [攻击型领导](./prompts/gpts/%E6%94%BB%E5%87%BB%E5%9E%8B%E9%A2%86%E5%AF%BC.md)
|
||||||
- [短视频脚本](./prompts/gpts/%E7%9F%AD%E8%A7%86%E9%A2%91%E8%84%9A%E6%9C%AC.md)
|
- [短视频脚本](./prompts/gpts/%E7%9F%AD%E8%A7%86%E9%A2%91%E8%84%9A%E6%9C%AC.md)
|
||||||
|
@ -170,7 +171,6 @@ some useful prompts:
|
||||||
- [小红书写作专家](./prompts/gpts/%E5%B0%8F%E7%BA%A2%E4%B9%A6%E5%86%99%E4%BD%9C%E4%B8%93%E5%AE%B6.md)
|
- [小红书写作专家](./prompts/gpts/%E5%B0%8F%E7%BA%A2%E4%B9%A6%E5%86%99%E4%BD%9C%E4%B8%93%E5%AE%B6.md)
|
||||||
- [老爸,该怎么办](./prompts/gpts/%E8%80%81%E7%88%B8%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E.md)
|
- [老爸,该怎么办](./prompts/gpts/%E8%80%81%E7%88%B8%EF%BC%8C%E8%AF%A5%E6%80%8E%E4%B9%88%E5%8A%9E.md)
|
||||||
- [完蛋!我爱上了姐姐](./prompts/gpts/%E5%AE%8C%E8%9B%8B%EF%BC%81%E6%88%91%E7%88%B1%E4%B8%8A%E4%BA%86%E5%A7%90%E5%A7%90.md)
|
- [完蛋!我爱上了姐姐](./prompts/gpts/%E5%AE%8C%E8%9B%8B%EF%BC%81%E6%88%91%E7%88%B1%E4%B8%8A%E4%BA%86%E5%A7%90%E5%A7%90.md)
|
||||||
- [武林秘传:江湖探险](./prompts/gpts/%E6%AD%A6%E6%9E%97%E7%A7%98%E4%BC%A0%EF%BC%9A%E6%B1%9F%E6%B9%96%E6%8E%A2%E9%99%A9.md)
|
|
||||||
- [知识渊博的健身教练](./prompts/gpts/%E7%9F%A5%E8%AF%86%E6%B8%8A%E5%8D%9A%E7%9A%84%E5%81%A5%E8%BA%AB%E6%95%99%E7%BB%83.md)
|
- [知识渊博的健身教练](./prompts/gpts/%E7%9F%A5%E8%AF%86%E6%B8%8A%E5%8D%9A%E7%9A%84%E5%81%A5%E8%BA%AB%E6%95%99%E7%BB%83.md)
|
||||||
- [完蛋,我被美女包围了(AI同人)](./prompts/gpts/%E5%AE%8C%E8%9B%8B%EF%BC%8C%E6%88%91%E8%A2%AB%E7%BE%8E%E5%A5%B3%E5%8C%85%E5%9B%B4%E4%BA%86%28AI%E5%BA%29.md)
|
- [完蛋,我被美女包围了(AI同人)](./prompts/gpts/%E5%AE%8C%E8%9B%8B%EF%BC%8C%E6%88%91%E8%A2%AB%E7%BE%8E%E5%A5%B3%E5%8C%85%E5%9B%B4%E4%BA%86%28AI%E5%BA%29.md)
|
||||||
- [猫耳美少女イラストメーカー](./prompts/gpts/%E7%8C%AB%E8%80%B3%E7%BE%8E%E5%B0%91%E5%A5%B3%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88%E3%83%A1%E3%83%BC%3%BC.md)
|
- [猫耳美少女イラストメーカー](./prompts/gpts/%E7%8C%AB%E8%80%B3%E7%BE%8E%E5%B0%91%E5%A5%B3%E3%82%A4%E3%83%A9%E3%82%B9%E3%83%88%E3%83%A1%E3%83%BC%3%BC.md)
|
||||||
|
|
|
@ -11,11 +11,14 @@ generate_toc() {
|
||||||
echo " $(generate_toc "$file")"
|
echo " $(generate_toc "$file")"
|
||||||
elif [ -f "$file" ] && [[ $file == *.md ]]; then
|
elif [ -f "$file" ] && [[ $file == *.md ]]; then
|
||||||
local title=$(basename "$file" .md)
|
local title=$(basename "$file" .md)
|
||||||
|
# Replace Windows incompatible characters with '_'
|
||||||
|
local safe_title=$(echo "$title" | sed 's/[<>::"\/\\|?*]/_/g')
|
||||||
|
# shellcheck disable=SC2001
|
||||||
local link=$(echo "$file" | sed "s|^$base_dir/||")
|
local link=$(echo "$file" | sed "s|^$base_dir/||")
|
||||||
local encoded_link=$(python -c "import urllib.parse; print(urllib.parse.quote('''$link'''))")
|
local encoded_link=$(python -c "import urllib.parse; print(urllib.parse.quote('''$link'''))")
|
||||||
echo " - [$title]($encoded_link)"
|
echo " - [$safe_title]($encoded_link)"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
generate_toc .
|
generate_toc .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue