Skip to content
@opensite-ai

OpenSite AI

https://www.linkedin.com/company/opensite-ai
OpenSite AI Page Spped Open Source Code Libraries

OpenSite AI

High-Performance Open Source Libraries for Modern Web Development

NPM RubyGems Crates.io Website LinkedIn


About OpenSite AI

OpenSite AI is dedicated to engineering practical, high-performance tools and libraries for the global developer community. Every open source project we release is built to solve real-world problems with measurable performance gains.

Our mission is simple: give back to the developer community with production-tested tools that we know the value of—because we spent years fine-tuning them for our own high-performance website and AI platform.

Why We Open Source

Each library in our ecosystem was hand-picked from 50+ internal platform applications and modules based on how helpful it has been for us. We don't release experimental code—we release battle-tested solutions that have proven their worth in production environments serving thousands of users.


🚀 Our Performance-Centric Philosophy

Performance isn't an afterthought—it's the foundation of everything we build. Whether you're working with React hooks, Ruby gems, or Rust crates, our libraries are engineered for:

  • Speed: Optimized algorithms and minimal overhead
  • Core Web Vitals: Built to improve LCP, INP, and CLS metrics
  • Tree-Shakability: Import only what you need
  • Zero Configuration: Sensible defaults that work out of the box
  • Production-Ready: Thoroughly tested in high-traffic environments

📦 Open Source Libraries

JavaScript/TypeScript (NPM)

🚀 Performance-optimized React hooks for Core Web Vitals, responsive images, lazy loading, and resource management.

Drop-in implementations of web.dev best practices with zero configuration. Core performance tooling utilized by the high-performance OpenSite Octane™ website platform.

Key Features:

  • Core Web Vitals optimization hooks
  • Responsive image handling
  • Intelligent lazy loading
  • Resource preloading and prefetching
  • Zero-config implementation
npm install @page-speed/hooks

🚀 Ultra-high-performance React form library with field-level reactivity and tree-shakable architecture.

Type-safe form state management and validation designed for performance-critical applications.

Key Features:

  • Field-level reactivity for minimal re-renders
  • Tree-shakable exports for optimal bundle size
  • TypeScript-first with full type inference
  • Flexible validation schemas (sync and async)
  • Multiple validation modes: onChange, onBlur, onSubmit
npm install @page-speed/forms
import { useForm, Form } from '@page-speed/forms';

function MyForm() {
  const form = useForm({
    initialValues: { email: '' },
    validationSchema: {
      email: (value) => value.includes('@') ? undefined : 'Invalid email'
    },
    onSubmit: (values) => console.log('Submitted:', values)
  });

  return (
    <Form form={form}>
      <input
        name="email"
        value={form.values.email}
        onChange={(e) => form.setFieldValue('email', e.target.value)}
      />
      <button type="submit">Submit</button>
    </Form>
  );
}

Ruby (RubyGems)

🔗 Lightweight Ruby library for parsing URLs and extracting domain components with accurate multi-part TLD support.

A high-performance URL parser and domain parser that excels at domain extraction tasks. Perfect for web scraping, analytics, URL manipulation, and multi-environment domain analysis.

Key Features:

  • Accurate multi-part TLD parsing (co.uk, com.au, gov.br)
  • Nested subdomain extraction
  • Smart URL normalization
  • Query parameter parsing
  • Rails ActiveModel validator integration
  • Batch URL processing
  • IPv4 and IPv6 address detection
gem install domain_extractor
require 'domain_extractor'

result = DomainExtractor.parse('https://api.staging.example.co.uk/path?query=value')

result[:subdomain]    # => 'api.staging'
result[:domain]       # => 'example'
result[:tld]          # => 'co.uk'
result[:root_domain]  # => 'example.co.uk'
result[:host]         # => 'api.staging.example.co.uk'

Rust (Crates.io)

🧹 High-performance Rust library for removing citations from ChatGPT, Claude, Perplexity, and other AI markdown responses.

Removes inline citations, reference links, and bibliography sections with 100% accuracy. Built for AI content processing pipelines and markdown cleanup workflows.

Key Features:

  • Removes inline citations [1], [2][3], etc.
  • Strips reference link sections
  • Cleans bibliography and source sections
  • Zero-copy parsing for maximum performance
  • Comprehensive AI platform support
cargo add markdown-ai-cite-remove

🛠️ Technology Stack

Our libraries are built with modern tooling and best practices:

Platform Technologies Focus
JavaScript/TypeScript React, TypeScript, Vite Core Web Vitals, Performance Hooks
Ruby Ruby 3.x, Public Suffix List URL Parsing, Domain Extraction
Rust Zero-copy parsing, Regex High-throughput Text Processing

🎯 Use Cases

Web Performance Optimization

  • Improve Lighthouse scores and Core Web Vitals
  • Optimize React application rendering
  • Implement lazy loading and resource management

Analytics & Data Processing

  • Parse and normalize URLs at scale
  • Extract domain components for analytics pipelines
  • Process AI-generated content for downstream use

Web Scraping & Crawling

  • Handle complex multi-part TLDs accurately
  • Normalize and validate URLs
  • Extract query parameters efficiently

🤝 Contributing

We welcome contributions from the developer community! Each repository has its own contribution guidelines, but here are some general principles:

  1. Fork the repository you want to contribute to
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Reporting Issues

Found a bug or have a feature request? Please open an issue in the relevant repository with:

  • Clear description of the issue or feature
  • Steps to reproduce (for bugs)
  • Expected vs. actual behavior
  • Environment details (OS, language version, etc.)

📚 Documentation & Resources


📄 License

All OpenSite AI open source projects are released under permissive open source licenses. Check individual repositories for specific license details.


💡 About Octane™

Our open source libraries power Octane™, a high-performance visual website platform that allows businesses to dramatically improve their digital presence. The performance optimizations, hooks, and utilities you find here are the same ones driving thousands of production websites.


Built with ❤️ by the OpenSite AI team
Performance is not optional—it's essential.


Keywords

react hooks core web vitals performance optimization url parser domain extraction ruby gem rust crate npm package web performance lazy loading form validation typescript open source developer tools seo optimization pagespeed lighthouse ai tools markdown processing

Pinned Loading

  1. domain_extractor domain_extractor Public

    🔗 Lightweight Ruby library for parsing URLs and extracting domain components with accurate multi-part TLD support. Handles nested subdomains, query parameters, and URL normalization. Perfect for we…

    Ruby 6 1

  2. page-speed-hooks page-speed-hooks Public

    🚀 Performance-optimized React hooks for Core Web Vitals, responsive images, lazy loading, and resource management. Drop-in implementations of web.dev best practices with zero configuration. Core pe…

    TypeScript 2

  3. markdown-ai-cite-remove markdown-ai-cite-remove Public

    🧹 High-performance Rust library for removing citations from ChatGPT, Claude, Perplexity, and other AI markdown responses. Removes inline citations, reference links, and bibliography sections with 1…

    Rust

  4. page-speed-forms page-speed-forms Public

    🚀 Ultra-high-performance React form library with field-level reactivity and tree-shakable architecture.

    TypeScript

Repositories

Showing 7 of 7 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…