1
0
Fork
You've already forked ocaml-ogcat
0
display metadata properties from HTML document
  • OCaml 50.2%
  • Roff 17.6%
  • Perl 14.9%
  • Raku 13.8%
  • Dune 3.5%
2025年10月16日 20:13:56 +02:00
bin cli: remove VERSION watermark for now 2024年12月28日 10:49:44 +00:00
lib visual: add all C0 and few C1 2025年03月30日 14:08:55 +02:00
test add comment on unexpected_fails.t 2025年01月23日 10:20:43 +00:00
.gitignore gitignore: add _opam 2024年12月29日 06:26:14 +00:00
.ocamlformat several changes in visual, httpc and filtering 2024年12月27日 16:02:02 +00:00
dune opam: install man page 2024年12月28日 09:27:39 +00:00
dune-project use ezcurl instead of cohttp-lwt-unix 2025年02月19日 10:28:44 +01:00
LICENSE add LICENSE file 2024年12月28日 10:36:14 +00:00
ogcat.1 man: add man page 2024年12月28日 08:28:25 +00:00
ogcat.md provide proper README.md and separated man page documentation 2024年12月28日 14:08:53 +00:00
ogcat.opam use ezcurl instead of cohttp-lwt-unix 2025年02月19日 10:28:44 +01:00
README.md readme: fix sentence 2025年10月16日 20:13:56 +02:00

ogcat

ogcat is a cli tool to display metadata properties from HTML document.

The purpose is to access easily of metadata usually contained in HTML document, without having to go through a web browser.

$ ogcat https://mstdn.fr/@fatuus/113512177529821531
og:site_name: mstdn
og:type: article
og:title: fatuus (@fatuus@mstdn.fr)
og:url: https://mstdn.fr/@fatuus/113512177529821531
og:published_time: 2024年11月19日T23:19:32Z
og:description:
 Attached: 1 image
 J'ai rigolu. Mais rigolu.... !!!
og:image: https://static.mstdn.fr/static/media_attachments/files/113/512/166/821/338/233/original/ca5d93ad503b19fd.jpg
og:image:type: image/jpeg
og:image:width: 3838
og:image:height: 2161
og:image:alt: Swaeter with written 'I only give negative feedback' next to an electronic schematics of a Operational Amplifier wired in negative
feedback setup : https://en.m.wikipedia.org/wiki/Negative_feedback

ogcat is build around:

  • ezcurl : for http client
  • lambdasoup : for parsing HTML and extracting properties

The man page is accessible at ogcat.md