Create an AI-Powered Emoji List Generator with GitHub Copilot CLI
By
<h2>Introduction</h2>
<p>Every week, the GitHub team hosts <strong>Rubber Duck Thursdays</strong>, a live stream where we build projects, collaborate with the community, and answer questions. In a recent episode, we created a fun and practical tool: an emoji list generator powered by the GitHub Copilot CLI. This article walks you through the project and shows how you can build your own version.</p><figure style="margin:20px 0"><img src="https://github.blog/wp-content/uploads/2026/04/image-19.png?fit=2064%2C1076" alt="Create an AI-Powered Emoji List Generator with GitHub Copilot CLI" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: github.blog</figcaption></figure>
<h2>What Is the Emoji List Generator?</h2>
<p>Have you ever seen social media posts that use bullet points with emojis to highlight features? For example:</p>
<ul>
<li><span aria-label='computer' role='img'>💻</span> Works in the CLI</li>
<li><span aria-label='robot' role='img'>🤖</span> Uses Copilot SDK to intelligently convert bullet points to relevant emojis</li>
<li><span aria-label='clipboard' role='img'>📋</span> Copies the result to your clipboard</li>
</ul>
<p>It looks great, but manually choosing the perfect emoji for each bullet point can be slow. The <em>Emoji List Generator</em> solves this. It runs in the terminal and lets you paste or type a list, then with a simple <kbd>Ctrl+S</kbd> it replaces your bullet points with appropriate emojis and copies the final list to your clipboard.</p>
<h2>How We Built It</h2>
<p>We combined several modern tools to make this project quickly:</p>
<table>
<tr><th>Component</th><th>Technology</th><th>Purpose</th></tr>
<tr><td>Terminal UI</td><td><a href='https://github.com/opentuesday/opentui'>@opentui/core</a></td><td>Provide a clean, interactive interface in the command line</td></tr>
<tr><td>AI Brain</td><td><a href='https://github.com/copilot-sdk'>@github/copilot-sdk</a></td><td>Intelligently match emojis to text</td></tr>
<tr><td>Clipboard Access</td><td><code>clipboardy</code></td><td>Copy results directly to clipboard</td></tr>
</table>
<h2>Step-by-Step Development</h2>
<h3>Planning with Copilot CLI</h3>
<p>We started by opening the GitHub Copilot CLI in <strong>plan mode</strong> (using Claude Sonnet 4.6). The prompt was:</p>
<blockquote>I want to create an AI-powered markdown emoji list generator. Where, in this CLI app, if I paste in or write in some bullet points, it will replace those bullet points with relevant emojis to the given point in that list, and copies it to my clipboard. I'd like it to use GitHub Copilot SDK for the AI juiciness.</blockquote>
<p>Copilot asked clarifying questions—for example, about the tech stack and which libraries to use (shoutout to community member Gabor for suggesting OpenTUI). It then produced a complete <code>plan.md</code> file for us to review.</p><figure style="margin:20px 0"><img src="https://github.blog/wp-content/uploads/2024/06/AI-DarkMode-4.png?resize=800%2C425" alt="Create an AI-Powered Emoji List Generator with GitHub Copilot CLI" style="width:100%;height:auto;border-radius:8px" loading="lazy"><figcaption style="font-size:12px;color:#666;margin-top:5px">Source: github.blog</figcaption></figure>
<h3>Implementing with Autopilot Mode</h3>
<p>We used the generated plan with <strong>autopilot mode</strong> (Claude Opus 4.7, recently released). Within minutes, we had a fully functional terminal UI.</p>
<h2>Key Features Used from GitHub Copilot CLI</h2>
<ul>
<li><strong>Plan mode</strong> – Helped design the architecture interactively</li>
<li><strong>Autopilot mode</strong> – Executed the plan autonomously</li>
<li><strong>Multi-model workflow</strong> – Switched between different AI models as needed</li>
<li><strong><code>allow-all-tools</code> flag</strong> – Gave the agent permission to use external tools</li>
<li><strong>GitHub MCP server</strong> – Enabled access to GitHub APIs from within the CLI</li>
</ul>
<h2>How to Build Your Own Version</h2>
<p>You can easily recreate this project. Start by reading the <a href='https://docs.github.com/en/copilot/github-copilot-cli/getting-started-with-github-copilot-cli'>GitHub Copilot CLI documentation</a> and the <a href='https://github.com/github/copilot-sdk'>GitHub Copilot SDK guide</a>. Then, follow the planning step above, adapt the code to your needs, and you'll have your own emoji list generator in no time.</p>
<h2>Conclusion</h2>
<p>The Emoji List Generator is a small but mighty project that demonstrates how you can combine terminal UIs, AI, and clipboard utilities with the GitHub Copilot CLI. The <a href='https://github.com/github/emoji-list-generator'>source code is open source</a> and free for anyone to use. Happy building!</p>
Tags: