Conversation
laiso
force-pushed
the
rust-impl
branch
2 times, most recently
from
March 21, 2026 07:37
268f095 to
20a6b1d
Compare
Why: ISSUE.md — wget dependency removal, 5x faster conversion pipeline, single-binary distribution via PyPI wheel. - Replace Python site2skill/ with Rust src/ (reqwest/tokio crawler, scraper/htmd converter, zip packager) - Add python/ wrapper for PyPI binary distribution (sqlite-scanner pattern) - Fix path traversal vulnerability in skill structure generation - Fix url_to_file_path extension bug, unify URL scope filtering - Cache all regex with lazy_static, eliminate memory accumulation in crawler - Add 34 regression tests (15 → 49 unit + 2 doc tests) - Add benchmark tooling (scripts/generate_bench_site.py, run_benchmark.py) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add GHA release workflow: builds wheels for linux x86_64/aarch64, macOS arm64/x86_64, publishes to PyPI on tag push - Bump version to 0.2.0-beta.1 (pre-release, pip install --pre) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Rewrite the Python implementation in Rust and add PyPI binary distribution.
Background: ISSUE.md — remove wget dependency, 5x faster conversion pipeline, single-binary distribution
Changes
src/) — reqwest/tokio async crawler, scraper/htmd converter, zip packagerpython/) — thin wrapper bundling Rust binary in wheelsite2skill/,test_*.py)Benchmark (100 pages, conversion pipeline)
Test plan
cargo test— 49 tests + 2 doc tests pass, zero warningsscripts/generate_bench_site.py+--skip-fetch)pip installwheel verification🤖 Generated with Claude Code