MCPcopy Create free account

hub / github.com/AmbroseX/Awesome-AISourceHub / functions

Functions31 in github.com/AmbroseX/Awesome-AISourceHub

↓ 2 callersFunctioncheck_folder
检查文件夹是否存在,不存在则创建。 参数: - folder_path: 文件夹路径
scripts/utils.py:8
↓ 2 callersFunctionsave_json
保存数据到JSON文件。 参数: - data: 要保存的数据 - save_path: JSON文件保存到本地的路径
scripts/utils.py:153
↓ 1 callersFunctionbackup_json
(data_path:str, back_json_path:str)
scripts/utils.py:129
↓ 1 callersFunctioncheckScroll
()
src/components/TopDownButton.tsx:10
↓ 1 callersFunctiondecoded_url
解码URL。 参数: - url: URL地址
scripts/utils.py:22
↓ 1 callersFunctionextract_domain
从URL中提取域名。 参数: - url: URL地址
scripts/utils.py:91
↓ 1 callersFunctionget_block_info
(content)
scripts/download_readme_data.py:31
↓ 1 callersFunctionget_git_commit
# 构建API URL来获取文件的提交历史数据
scripts/utils.py:31
↓ 1 callersFunctionget_git_update_time
(repo_owner:str, repo_name:str,path:str)
scripts/utils.py:41
↓ 1 callersFunctionget_latest_files
获取指定文件夹下最新的文件。 参数: - file_path: 文件夹路径 - num: 获取的文件数量
scripts/utils.py:106
↓ 1 callersFunctionget_readme
(repo_owner:str, repo_name:str)
scripts/utils.py:52
↓ 1 callersFunctionhandleResize
()
src/app/page.tsx:20
↓ 1 callersFunctionread_json
读取JSON文件。 参数: - file_path: JSON文件路径
scripts/utils.py:143
↓ 1 callersFunctiontransformToolsData
(data: any)
src/data/tools-data.ts:7
↓ 1 callersFunctiontransformToolsInfo
(data: any)
src/data/tools-data.ts:12
FunctionCard
({ title, is_free, image, description, href, })
src/components/ContentArea/Card.tsx:7
FunctionCategoryBlock
({categoryData})
src/components/ContentArea/CategoryBlock.tsx:9
FunctionCategoryContent
({tools})
src/components/CategoryContent.tsx:8
FunctionContact
()
src/components/Contact.tsx:6
FunctionContentArea
({categories, categoryRefs})
src/components/ContentArea/ContentArea.tsx:14
FunctionGET
()
src/app/feed.xml/route.ts:4
FunctionHeader
({ toggleSidebar, isSidebarOpen, lang = '', mode = 'light', })
src/components/Header/Header.tsx:16
FunctionHome
()
src/app/page.tsx:12
FunctionNotFound
()
src/app/not-found.tsx:5
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
src/app/layout.tsx:15
FunctionSidebar
({ categories, activeCategory, onCategoryClick, isSidebarOpen, })
src/components/Sidebar/Sidebar.tsx:14
FunctionTopDownButton
()
src/components/TopDownButton.tsx:4
Functiondecode_and_download_image
下载图片并保存到指定路径。 参数: - image_url: 图片的URL地址 - save_path: 图片保存到本地的路径
scripts/utils.py:64
FunctionhandleCategoryClick
(category: string)
src/app/page.tsx:55
Functionsitemap
()
src/app/sitemap.ts:3
FunctiontoggleSidebar
()
src/app/page.tsx:37