An open API service indexing awesome lists of open source software.

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

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
```