Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rk0cc/oghref_cmd
Command line tools for reviewing parsed rich information link metadata and data exchanges
https://github.com/rk0cc/oghref_cmd
command-line command-line-tool dart open-graph open-graph-protocol twitter twitter-card x
Last synced: 16 days ago
JSON representation
Command line tools for reviewing parsed rich information link metadata and data exchanges
- Host: GitHub
- URL: https://github.com/rk0cc/oghref_cmd
- Owner: rk0cc
- License: agpl-3.0
- Created: 2023-12-10T13:54:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-01T08:08:19.000Z (about 1 year ago)
- Last Synced: 2024-11-16T08:26:01.602Z (3 months ago)
- Topics: command-line, command-line-tool, dart, open-graph, open-graph-protocol, twitter, twitter-card, x
- Language: Dart
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Command line tools for reviewing parsed rich information link metadata and data exchanges
This package only serves as executable which offers as pub package and complied executable files sperately.
## Setup
### Download executable files
> [!WARNING]
> It only provides under AMD64 CPU architecture and Apple Silicon (since `0.1.1`) only, for those who uses other Dart supported CPU architecture, please consider [compile yourself](#build).Please download latest version from [releases](https://github.com/rk0cc/oghref_cmd/releases)
### Using `dart pub` command
If Dart has been installed, it can be deployed by running this command:
```console
dart pub global activate oghref_cmd
```### Edit `pubspec.yaml`
Please add `oghref_cmd` into `dev_dependencies`, **NOT `dependencies`**
```yaml
dev_dependencies:
oghref_cmd: # Copy version constraints from pub.dev
```### Build
Please get Dart SDK first and execute this commands below:
```bash
# Assume Dart binaries is defined into PATHgit clone --depth 1 --branch release https://github.com/rk0cc/oghref_cmd.git
mkdir dist
dart pub get
dart compile exe bin/oghref_cmd.dart -o dist/oghref_cmd
```## Usages
```plain
Usage: oghref_cmd [arguments]Global options:
-h, --help Print this usage information.Available commands:
info Get metadata information found in given URL
json Export fetched content in JSON format
media Print media informations of given URL
version Get version of oghref_cmd.
```For each command's usages, please type:
```console
oghref_cmd -h
```or visit [readme page in example](example/README.md).
## License
AGPL v3