المشاريع
عرض على GitHub
haaarshsingh/loomix
حول
Drop-in video player component
التصميم والوسائطالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- ٠
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
Loomix
A drop-in replacement for the native HTML5 video element, with a beautifully customizable UI.
Packages
- ui:
@repo/ui— internal workspace containing theLoomixPlayerReact component source. Published publicly as theloomixnpm package and via the shadcn registry served fromapps/web/registry.
Apps
- web: official demo website and documentation (
apps/web), deployed at loomix.harshsingh.me.
Install
# via the shadcn CLI (recommended, copies the source into your project)
npx shadcn@latest add https://loomix.harshsingh.me/r/loomix-player.json
# or as a traditional npm package
npm install loomix
# or
pnpm add loomix
# or
bun add loomix
Monorepo development
Requirements: Node 20+ and Bun.
git clone https://github.com/haaarshsingh/loomix
cd loomix
bun install
# develop demo app and packages
bun run dev
# build all packages/apps
bun run build
# type-check and lint
bun run check-types
bun run lint
Scripts are powered by Turborepo and run across workspaces. See package.json and turbo.json for details.
Usage
import { LoomixPlayer } from "@/components/ui/loomix-player";
export default function Demo() {
return (
<LoomixPlayer
src="/video.webm"
youtubeUrl="https://youtu.be/dQw4w9WgXcQ"
className="aspect-video w-full max-w-4xl"
/>
);
}
Built by Harsh Singh
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…