1 unstable release
| 0.1.0 | Dec 10, 2024 |
|---|
#78 in #page
24KB
383 lines
WWDC Video & Documentation Parser
A command-line tool to convert WWDC video pages and Apple Developer documentation to markdown format.
Installation
From Source
Clone the repository
git clone https://github.com/username/wwdc-parser
cd wwdc-parser
Build and install
cargo install --path .
From Cargo
cargo install wwdc-parser
Usage
For WWDC Videos
wwdc-parser --content-type video <video-url>
Example:
wwdc-parser --content-type video https://developer.apple.com/videos/play/wwdc2024/10091/
For Documentation Pages
wwdc-parser --content-type document <documentation-url>
Example:
wwdc-parser --content-type document https://developer.apple.com/documentation/groupactivities/
This will generate a markdown file with the content in your current directory.
Features
- Converts WWDC video pages to markdown format
- Converts Apple Developer documentation to markdown format
- Extracts titles, descriptions, and content
- Generates clean, readable markdown files
- Simple command-line interface
- Automatic file naming based on content title
Requirements
- Rust 1.70 or higher
- Internet connection to fetch content
Building from Source
- Ensure you have Rust installed
- Clone the repository
- Run
cargo build --release - The binary will be available in
target/release/
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
Author
Support
If you encounter any problems, please file an issue along with a detailed description.
Dependencies
~14–36MB
~533K SLoC