Skip to content

Framework-agnostic, TypeScript-first media player powered by MediaBunny. Full control over rendering and UI.

Notifications You must be signed in to change notification settings

wiedymi/mediafox

Repository files navigation

MediaFox - Monorepo

GitHub Twitter Email Discord Support me

A monorepo for MediaFox, a framework-agnostic, TypeScript-first Media Player library powered by Mediabunny.

bun add @mediafox/core mediabunny

Packages

Getting Started

This is a Bun workspace monorepo. To get started:

# Install dependencies
bun install

# Build all packages
bun run build

# Run development
bun run dev

# Run type checking
bun run typecheck

# Build documentation
bun run docs:build

Workspace Structure

mediafox/
├── packages/
│   ├── mediafox/         # Core player library (@mediafox/core)
│   └── react/          # React hooks (@mediafox/react)
├── docs/               # Documentation site
├── scripts/            # Build and utility scripts
└── package.json        # Workspace configuration

Development

Adding a New Package

  1. Create a new directory under packages/
  2. Add a package.json with the package configuration
  3. Run bun install from the root to link the package

Running Commands

You can run commands for specific packages using filters:

# Run build for @mediafox/core package only
bun run --filter @mediafox/core build

# Run tests for all packages
bun run test

Documentation

Visit the documentation site for detailed guides and API references.

To run the documentation locally:

bun run docs:dev

License

MIT

Credits

Powered by Mediabunny - the powerful media processing library for the web.

About

Framework-agnostic, TypeScript-first media player powered by MediaBunny. Full control over rendering and UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published