Codespaces + paste-a-link rough spots

Open
#246 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@connabyss is already working on this.

Since Nov 14, 2026.

Assessment

This issue has not been assessed yet.

Description

Found by trying the new Codespaces button and bite --free <link> (#244, #245) in a real codespace on 2026-11-14. These get fixed together in one PR.

  1. "Do you trust the authors?" pop-up before the terminal. The codespace opens in Restricted Mode, and the terminal waits behind a "Trust Folder & Continue" dialog. A first-time visitor hits a scary security question before seeing Bite at all.
  2. The welcome hint prints its own command line. postAttachCommand in .devcontainer/devcontainer.json echoes echo; echo 'Bite is installed. Try:'; ... once as the command itself before the hint, so it looks like a glitch. Moving it into a small script (or waitFor/postStartCommand output) would print only the hint.
  3. Paste-a-link on a project that needs installing says "tests already fail". bite --free --last 10 https://github.com/pallets/click stops with importlib.metadata.PackageNotFoundError: No package metadata was found for click, because Click has to be installed first. Bite should say the plain fix: "this project needs installing first: cd && pip install -e .", and then the same Bite line again.
  4. The demo's last line doesn't fit Codespaces. bite --demo ends with "drag your project's folder into this window", which you can't do in a browser terminal. In a codespace (CODESPACES=true), suggest bite --free https://github.com/OWNER/NAME instead.

Done when: a fresh codespace opens straight to a terminal showing only the hint, bite --free on the Click link either works or prints the install line, and each fix has a test that fails without it.

Dominant language
Python
Stars
1
Forks
5
Avg merge
1h 19m
Merged PRs (30d)
191

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from connabyss/bite

All issues in connabyss/bite

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.