MetaOxide
The Universal Metadata Extraction Library - Blazing-fast, production-ready metadata extraction from HTML in 7 programming languages.
Why MetaOxide?
MetaOxide is 200-570x faster than traditional metadata extraction libraries while extracting 13 metadata formats out of the box. Built in Rust with native bindings for Python, Go, Node.js, Java, C#, and WebAssembly.
Key Features
- 🚀 Blazing Fast: 100,000+ documents/sec (vs. 150-500 for alternatives)
- 🌍 Universal: 7 language bindings from a single Rust core
- 📦 Comprehensive: 13 metadata formats (Open Graph, Twitter Cards, JSON-LD, Microformats, etc.)
- 💪 Production-Ready: 16,500+ lines of code, 700+ tests, battle-tested
- 🧠 Memory Efficient: 4-9x less memory than alternatives
- 🔒 Type-Safe: Strong typing across all languages
- 🔧 Easy to Use: Simple API, extensive documentation
Quick Start
Rust
use MetaOxide;
let html = r#"<!DOCTYPE html>..."#;
let extractor = new?;
let metadata = extractor.extract_all?;
println!;
→ Full Rust Guide | API Reference
Python
=
=
=
Performance: 233x faster than BeautifulSoup
→ Full Python Guide | API Reference
Go
import metaoxide "github.com/yourusername/meta-oxide-go"
extractor, _ := metaoxide.NewExtractor(html, "https://example.com")
defer extractor.Free()
metadata, _ := extractor.ExtractAll()
fmt.Printf("Title: %v\n", metadata["title"])
Only Go library with 13 metadata formats
→ Full Go Guide | API Reference
Node.js
const = require;
const html = '<!DOCTYPE html>...';
const extractor = ;
const metadata = extractor.;
console.log;
Performance: 280x faster than metascraper
→ Full Node.js Guide | API Reference
Java
com.metaoxide
meta-oxide
0.1.0
try
Performance: 311x faster than jsoup + Any23
→ Full Java Guide | API Reference
C#
using var extractor = new MetaOxideExtractor(html, "https://example.com");
var metadata = extractor.ExtractAll();
Console.WriteLine($"Title: {metadata["title"]}");
Performance: 200x faster than HtmlAgilityPack
→ Full C# Guide | API Reference
WebAssembly
import init from 'meta-oxide-wasm';
await ; // Initialize WASM
const extractor = ;
const metadata = extractor.;
console.log;
Performance: 260x faster than native JavaScript parsers
→ Full WASM Guide | API Reference
Supported Metadata Formats
MetaOxide extracts 13 metadata formats out of the box:
| Format | Description | Adoption | Use Cases |
|---|---|---|---|
| Basic HTML | title, description, keywords, canonical | 100% | SEO, browser display |
| Open Graph | og:* properties | 60%+ | Social media sharing (Facebook, LinkedIn, WhatsApp) |
| Twitter Cards | twitter:* meta tags | 45% | Twitter/X link previews |
| JSON-LD | Structured data (schema.org) | 41%↗️ | Google Rich Results, AI/LLM training |
| Microdata | itemscope, itemprop | 26% | E-commerce, recipes, reviews |
| Microformats | h-card, h-entry, h-event | 15% | Distributed social web, contacts |
| Dublin Core | DC metadata | 8% | Digital libraries, archives |
| RDFa | RDF in attributes | 5% | Linked data, semantic web |
| RelLinks | Link relations | 100% | Canonical URLs, alternate versions |
| Web Manifest | PWA manifest | 12% | Progressive web apps |
| Images | Image metadata | 100% | Image alt text, dimensions |
| Authors | Author information | 80% | Authorship, copyright |
| SEO | Robots, language, viewport | 100% | Search engine optimization |
Performance Comparison
MetaOxide is dramatically faster than traditional libraries:
Throughput (documents/second)
| Library | Language | Docs/Sec | vs MetaOxide |
|---|---|---|---|
| MetaOxide | Rust | 125,000 | 1x (baseline) |
| MetaOxide | Python | 83,333 | 233x faster than BeautifulSoup |
| MetaOxide | Go | 100,000 | N/A (only option with 13 formats) |
| MetaOxide | Node.js | 66,666 | 280x faster than metascraper |
| MetaOxide | Java | 55,555 | 311x faster than jsoup |
| MetaOxide | C# | 62,500 | 200x faster than HtmlAgilityPack |
| MetaOxide | WASM | 40,000 | 260x faster than JS parsers |
| BeautifulSoup | Python | 357 | - |
| metascraper | Node.js | 238 | - |
| jsoup + Any23 | Java | 178 | - |
| HtmlAgilityPack | C# | 312 | - |
Real-World Impact
Processing 1 million e-commerce product pages:
| Solution | Time | CPU Hours | AWS Cost |
|---|---|---|---|
| MetaOxide | 22 seconds | 0.006 | $0.0012 |
| BeautifulSoup | 140 minutes | 2.33 | $0.47 |
| Savings | 381x faster | 388x less | 391x cheaper |
Real-World Examples
Python: Flask API
=
=
=
=
=
return
Node.js: Express Server
const express = require;
const axios = require;
const = require;
const app = ;
app.;
app.;
Go: Concurrent Processing
func extractConcurrently(urls []string) []Metadata
Architecture
MetaOxide is built on a multi-layer architecture for maximum performance and compatibility:
┌─────────────────────────────────────────────────────────┐
│ Application Layer (Your Code) │
│ Rust, Python, Go, Node.js, Java, C#, WebAssembly │
└──────────────────┬──────────────────────────────────────┘
│
┌──────────────────▼──────────────────────────────────────┐
│ Language Bindings │
│ PyO3, CGO, N-API, JNI, P/Invoke, wasm-bindgen │
└──────────────────┬──────────────────────────────────────┘
│
┌──────────────────▼──────────────────────────────────────┐
│ C-ABI Layer (Stable Foreign Function Interface) │
└──────────────────┬──────────────────────────────────────┘
│
┌──────────────────▼──────────────────────────────────────┐
│ Rust Core (16,500+ lines) │
│ • HTML Parser (html5ever) │
│ • 13 Metadata Extractors │
│ • URL Resolution & Utilities │
└─────────────────────────────────────────────────────────┘
Key Design Principles:
- Single Parse: HTML parsed once, shared across all extractors
- Zero-Copy: Minimize memory allocations
- Type-Safe: Rust memory safety guarantees
- Thread-Safe: Concurrent extraction support
- Language-Native: Idiomatic APIs for each language
Feature Matrix
| Feature | Rust | Python | Go | Node.js | Java | C# | WASM |
|---|---|---|---|---|---|---|---|
| Basic Meta | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Open Graph | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Twitter Cards | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| JSON-LD | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Microdata | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Microformats | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Dublin Core | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| RDFa | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| All 13 Formats | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Type Hints | ✓ | ✓ | ✓ | ✓ (TS) | ✓ | ✓ | ✓ (TS) |
| Async Support | ✓ | ✓* | ✓ | ✓* | ✓ | ✓ | ✓* |
| Thread-Safe | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Memory-Safe | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
*Extraction is synchronous, but compatible with async I/O
Use Cases
Web Scraping
Extract metadata from millions of pages efficiently:
# Process 1M pages in 12 seconds (vs. 46 minutes with BeautifulSoup)
=
SEO Tools
Analyze metadata for SEO optimization:
const og = extractor.;
const twitter = extractor.;
const jsonld = extractor.;
// Check for missing or malformed metadata
Social Media Preview
Generate link previews like Facebook/Twitter:
og, _ := extractor.ExtractOpenGraph()
fmt.Printf("Title: %s\n", og.Title)
fmt.Printf("Image: %s\n", og.Image)
fmt.Printf("Description: %s\n", og.Description)
AI/ML Training Data
Extract structured data for machine learning:
let jsonld = extractor.extract_jsonld?;
let microdata = extractor.extract_microdata?;
// Feed to AI models for training
E-commerce
Extract product metadata:
List products ;
for
Browser Extensions
Client-side metadata extraction:
import init from 'meta-oxide-wasm';
await ;
const html = document..;
const extractor = ;
const metadata = extractor.;
Documentation
Getting Started
API References
Performance
Architecture
Help
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Development Setup
# Clone repository
# Build Rust core
# Run tests
# Build language bindings
# Python
&&
# Go
&&
# Node.js
&& &&
# Java
&&
# C#
&&
# WASM
&&
Roadmap
v0.2.0 (Q1 2026)
- Plugin system for custom extractors
- Async Rust API
- iOS support (Swift bindings)
- Streaming parser for infinite documents
v0.3.0 (Q2 2026)
- ML-based metadata extraction
- Metadata quality scoring
- PDF metadata extraction
- REST/GraphQL API server
v1.0.0 (Q3 2026)
- Stable API
- Long-term support
- Enterprise features
License
MetaOxide is released under the MIT License.
MIT License
Copyright (c) 2025 MetaOxide Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Sponsors
MetaOxide is an open-source project. Consider sponsoring to support development:
Community
- GitHub: https://github.com/yourusername/meta_oxide
- Discussions: https://github.com/yourusername/meta_oxide/discussions
- Issues: https://github.com/yourusername/meta_oxide/issues
- Discord: https://discord.gg/metaoxide
- Twitter: @metaoxide
Acknowledgments
MetaOxide builds on excellent open-source projects:
- html5ever - HTML5 parser
- scraper - HTML scraping
- PyO3 - Python bindings
- wasm-bindgen - WebAssembly bindings
Made with ❤️ by the MetaOxide team
Star ⭐ this repository if you find it useful!