← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Emacs Workflow Automates GitHub Issue Management via gh CLI

New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Automated GitHub issue management within Emacs.
  • Uses GitHub CLI (gh) for authentication and API interaction.
  • Leverages Emacs packages like Transient and vtable for UI.
  • Translates Org to Markdown using ox-gfm.

Automating GitHub Issue Management

The author describes automating a previously manual process of copying GitHub issue details into Emacs Org Agenda files. This automation also includes the ability to create new GitHub issues directly from Emacs, minimizing the need to switch to a web browser.

The manual process involved copying issue titles and descriptions, which served as a scratchpad for notes and drafting follow-up comments before posting them publicly on GitHub.

Automation Requirements and Constraints

Key requirements for the automation included easily copying GitHub issues as Org tasks with metadata, working primarily from Emacs, expressing thoughts in Org syntax, and creating new GitHub issues. A crucial requirement was to avoid dealing with GitHub authentication directly within Emacs.

The author also aimed to avoid installing or writing a full-featured GitHub client and to minimize complex synchronization logic between local Emacs state and GitHub's server state, with a goal to complete the project within a week.

Leveraging GitHub CLI for Integration

The solution leverages the existing GitHub command-line utility, `gh`. This approach delegates GitHub authentication to `gh`, eliminating the need for Emacs to handle it directly. Emacs treats `gh` as a REST service to interact with the GitHub API.

This strategy simplifies the integration by relying on a robust external tool for core GitHub interactions.

Emacs Tooling and Packages

The automation utilizes several Emacs Lisp packages to build the user interface and handle data transformations. The Transient package is used for creating interactive menus, while the Variable Pitch Table (vtable) package handles display.

For translating Org mode content into GitHub Flavored Markdown (GFM), the `ox-gfm` package is employed, ensuring compatibility when posting comments or descriptions to GitHub.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Nov 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Primary sources

GitHub kickingvegas/fj

Reporting from

A developer automated the process of copying GitHub issues into Emacs Org Agenda and creating new GitHub issues directly from Emacs. This workflow leverages the GitHub command-line utility (gh) for API interaction and authentication, demonstrating Emacs's malleable computing capabilities.