GitHub Blog πŸ›  Dev πŸ‘ 1 πŸ“– 2 min read

Building an emoji list generator with the GitHub Copilot CLI

See how we created an emoji list generator during the Rubber Duck Thursday stream. The post Building an emoji list generator with the GitHub Copilot CLI appeared first on The GitHub Blog.

Building an emoji list generator with the GitHub Copilot CLI

Every week, the GitHub team runsΒ a stream called Rubber Duck Thursdays, where we build projects live, cowork with our community, and answer questions!

This week, we built a very fun project together using theΒ GitHub Copilot CLI! Let me tell you about it.

πŸ’‘Β New to GitHub Copilot CLI?Β Here’s how to get started.

What is it?

In a lot of social media tweets and launches, you often see accounts post things like:

We shipped the most amazing emoji list generator ever. It:

πŸ’» Works in the CLI
πŸ€– Uses the Copilot SDK to intelligently convert your bullet points to relevent emoji
πŸ“‹ Copies the result to the clipboard

It’s beautiful. But coming up with the perfect emoji is far too slow for me in this β€œmove fast and break things” world. I have projects to build! Repos to vibe! Pull requests to merge! I can’t be thinking about emojis!

And thus, on the stream, we build an emoji list generator (very descriptively called Emoji List Generator) that:

πŸ–₯️ Runs in the terminal
πŸ“‹ You paste or write a list
⌨️ You hit Ctrl + S
πŸ“Ž You get the list on your clipboard

(Can you tell I’m dogfooding the product here?)

How we built it

We used a few cool technologies for this project:

πŸ–₯️ @opentui/corefor the terminal UI
πŸ€–Β @github/copilot-sdkfor the AI brain
πŸ“‹Β clipboardyfor clipboard access

To start the project off, we opened up the GitHub Copilot CLI.

In plan mode using Claude Sonnet 4.6, we wrote:

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.

Copilot asked me a bunch of clarifying questions, for example around the tech stack and what libraries we should use (shoutout toΒ GaborΒ in the chat for suggestingΒ OpenTUI), and from there, we had a fully thought-outΒ plan.mdfile for me to review and use!

We implemented the plan using Claude Opus 4.7 (which wasΒ recently released!) and a few minutes later, voilΓ , we had a fun little terminal UI to work with!

Screenshot of the 'Emoji List Generator.' Paste or type your bullet points below. Press CTRL + S to generate, CTRL + C to quit.

Your bullet points
- Is there a ghost here?
- Ducks quack a lot
- I would like to have a word with the moon
- Mechanical keyboards are cool
- We just launched a sick new feature
- I'd like to squish some slime

Followed by the same list, with appropriate emojis.

The project was small but mighty. In the CLI, we used some really cool tools all together:

πŸ“‹Β Plan mode
πŸ€–Β Autopilot mode
πŸ”€Β Multi-modelΒ workflow
🚩 The allow-alltools flag
πŸ™ TheΒ GitHub MCP server

If you’d like to build a project like this yourself, you can check out the docs forΒ the GitHub Copilot CLIΒ and theΒ GitHub Copilot SDKΒ today!

TheΒ emoji list generator is free and open source, just for you.

Happy building!

The post Building an emoji list generator with the GitHub Copilot CLI appeared first on The GitHub Blog.

πŸ“° Read the original article on GitHub Blog

Originally published by GitHub Blog. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.