Conversation
There was a problem hiding this comment.
Pull Request Overview
This pull request adds support for a new distributed web scraping plugin called BlessCrawl. It introduces the BlessCrawl implementation in Rust, a JavaScript wrapper, runtime integration updates, documentation enhancements, and configuration changes.
- New Rust module and JavaScript binding for BlessCrawl.
- Runtime initialization and Cargo.toml updates for plugin integration.
- Documentation and example updates to illustrate usage.
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib.rs | Initializes and exposes the BlessCrawl plugin in the global context. |
| src/crawl/mod.rs | Implements scraping, mapping, and crawling functionality. |
| src/crawl/crawl.js | Provides a JavaScript class wrapper for BlessCrawl. |
| examples/crawl.js | Demonstrates example usage of the BlessCrawl plugin. |
| README.md | Updates to documentation and architecture diagrams. |
| Cargo.toml | Adds the crawl feature to the default features and applies a dependency patch. |
| .github/workflows/release.yml | Updates the build matrix to include the crawl feature. |
uditdc
approved these changes
Jun 25, 2025
Joinhack
approved these changes
Jun 26, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a new plugin,
BlessCrawl, for distributed web scraping.It includes changes to the codebase, configuration, and documentation to integrate and support this new functionality.
The most important changes are grouped into three themes: feature integration, configuration updates, and documentation enhancements.
Depends on: blocklessnetwork/sdk-rust#23
Feature Integration:
BlessCrawlplugin, including its implementation in Rust (src/crawl/mod.rs) and JavaScript wrapper (src/crawl/crawl.js). The plugin supports scraping webpages, mapping links, and crawling websites with customizable options. [1] [2]BlessCrawlplugin to the runtime by modifying theinitialize_runtimefunction insrc/lib.rs. This includes binding the plugin to the global context and evaluating its JavaScript module. [1] [2]examples/crawl.js, demonstrating the usage of theBlessCrawlplugin with various operations such as scraping, mapping, and crawling.Configuration Updates:
Cargo.tomlto include thecrawlfeature in the default features and added a patch for theblockless-sdkcrate..github/workflows/release.yml) to include thecrawlfeature in the build matrix.Documentation Enhancements:
README.mdto document theBlessCrawlplugin, including its purpose, integration into the architecture diagram, and a new example command for compiling JavaScript using the plugin. [1] [2] [3] [4] [5]