Skip to content

Add Nstdata Crawl 0.2.1 - #4142

Open
nstdata-dev wants to merge 1 commit into
langgenius:mainfrom
nstdata-dev:add-nstdata-crawl-0.2.1
Open

nstdata-dev wants to merge 1 commit into
langgenius:mainfrom
nstdata-dev:add-nstdata-crawl-0.2.1

Conversation

@nstdata-dev

Copy link
Copy Markdown

Plugin Submission

Plugin information

Submission type

  • New plugin
  • Version update

What changed

This is the first Marketplace submission for Nstdata Crawl. A Dify workflow can turn one public URL into Markdown, prepare a document for knowledge ingestion, or extract a product quote for a specific variant. All three tools use the same workspace credential. Compared with GitHub release v0.2.0, this candidate updates the support address and links the plugin notice to the Nstdata Privacy Policy. The tool implementations and dependencies are identical.

Risk level

  • Low risk
  • Medium risk
  • High risk

Required checks

  • I have read and followed the Marketplace submission requirements.
  • I have read and comply with the Plugin Development Guidelines.
  • I tested this plugin on Dify Community Edition and Dify Cloud, or documented any limitation below.
  • The package contains only files needed at runtime.
  • The package does not contain secrets, local credentials, .env files, .git directories, virtual environments, caches, logs, or IDE files.
  • The package does not contain executables or bundled binaries, or I explained why they are required below.
  • The plugin README includes setup steps, usage instructions, required APIs or credentials, connection requirements, and the source repository link.
  • The plugin includes PRIVACY.md or a hosted privacy policy, and manifest.yaml references it.
  • All user-facing text is primarily in English, with any localized README files following the i18n guidance.

Security and privacy notes

Users supply the destination URL. The plugin sends it to the hosted service, which performs arbitrary URL crawling on behalf of the workspace. The plugin runtime contacts mcp.nstdata.io over HTTPS. Dify stores the workspace key and the plugin sends it only to that host. The plugin applies input constraints before making a request. It accepts HTTP and HTTPS URLs of up to 8,192 characters, rejects embedded credentials, obvious local hostnames and non-public IP literals, and disables redirects on requests carrying the workspace key. Target DNS resolution and redirects during crawling are handled by the hosted service. Each tool submits the scrape once, applies a retrieval time budget, reads content references if needed and returns up to 32,000 Unicode characters. Errors omit upstream response bodies.

Public URLs and page contents may contain personal information. The bundled privacy notice describes the data returned to Dify, possible retention in workflow history and the hosted service’s privacy policy. Plugin support can be reached at developer@nstdata.io. Service-side data rights and deletion requests follow the contact published in the Nstdata Privacy Policy.

Local validation

Artifact Value
Review package nstdata-crawl-0.2.1.difypkg
Archive SHA-256 8daaea51c7f6e2110c6bd5c7c3633f532254890e271d44d452a9df0433935154
Dify content checksum f671009ab667868d5995fbc9c76792cf40364e83363f2e19eb387566fe2583d3

The public v0.2.1 release and source commit correspond to this archive. Its public download matched the reviewed file byte for byte. The package was built with the Dify CLI. Unit tests ran under Python 3.12 with the plugin dependencies installed. All 17 passed. Each of the 19 archived files was compared byte-for-byte with its source. Compared with the public v0.2.0 archive, four files changed: the manifest, the English and Chinese READMEs, and the privacy notice.

(cd plugin && python -m unittest discover -s tests -v)
dify plugin package ./plugin -o ./nstdata-crawl-0.2.1.difypkg
dify plugin checksum ./nstdata-crawl-0.2.1.difypkg
python3 "$TOOLKIT/validator/validate-difypkg.py" ./nstdata-crawl-0.2.1.difypkg \
  --output-dir ./validation-report --pr-body-file ./Marketplace-PR.md

The official Marketplace Toolkit (commit 83ee707c1dde758678f94a311f15b42d74f8c402) reported 0 blocking findings and 0 check execution failures. The three warning categories identified the one outbound host (mcp.nstdata.io), three pinned direct dependencies (an independent OSV query for these exact versions returned no matching advisories), and service usage billing mentioned in the privacy notice. The tools can consume Crawl credits and read displayed prices. None of the tools initiates a purchase, payment or transfer.

We tested both installation routes on self-hosted Dify Community Edition 1.20.0. The release file installed through Local Package File. In a separate workspace with no prior Nstdata installation, we selected Install → GitHub, chose v0.2.1 and the attached package, and confirmed installation. Dify recorded the source as github, the tag as v0.2.1, and the content checksum above. All three tools appeared. The English and Chinese TED templates downloaded from this tag both imported with 15 nodes. Each canvas contained two Crawl nodes referencing that exact plugin identifier. The official serverless startup check and all 17 unit tests passed using the runtime extracted from the public attachment.

Dify's GitHub version list briefly showed only v0.2.0 after publication. Using the same GitHub repository with differently capitalized organization spelling showed the new release. An unsigned package requires a workspace policy that accepts it. The tests for this version covered installation, credential rejection, tool discovery, startup and template import. The successful credentialed retrieval examples below are from the preceding version.

Reviewer notes

In Dify, open the plugin’s authorization settings and save a key with Crawl access from the Nstdata dashboard. Saving the credential checks whether tools are available. Running a scrape can consume credits from the account that owns the key.

Tool Suggested check What to inspect
Scrape webpage Use https://example.com/. Read the page heading and Markdown in text and inspect truncated.
Webpage to knowledge document Use https://pip.pypa.io/en/stable/topics/caching/. A complete retrieval returns a Markdown file and source-linked sections. A partial page yields no chunks for ingestion.
Extract product quote Use https://thepihut.com/products/raspberry-pi-pico?variant=41925332566211. Inspect the selected option, displayed price and supporting page text. Missing or ambiguous price evidence yields needs_review.

Earlier credentialed runs on Community Edition 1.20.0 used v0.2.0. The knowledge tool returned 14 source-linked sections for pip’s caching guide. The quote tool found the With Headers variant at £4.80, in stock at the time of retrieval. The European tender workflow used Scrape webpage to read procurement notices. Live pages can change. Dify Cloud has not been tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant