INNER CODE UNIT · JavaScript

writeRootReadme

cporter202/agentic-ai-apis · settings/generate_readme_clean.js:220

function writeRootReadme(categoryCounts) {
    const totalCount = categoryCounts.reduce((sum, category) => sum + category.count, 0);
    const latestModifiedDate = getLatestModifiedDate(actors);

    let content = `<div align="center">\n\n`;
    content += `<img src="./assets/readme-hero-v2.svg" alt="agentic-ai-apis hero banner" width="100%" />\n\n`;
    content += `<br />\n<br />\n\n`;
    content += `[![GitHub stars](https://img.shields.io/github/stars/cporter202/agentic-ai-apis?style=for-the-badge)](https://github.com/cporter202/agentic-ai-apis/stargazers)\n`;
    content += `[![GitHub forks](https://img.shields.io/github/forks/cporter202/agentic-ai-apis?style=for-the-badge)](https://github.com/cporter202/agentic-ai-apis/network/members)\n`;
    content += `[![Last commit](https://img.shields.io/github/last-commit/cporter202/agentic-ai-apis?style=for-the-badge)](https://github.com/cporter202/agentic-ai-apis/commits/main)\n`;
    content += `[![Repo size](https://img.shields.io/github/repo-size/cporter202/agentic-ai-apis?style=for-the-badge)](https://github.com/cporter202/agentic-ai-apis)\n\n`;
    content += `<p>\n`;
    content += `  <a href="#at-a-glance"><strong>At A Glance</strong></a>\n`;
    content += `  |\n`;
    content += `  <a href="#start-here"><strong>Start Here</strong></a>\n`;
    content += `  |\n`;
    content += `  <a href="#explore-the-stack"><strong>Explore The Stack</strong></a>\n`;
    content += `  |\n`;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…