2 个版本

0.1.1 2022年9月27日
0.1.0 2022年9月27日
0.0.1 2022年9月27日

#76 in #viewer

MIT 许可证

14KB
206 代码行

OGLens

OGP 查看工具

$ curl https://ogp.me | og
+-----------------+-----------------------------------------------------------------------------------------+
| property        | content                                                                                 |
+-----------------+-----------------------------------------------------------------------------------------+
| og:title        | Open Graph protocol                                                                     |
+-----------------+-----------------------------------------------------------------------------------------+
| og:type         | website                                                                                 |
+-----------------+-----------------------------------------------------------------------------------------+
| og:url          | https://ogp.me/                                                                         |
+-----------------+-----------------------------------------------------------------------------------------+
| og:image        | https://ogp.me/logo.png                                                                 |
+-----------------+-----------------------------------------------------------------------------------------+
| og:image:type   | image/png                                                                               |
+-----------------+-----------------------------------------------------------------------------------------+
| og:image:width  | 300                                                                                     |
+-----------------+-----------------------------------------------------------------------------------------+
| og:image:height | 300                                                                                     |
+-----------------+-----------------------------------------------------------------------------------------+
| og:image:alt    | The Open Graph logo                                                                     |
+-----------------+-----------------------------------------------------------------------------------------+
| og:description  | The Open Graph protocol enables any web page to become a rich object in a social graph. |
+-----------------+-----------------------------------------------------------------------------------------+

依赖关系

~8–18MB
~217K SLoC