Skip to content

Replace hostlist-compiler references with adblock-compiler#273

Merged
jaypatrick merged 4 commits intomainfrom
claude/replace-hostlist-compiler-references
Feb 9, 2026
Merged

Replace hostlist-compiler references with adblock-compiler#273
jaypatrick merged 4 commits intomainfrom
claude/replace-hostlist-compiler-references

Conversation

@Claude
Copy link

@Claude Claude AI commented Feb 9, 2026

Updated all references from the original fork name hostlist-compiler to the current project name adblock-compiler throughout the codebase.

Changes

Build & Configuration

  • deno.json: Build task output → adblock-compiler
  • .gitignore: Build artifacts → adblock-compiler, adblock-compiler.exe
  • wrangler.toml: Cloudflare Pages project → adblock-compiler-ui
  • src/schemas/configuration.schema.json: Schema ID and metadata

CLI & Source Code

  • src/cli/ArgumentParser.ts: Help text and version output
  • src/cli/CliApp.deno.ts: Help text and startup logger message
  • src/utils/headerFilter.test.ts: Test fixture data

GitHub Workflows

  • .github/workflows/ci.yml: Pages deployment project name
  • .github/workflows/release.yml: Artifact names, download patterns, release notes table
  • .github/workflows/README.md: Build command examples

Documentation & Examples

  • README.md: Installation commands, CLI usage examples (7 occurrences)
  • docs/deployment/docker.md: Docker volume mounts and CLI invocations
  • docs/deployment/cloudflare-pages.md: Pages deployment commands
  • docs/BLOG_POST_ADBLOCK_COMPILER.md: All CLI examples (5 occurrences)
  • examples/*/README.md: Installation and usage (4 files)
  • examples/cloudflare-worker/*: HTML templates and test pages
  • worker/html.ts: Redirect page

Preserved References

Historical references to @adguard/hostlist-compiler intentionally retained in:

  • README.md, CHANGELOG.md: Project origin attribution
  • docs/MIGRATION.md: Migration guide from original package
  • docs/RELEASE_0.8.0.md: "Based on" credit
# Before
deno install -n hostlist-compiler jsr:@jk-com/adblock-compiler/cli
hostlist-compiler -c config.json -o output.txt

# After
deno install -n adblock-compiler jsr:@jk-com/adblock-compiler/cli
adblock-compiler -c config.json -o output.txt
Original prompt

Replace any references to hostlist-compiler since that's the originall fork.

Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 9, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
adblock-compiler cbb0e47 Feb 09 2026, 01:51 AM

Claude AI and others added 2 commits February 9, 2026 01:50
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
Co-authored-by: jaypatrick <1800595+jaypatrick@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Replace references to hostlist-compiler Replace hostlist-compiler references with adblock-compiler Feb 9, 2026
@Claude Claude AI requested a review from jaypatrick February 9, 2026 01:52
@jaypatrick jaypatrick added the documentation Improvements or additions to documentation label Feb 9, 2026
@jaypatrick jaypatrick marked this pull request as ready for review February 9, 2026 01:54
Copilot AI review requested due to automatic review settings February 9, 2026 01:54
@jaypatrick jaypatrick merged commit 1bc68a2 into main Feb 9, 2026
14 checks passed
@jaypatrick jaypatrick deleted the claude/replace-hostlist-compiler-references branch February 9, 2026 01:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes project naming by replacing non-historical hostlist-compiler references with adblock-compiler across build/config, CLI help/version strings, CI/release workflows, docs, and examples—while keeping intentional historical references to @adguard/hostlist-compiler.

Changes:

  • Renamed CLI/build outputs and updated help/version text to adblock-compiler.
  • Updated CI/release workflows and Cloudflare Pages project naming to adblock-compiler-ui / adblock-compiler-* artifacts.
  • Refreshed documentation/examples and schema metadata to match current project naming.

Reviewed changes

Copilot reviewed 20 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
wrangler.toml Updates Pages deploy command example to adblock-compiler-ui.
worker/html.ts Updates redirect page branding/URL to “Adblock Compiler”.
src/utils/headerFilter.test.ts Updates test fixtures for “Compiled by …” header lines.
src/schemas/configuration.schema.json Updates schema $id, title, and description to new project identity.
src/cli/CliApp.deno.ts Updates CLI help examples and startup log message naming.
src/cli/ArgumentParser.ts Updates help text and --version output naming.
examples/whitelist/README.md Updates install/usage examples to adblock-compiler.
examples/sdn/README.md Updates install/usage examples to adblock-compiler.
examples/energized/README.md Updates install/usage examples to adblock-compiler.
examples/china/README.md Updates install/usage examples to adblock-compiler.
examples/cloudflare-worker/test.html Updates UI labels and worker URL references.
examples/cloudflare-worker/src/html.ts Updates embedded redirect HTML branding/URL.
docs/deployment/docker.md Updates Docker volume mounts and invocation to adblock-compiler.
docs/deployment/cloudflare-pages.md Updates Pages deploy command to adblock-compiler-ui.
docs/BLOG_POST_ADBLOCK_COMPILER.md Updates CLI examples and binary name mention.
deno.json Updates deno task build output binary name.
README.md Updates install commands, CLI examples, and help snippets to adblock-compiler.
.gitignore Updates ignored build artifact names to adblock-compiler*.
.github/workflows/release.yml Updates artifact names/patterns and release notes table to adblock-compiler-*.
.github/workflows/ci.yml Updates Pages deploy project name to adblock-compiler-ui.
.github/workflows/README.md Updates build command example output binary name.

Comment on lines +10 to +15
<title>Adblock Compiler</title>
<meta http-equiv="refresh" content="0;url=https://adblock-compiler.pages.dev">
</head>
<body>
<h1>Redirecting to Hostlist Compiler...</h1>
<p>If you are not redirected, <a href="https://hostlist-compiler.pages.dev">click here</a>.</p>
<h1>Redirecting to Adblock Compiler...</h1>
<p>If you are not redirected, <a href="https://adblock-compiler.pages.dev">click here</a>.</p>
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

The redirect URL points to https://adblock-compiler.pages.dev, but the Pages project name used elsewhere in this repo is adblock-compiler-ui (wrangler/CI/docs). Cloudflare Pages *.pages.dev subdomain is derived from the project name, so this will likely redirect to a non-existent site. Align the URL with the Pages project name (or rename the Pages project consistently).

Copilot uses AI. Check for mistakes.
Comment on lines +10 to +15
<title>Adblock Compiler</title>
<meta http-equiv="refresh" content="0;url=https://adblock-compiler.pages.dev">
</head>
<body>
<h1>Redirecting to Hostlist Compiler...</h1>
<p>If you are not redirected, <a href="https://hostlist-compiler.pages.dev">click here</a>.</p>
<h1>Redirecting to Adblock Compiler...</h1>
<p>If you are not redirected, <a href="https://adblock-compiler.pages.dev">click here</a>.</p>
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Same issue as worker/html.ts: the meta refresh and link target https://adblock-compiler.pages.dev, but the Pages project name referenced in CI/docs is adblock-compiler-ui, which implies the Pages URL should be https://adblock-compiler-ui.pages.dev (unless the project name is changed everywhere else). Please make these consistent to avoid broken redirects.

Copilot uses AI. Check for mistakes.
Comment on lines 111 to +114
'! License: https://github.com/AdguardTeam/AdguardSDNSFilter/blob/master/LICENSE',
'! Last modified: 2026-01-04T02:52:12.913Z',
'!',
'! Compiled by @adguard/hostlist-compiler v1.0.38',
'! Compiled by @jk-com/adblock-compiler v1.0.38',
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

In stripUpstreamHeaders - should handle complex upstream headers, the fixture line was changed to ! Compiled by @jk-com/adblock-compiler ..., but the test assertions still check for removal of Compiled by @adguard specifically. This makes that assertion ineffective (it will always pass regardless of whether the line was stripped). Either keep the fixture as an upstream-style @adguard/hostlist-compiler header, or update the assertion to verify that any Compiled by line is removed.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants