playfulprogramming / playfulprogramming/hoof

Modify url-metadata to follow redirects

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

@femincan is already working on this.

Since Mar 19, 2026.

backend
Dominant language
TypeScript
Stars
9
Forks
7
Avg merge
1d 2h
Merged PRs (30d)
23

Description

fetchAsBotStream is used to read only the HTML <head> of pages when fetching URL metadata.

This method currently ignores the response status and does not follow any redirects for the URL. Instead, we want it to follow an input number of redirects, and otherwise fail if a non-200 status is received.

See: undici Dispatcher.stream documentation (onInfo might be the best approach to this?)

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.