Skip to content

Add icholy-ttygif devcontainer feature#165

Merged
sebst merged 3 commits intomainfrom
copilot/add-icholy-ttygif-feature
Mar 22, 2026
Merged

Add icholy-ttygif devcontainer feature#165
sebst merged 3 commits intomainfrom
copilot/add-icholy-ttygif-feature

Conversation

Copy link
Contributor

Copilot AI commented Mar 22, 2026

Adds a new community devcontainer feature that installs ttygif — a tool that converts ttyrec terminal recordings into animated GIFs.

Changes

  • src/icholy-ttygif/devcontainer-feature.json — feature manifest; exposes a version option (default: latest)
  • src/icholy-ttygif/install.sh — builds from the GitHub release source tarball (archive/refs/tags/{tag}.tar.gz) using make install PREFIX=/usr/local; installs apt dependencies gcc, make, imagemagick, ttyrec, x11-apps; locates the extracted directory via find to handle tags with or without a v prefix
  • src/icholy-ttygif/NOTES.md — documents project link, install method, and the X11 runtime requirement (xwd/WINDOWID)
  • test/icholy-ttygif/test.sh — verifies ttygif --version emits a semver string; uses WINDOWID=1 dummy value to bypass the mandatory X11 window-id check that fires before argument parsing
  • README.md — adds feature row in alphabetical order between helix-editor.com and jj-vcs.dev

Notes

ttygif has no pre-compiled binary releases — only a source tarball. The only upstream release is 1.4.0 (2016); latest resolves to it via the releases API. At runtime, ttygif requires a live X server (WINDOWID env var); it can be installed in headless containers but needs Xvfb or similar to actually generate GIFs.

Original prompt

This section details on the original issue you should resolve

<issue_title>Add feature icholy-ttygif</issue_title>
<issue_description>Files:

src/(FeatureName)/devcontainer-feature.json
src/(FeatureName)/NOTES.md
src/(FeatureName)/install.sh (make sure to set executable bit)
test/(FeatureName)/test.sh
.github/workflows/test.yaml
README.md

Releases:

https://github.com/icholy/ttygif/releases

Test the installation process extensively before submitting
Watch for files in releases, naming structure, etc.
Test CLI output extensively before writing the test file.

For NOTES.md:
Link to the project that is installed by the feature
Short description of what it does
Installation method
Other notes

Update README.md (in repo root). Add the feature, keep the alphabetical order</issue_description>

Comments on the Issue (you are @copilot in this section)


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Copilot AI changed the title [WIP] Add feature icholy-ttygif Add icholy-ttygif devcontainer feature Mar 22, 2026
Copilot AI requested a review from sebst March 22, 2026 11:55
@sebst sebst marked this pull request as ready for review March 22, 2026 11:58
Copy link
Member

@sebst sebst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test fail

Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

test fail

Fixed in aa140ce. The failure was ttygif.c:34:10: fatal error: stdio.h: No such file or directory on ubuntu:latest and debian:latestgcc alone doesn't include the C standard library headers. Replaced gcc make with build-essential which provides libc6-dev (and stdio.h).

Copilot AI requested a review from sebst March 22, 2026 12:04
@sebst sebst merged commit c695506 into main Mar 22, 2026
7 checks passed
@sebst sebst deleted the copilot/add-icholy-ttygif-feature branch March 22, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add feature icholy-ttygif

2 participants