MCPcopy Index your code
hub / github.com/captbaritone/webamp

github.com/captbaritone/webamp @v2.3.1

repository ↗ · DeepWiki ↗ · release v2.3.1 ↗ · + Follow
3,732 symbols 8,596 edges 572 files 349 documented · 9% updated 2d ago★ 11,145132 open issues
README

gzip size Discord

Webamp

A reimplementation of Winamp in HTML5 and JavaScript with full skin support. As seen on TechCrunch, Motherboard, Gizmodo, Hacker News (1, 2, 3, 4), and elsewhere.

Screenshot of Webamp

Check out this Twitter thread for an illustrated list of features. Works in modern versions of Edge, Firefox, Safari and Chrome. IE is not supported.

Read the docs

The Webamp Documentation site contains detailed instructions showing how to add Webamp to your site and customize it to meet your needs.

About This Repository

Webamp uses a monorepo approach, so in addition to the Webamp NPM module, this repository contains code for a few closely related projects and some pieces of Webamp which are published as standalone modules:

Community

Join our community chat on Discord: https://discord.gg/fBTDMqR

Related communites:

In the Wild

An incomplete list of websites using Webamp:

Thanks

  • Butterchurn, the amazing Milkdrop 2 WebGL implementation. Built and integrated into Webamp by: jberg
  • Research and feature prototyping: @PAEz
  • Beta feedback, catching many small UI inconsistencies: LuigiHann
  • Beta feedback and insider answers to obscure Winamp questions: Darren Owen
  • Donating the webamp NPM module name: Dave Eddy

Thank you to Justin Frankel and everyone at Nullsoft for Winamp which inspired so many of us.

License

While the Winamp name, interface, and, sample audio file are surely property of Nullsoft, the code within this project is released under the MIT License. That being said, if you do anything interesting with this code, please let me know. I'd love to see it.

Development

This repository uses Turborepo for efficient monorepo management. Turborepo provides intelligent caching and parallel execution of tasks across all packages.

Quick Start

# Install dependencies
pnpm install

# Build all packages (automatically handles dependencies)
npx turbo build

# Build library bundles for packages that need them
npx turbo build-library

# Run all tests
npx turbo test

# Lint and type-check all packages
npx turbo lint type-check

# Work on a specific package and its dependencies
npx turbo dev --filter="webamp"

Package Dependencies

The monorepo dependency graph is automatically managed by Turborepo:

  • ani-cursor and winamp-eqf are standalone packages built with TypeScript
  • webamp depends on both ani-cursor and winamp-eqf for workspace linking
  • All packages are built in the correct topological order
  • Builds are cached and only rebuild what has changed

Available Tasks

  • build - Main build output (Vite for demos, TypeScript compilation for libraries)
  • build-library - Library bundles for NPM publishing (only applies to webamp)
  • test - Run unit tests with Jest
  • type-check - TypeScript type checking without emitting files
  • lint - ESLint code quality checks
  • dev - Development server (for packages that support it)

For more details on individual packages, see their respective README files.

Extension points exported contracts — how you extend this code

StereoBalanceNodeType (Interface)
(no doc) [93 implementers]
packages/webamp/js/media/index.ts
NodeResolver (Interface)
(no doc) [4 implementers]
packages/skin-database/api/graphql/resolvers/NodeResolver.ts
IWebampModern (Interface)
(no doc) [3 implementers]
packages/webamp-modern/src/WebampModernInteface.ts
Matchers (Interface)
(no doc)
packages/winamp-eqf/src/index.test.ts
Resource (Interface)
(no doc)
packages/webamp-demo/js/SuspenseImage.tsx
IMedia (Interface)
(no doc) [2 implementers]
packages/webamp/js/media/index.ts
ISkin (Interface)
(no doc) [4 implementers]
packages/skin-database/api/graphql/resolvers/CommonSkinResolver.ts
ICLoseablePopup (Interface)
(no doc) [2 implementers]
packages/webamp-modern/src/skin/makiClasses/MenuItem.ts

Core symbols most depended-on inside this repo

log
called by 248
packages/skin-database/api/types.ts
push
called by 184
packages/webamp-modern/src/maki/interpreter.ts
useActionCreator
called by 125
packages/webamp/js/hooks.ts
useTypedSelector
called by 116
packages/webamp/js/hooks.ts
dispatch
called by 115
packages/webamp-modern/src/skin/VM.ts
add
called by 75
packages/webamp/js/Disposable.ts
getBitmap
called by 71
packages/webamp-modern/src/UIRoot.ts
assertNonNull
called by 69
packages/skin-database/api/graphql/schema.ts

Shape

Method 1,881
Function 1,341
Class 380
Interface 129
Enum 1

Languages

TypeScript100%
Python1%

Modules by API surface

packages/webamp-modern/src/skin/makiClasses/SystemObject.ts170 symbols
packages/webamp-modern/src/skin/makiClasses/GuiObj.ts107 symbols
packages/webamp-modern/src/UIRoot.ts89 symbols
packages/webamp-modern/src/skin/SkinEngine_WAL.ts73 symbols
packages/webamp/js/selectors.ts68 symbols
packages/webamp-modern/src/skin/makiClasses/Slider.ts66 symbols
packages/skin-database/data/skins.ts53 symbols
packages/skin-database/data/SkinModel.ts53 symbols
packages/webamp-modern/src/skin/makiClasses/Vis.ts49 symbols
packages/webamp/js/media/index.ts43 symbols
packages/skin-database/legacy-client/src/redux/actionCreators.js43 symbols
packages/webamp/js/webampLazy.tsx42 symbols

Dependencies from manifests, versioned

@atproto/api0.17.2 · 1×
@babel/core7.17.10 · 1×
@babel/preset-env7.17.10 · 1×
@babel/preset-typescript7.16.7 · 1×
@docusaurus/core3.8.1 · 1×
@docusaurus/module-type-aliases3.8.1 · 1×
@docusaurus/preset-classic3.8.1 · 1×
@docusaurus/tsconfig3.8.1 · 1×
@docusaurus/types3.8.1 · 1×
@mdx-js/react3.0.0 · 1×
@next/third-parties15.3.3 · 1×
@rgrove/parse-xml3.0.0 · 1×

For agents

$ claude mcp add webamp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact