https://github.com/cablehead/webpage-cli
cli frontend for the `webpage` crate
https://github.com/cablehead/webpage-cli
opengraph
Last synced: over 1 year ago
JSON representation
cli frontend for the `webpage` crate
- Host: GitHub
- URL: https://github.com/cablehead/webpage-cli
- Owner: cablehead
- Created: 2024-06-27T04:43:38.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-27T12:26:22.000Z (about 2 years ago)
- Last Synced: 2025-03-25T05:05:48.080Z (over 1 year ago)
- Topics: opengraph
- Language: Rust
- Homepage: https://docs.rs/webpage/
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
Status: Useful, but it's "just a 10 line wrapper"
```
CLI frontend for [webpage](https://crates.io/crates/webpage) crate
# Usage
```nushell
~/webpage-cli: webpage-cli https://www.rust-lang.org | from json | get html.opengraph
────────────┬──────────────────────────────────────────────────────────────────────────────────────────
og_type │ website
│ ─────────────┬──────────────────────────────────────────────────────────────────────────
properties │ locale │ en_US
│ title │
│ description │ A language empowering everyone to build reliable and efficient software.
│ ─────────────┴──────────────────────────────────────────────────────────────────────────
│ ───┬──────────────────────────────────────────────────────────────┬───────────────────
images │ # │ url │ properties
│ ───┼──────────────────────────────────────────────────────────────┼───────────────────
│ 0 │ https://www.rust-lang.org/static/images/rust-social-wide.jpg │ {record 0 fields}
│ ───┴──────────────────────────────────────────────────────────────┴───────────────────
videos │ [list 0 items]
audios │ [list 0 items]
────────────┴──────────────────────────────────────────────────────────────────────────────────────────
~/webpage-cli:
```
# Install
```bash
cargo install --git https://github.com/cablehead/webpage-cli --branch main
```