Skip to content

Monorepo for @OpenSourceFramework: A collection of resurrected and modernized Next.js/React utility packages.

License

Notifications You must be signed in to change notification settings

riceharvest/opensourceframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenSource Framework

Maintained forks of abandoned npm packages

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

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •