Skip to content

riceharvest/opensourceframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenSource Framework

Maintained forks of abandoned npm packages

CI License Commitizen friendly

About

OpenSource Framework is a monorepo dedicated to maintaining forks of abandoned npm packages. We ensure these valuable tools continue to receive security updates, bug fixes, and compatibility improvements.

Packages

Package Version Description Original Package Docs
@opensourceframework/critters npm CSS optimization for Next.js critters README
@opensourceframework/next-auth npm Authentication for Next.js (v3 legacy) next-auth README, MIGRATION
@opensourceframework/next-circuit-breaker npm Circuit breaker pattern for Next.js next-circuit-breaker README
@opensourceframework/next-compose-plugins npm Compose Next.js plugins next-compose-plugins README
@opensourceframework/next-connect npm Method routing and middleware next-connect README
@opensourceframework/next-cookies npm Cookies utility for Next.js next-cookies README, MIGRATION
@opensourceframework/next-csrf npm CSRF protection for Next.js next-csrf README
@opensourceframework/next-images npm Image handling for Next.js next-images README
@opensourceframework/next-iron-session npm Session handling with iron iron-session README
@opensourceframework/next-json-ld npm JSON-LD SEO helpers next-json-ld README
@opensourceframework/next-optimized-images npm Image optimization for Next.js next-optimized-images README
@opensourceframework/next-pwa npm PWA support for Next.js next-pwa README, MIGRATION
@opensourceframework/next-seo npm SEO utilities for Next.js next-seo README, MIGRATION
@opensourceframework/next-session npm Session management for Next.js next-session README
@opensourceframework/next-transpile-modules npm Transpile modules in Next.js next-transpile-modules README, MIGRATION
@opensourceframework/react-a11y-utils npm React accessibility utilities react-a11y-utils README
@opensourceframework/react-query-auth npm Authenticate with react-query react-query-auth README
@opensourceframework/react-virtualized npm Virtualized list/grid for React react-virtualized README
@opensourceframework/seeded-rng npm Seeded random number generator seeded-rng README

Why OpenSource Framework?

Many npm packages become abandoned over time, leaving projects vulnerable to security risks and framework obsolescence. OpenSource Framework provides a "Safe Haven" for critical utilities with a focus on:

  • Legacy Preservation: We maintain "stable-forever" forks of popular versions (like NextAuth v3) that official maintainers have abandoned, ensuring legacy apps don't break as frameworks like Next.js evolve.
  • Modern Standards: Every fork is migrated to modern tooling (tsup, vitest, ESM) and strictly tested against the latest Next.js versions (including Next.js 16/17 compatibility).
  • Unified Ecosystem: A single namespace (@opensourceframework) for a collection of drop-in replacements, reducing dependency fragmentation and audit fatigue.
  • Simplicity over Complexity: While other forks (like Serwist) shift philosophies, we prioritize maintaining the original, simple APIs that developers already know and love.

Quick Start

Installation

# Using npm
npm install @opensourceframework/[package-name]

# Using yarn
yarn add @opensourceframework/[package-name]

# Using pnpm
pnpm add @opensourceframework/[package-name]

Migration from Original Packages

Simply update your imports:

- import { something } from 'original-package';
+ import { something } from '@opensourceframework/original-package';

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development

Prerequisites

  • Node.js 18+
  • pnpm 9+

Setup

# Clone the repository
git clone https://github.com/riceharvest/opensourceframework.git
cd opensourceframework

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

# Lint code
pnpm lint

License

This repository is licensed under the MIT License. Individual packages may retain their original licenses if different.

Acknowledgments

  • Original package authors for their valuable contributions
  • All contributors who help maintain these packages

Made with 💜 by the OpenSource Framework community