{"id":16231307,"url":"https://github.com/wave-play/pilot","last_synced_at":"2025-08-23T11:05:19.939Z","repository":{"id":59403039,"uuid":"537116192","full_name":"Wave-Play/pilot","owner":"Wave-Play","description":"Next.js for Expo \u0026 React Native","archived":false,"fork":false,"pushed_at":"2023-02-25T06:43:38.000Z","size":5000,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-19T05:57:23.990Z","etag":null,"topics":["expo","hooks","locale","nextjs","pilot","react","react-native","router","routing","ssr","waveplay"],"latest_commit_sha":null,"homepage":"https://pilot.waveplay.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wave-Play.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-15T16:35:32.000Z","updated_at":"2025-08-01T12:58:05.000Z","dependencies_parsed_at":"2024-10-10T13:05:12.450Z","dependency_job_id":"1e899db9-97c8-4af4-bc86-8998d832aa75","html_url":"https://github.com/Wave-Play/pilot","commit_stats":{"total_commits":351,"total_committers":5,"mean_commits":70.2,"dds":"0.18233618233618232","last_synced_commit":"eb698896aba95c43a0361213264010aa9ec2dca1"},"previous_names":[],"tags_count":140,"template":false,"template_full_name":null,"purl":"pkg:github/Wave-Play/pilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wave-Play%2Fpilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wave-Play%2Fpilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wave-Play%2Fpilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wave-Play%2Fpilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wave-Play","download_url":"https://codeload.github.com/Wave-Play/pilot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wave-Play%2Fpilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746755,"owners_count":24813580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expo","hooks","locale","nextjs","pilot","react","react-native","router","routing","ssr","waveplay"],"created_at":"2024-10-10T13:05:07.371Z","updated_at":"2025-08-23T11:05:19.795Z","avatar_url":"https://github.com/Wave-Play.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pilot.waveplay.dev\"\u003e\n    \u003cpicture\u003e\n\t\t\t\u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/Wave-Play/pilot/canary/docs/public/logo-round.png\"\u003e\n      \u003cimg src=\"https://raw.githubusercontent.com/Wave-Play/pilot/canary/docs/public/logo-round.png\" height=\"128\"\u003e\n    \u003c/picture\u003e\n    \u003ch1 align=\"center\"\u003ePilot.js\u003c/h1\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![GitHub license](https://img.shields.io/github/license/Wave-Play/pilot?style=flat)](https://github.com/Wave-Play/pilot/blob/main/LICENSE) [![Tests](https://github.com/Wave-Play/pilot/workflows/CI/badge.svg)](https://github.com/Wave-Play/pilot/actions) ![npm](https://img.shields.io/npm/v/@waveplay/pilot) [![minizipped size](https://badgen.net/bundlephobia/minzip/@waveplay/pilot)](https://bundlephobia.com/result?p=@waveplay/pilot)\n\n**Next.js for Expo \u0026 React Native**\n\nCustomizable, fast, and lightweight drop-in support for **[Next.js](https://nextjs.org/)** on native platforms\n\n\u003c/div\u003e\n\n\n## Documentation\n\nVisit [https://pilot.waveplay.dev/docs](https://pilot.waveplay.dev/docs) to view the full documentation.\n\n## Quick start\n\nCreate a new Pilot.js app via our interactive CLI:\n\n```bash\nnpx create-pilot-app\n```\n\nThis will guide you through a short customization process and create a fully working template.\n\n## Adding to an existing project\n\nInstall the package:\n\n```bash\nnpm install @waveplay/pilot\n```\n\nWe assume you already have a working project with Expo and Next.js. If not, follow their respective guides:\n\n- [Expo - Get started](https://docs.expo.dev/get-started/create-a-new-app/)\n- [Next.js - Getting Started](https://nextjs.org/docs/getting-started)\n- [Next.js - examples/with-expo](https://github.com/vercel/next.js/tree/canary/examples/with-expo)\n\nYou can either let Pilot.js [manage your app's entry](https://pilot.waveplay.dev/docs/managed-entry.md) or you can use the `\u003cPilotArea\u003e` component directly. The latter is useful if you need additional customization.\n\n#### A) Managed AppEntry\n\nEdit your `app.json` to include the following:\n\n```json\n{\n  \"expo\": {\n    \"entryPoint\": \"node_modules/@waveplay/pilot/AppEntry.js\"\n  }\n}\n```\n\n#### B) Custom AppEntry\nUpdate your `App.js` entry component to render `PilotArea`.\n\n```jsx\nimport { loadEnv } from '@waveplay/pilot/env'\nimport { PilotArea } from '@waveplay/pilot/ui'\n\n// Loads public environment variables\nloadEnv()\n\nconst App = () =\u003e {\n  // ... your code\n\n  return (\n    \u003cPilotArea/\u003e\n  )\n}\nexport default App\n```\n\nYou're now ready to use **Pilot.js**! Use it like you would use Next.js.\n\n## Usage\n\nPilot.js relies on the built-in CLI to detect pages and routes.\n\n#### Build\n\nThe `build` command will prepare your project. You **must** run this before you can use the `start` command or routing may not work.\n\n```bash\npilot build\n```\n\n#### Development\n\nThe `dev` command will start a development server on native + web.\n\n```bash\npilot dev\n```\n\nThis will:\n1. Start a Next.js development server\n2. Build Pilot.js \u0026 link to your local Next.js server\n3. Start an Expo development server\n\n## Basic usage\n\nYou can use **Pilot.js** the same way as **Next.js**, except it now also works on React Native and Expo projects!\n\n```ts\n// const router = useRouter();\nconst pilot = usePilot();\n\n// router.push('/dashboard');\npilot.fly('/dashboard'); // or pilot.push('/dashboard');\n```\n\n## Credits\n\nThis project was originally developed as an internal router for [WavePlay](https://waveplay.com).\n\n## License\n\nThe MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwave-play%2Fpilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwave-play%2Fpilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwave-play%2Fpilot/lists"}