A JavaScript library that converts standard HTTP URLs (YouTube, LinkedIn) into Native Mobile Deep Links (Custom Schemes & Android Intents).
This package is currently in active development and may not work as expected. Use at your own risk. Breaking changes may occur in future versions.
npm install universal-app-openerpnpm add universal-app-openeryarn add universal-app-openerimport { openLink } from 'universal-app-opener';
openLink('https://www.youtube.com/watch?v=dQw4w9WgXcQ');That's it! The library automatically detects your platform and opens the appropriate app or web URL.
Try it out: Live Demo
- Videos
- Profiles
- Posts
- Company Pages
- Jobs
- Profiles
- Posts
- Reels
- IGTV Videos
- General Facebook URLs (profiles, posts, pages, etc.)
- Subreddits
- User Profiles
- Tracks
- Artists
- Albums
- Playlists
- Shows
- Episodes
- Audiobooks
- User Profiles
- Chat Links (phone number)
- Chat Links with Pre-filled Text
For full usage instructions, API details, and advanced examples, see the Core Package README.
The goal of this project is to provide a lightweight, zero-dependency library that can detect platform-specific deep links from common web URLs. This enables web applications to seamlessly redirect users to native mobile apps when available, improving user experience across platforms.
- Node.js >= 22.0.0
- PNPM >= 9.0.0
- Clone the repository:
git clone <repository-url>
cd universal-app-opener- Install dependencies:
pnpm install- Start development:
pnpm devThis will start:
- The core library in watch mode
- The demo app at
http://localhost:5173
To build all packages:
pnpm buildIf you're interested in contributing in the beta phase, you can join our private Discord community: Discord Invite
For contribution guidelines, development workflow, and instructions to add new platforms, see CONTRIBUTING.md.