Skip to content

Commit cd18952

Browse files
authored
Update generate_readme.py
1 parent 6416adf commit cd18952

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

generate_readme.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,20 @@ def load_csv_to_md(region_name, file_path):
8484
f.write(README_CONTENT)
8585

8686
print("Process finished.")
87+
88+
# ... (之前的代码保持不变) ...
89+
90+
import datetime
91+
current_time = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
92+
93+
# 完整的 README 内容(在底部加个时间戳)
94+
README_CONTENT = f"""# 📝 SpoonCommunity: Global AI Agent Ecosystem
95+
96+
{showcase_sections}
97+
98+
---
99+
*Last updated by Spoon-Bot at: {current_time}*
100+
"""
101+
102+
with open("README.md", "w", encoding="utf-8") as f:
103+
f.write(README_CONTENT)

0 commit comments

Comments
 (0)