Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Add T3 Code image, Unraid template, build and bump workflows - #1

Merged
OriginalByteMe merged 4 commits into
mainfrom
initial-template
Oct 30, 2026
Merged

OriginalByteMe merged 4 commits into
mainfrom
initial-template

Conversation

@OriginalByteMe

Copy link
Copy Markdown
Owner

Adds everything the repository needs to run T3 Code headless on Unraid and to submit it to Community Apps, following the layout of unraid-orca.

  • Image (Dockerfile, entrypoint.sh): Ubuntu 24.04 with T3 Code 0.1.5's self-contained Linux build, checked against the release's SHA256SUMS, plus:

    • the libraries and fonts T3's headless browser loads (the list t3 browser setup installs), with T3CODE_SERVER_BROWSER_SANDBOX=0 because Docker's seccomp profile blocks Chrome's sandbox;
    • the Docker CLI, gh, tailscale and virsh;
    • Node 24 and Bun (baseline build);
    • zsh, fish, tmux and python3.

    It starts as root so Unraid's Use Tailscale hook can run, then runs t3 serve --host 0.0.0.0 --port 3773 /projects as 99:100. On start it sets the shell and Oh My Zsh, clones GIT_REPOS into /projects and adds each to T3 Code with t3 project add (an already-added repo is skipped), installs AGENTS by name, and joins the group of any mapped Docker or libvirt socket.

  • Template (templates/t3code.xml): the same settings as Orca's minus the pairing address, --shm-size=1g for the browser, Use Tailscale defaults (hostname t3code, state in the Data folder), and a <Changes> changelog.

  • Pairing: in bridge mode T3 builds its pairing links from the container's address and has no setting to change it, so the README has users run t3 pair in the Console and paste the token into the WebUI or the apps' Add environment.

  • Workflows: build.yml builds and smoke-tests every push. A push to main publishes :<version> and :latest to GHCR and to Docker Hub (originalbyteme/unraid-t3code, where Community Apps reads Last Update), skipping a registry that already has the version. t3-bump.yml checks T3 Code's stable releases every 6 hours and opens a pull request per new release.

  • ca_profile.xml with my profile, the icon (T3 Code's, under its MIT license), the README and the MIT license.

How this was proven

  • CI run 41025749033 on 65b117e, all steps green:
    • lint and build (t3 v0.1.5);
    • PUID=1234 PGID=4321 gives 1234:4321;
    • docker ps works through a mapped socket;
    • AGENTS='OMP, claude' installs both, printing omp/18.14.0 and 2.1.314 (Claude Code);
    • the Chrome build T3 0.1.5 downloads renders a page inside the image without the sandbox;
    • with GIT_REPOS=octocat/Hello-World, the server is ready twice across a restart, the repo is added once, /api/projects answers 401 unauthenticated, and a token from t3 auth pairing create gets a browser session that lists /projects/Hello-World;
    • zsh with Oh My Zsh is the account's shell.
  • The WebUI paste flow, run locally against a real t3 serve in a browser: / redirects to /pair, and a pasted token opens the app with the project listed.
  • The Publish script, run against a stub docker in six cases: a first push to main pushes both tags to both registries, later pushes skip a registry that has the version, a manual run on a branch pushes only the version tag, and an empty DOCKERHUB_TOKEN fails the step. The secret is set, and Docker Hub grants push on originalbyteme/unraid-t3code with it.

Not proven yet: a real push to either registry (this merge does the first), running it on Unraid with Use Tailscale and its HTTPS proxy, and the bump workflow on main.

Merging this

Merging publishes 0.1.5 and :latest and turns on the bump schedule. The icon, README and template URLs point at main, so they only resolve after the merge.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T08:25:33.865318Z 65b117e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@OriginalByteMe
OriginalByteMe merged commit c44448c into main Oct 30, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant