{"id":66883,"library":"dyatlov-go-opengraph-opengraph","title":"Go OpenGraph","description":"Parses Open Graph metadata from HTML pages, extracting structured social media preview data.","status":"active","version":"0.0.0-20220524092352-606d7b1e5f8a","language":"go","source_language":null,"source_url":"https://github.com/dyatlov/go-opengraph","tags":["opengraph","metadata","html","parsing","social-media"],"install":[{"cmd":"go get github.com/dyatlov/go-opengraph/opengraph","lang":"bash","label":"Install github.com/dyatlov/go-opengraph/opengraph"}],"dependencies":[],"imports":[{"symbol":"opengraph","correct":"github.com/dyatlov/go-opengraph/opengraph"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/dyatlov/go-opengraph/opengraph\"\n)\n\nfunc main() {\n\tresp, _ := http.Get(\"https://example.com\")\n\tdefer resp.Body.Close()\n\tog := opengraph.NewOpenGraph()\n\tog.HandleHTML(resp.Body)\n\tfmt.Println(og.Title)\n}","lang":"go","description":"Fetches and parses Open Graph tags from a URL."},"warnings":[],"env_vars":null,"search_vec":"'data':15 'extract':10 'go':1 'graph':5 'html':8,18 'media':13,22 'metadata':6,17 'open':4 'opengraph':2,16 'page':9 'pars':3,19 'preview':14 'social':12,21 'social-media':20 'structur':11","created_at":"2026-06-17T17:30:12.830465+00:00","updated_at":"2026-06-17T17:30:12.830465+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dyatlov/go-opengraph","github":"https://github.com/dyatlov/go-opengraph","docs":"https://pkg.go.dev/github.com/dyatlov/go-opengraph/opengraph#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}