Welcome to the Lynx documentation! We will create a Lynx project and start developing.
We use Rspeedy(a Rspack-based Lynx build tool) to build a Lynx project.
It is recommended to start a new project using create-rspeedy
,
which sets up everything automatically for you. To create a project, run:
After the prompts, create-rspeedy
will create a folder with your project name.
Lynx Explorer is a sandbox for trying out Lynx quickly.
We currently only provides pre-built binaries for iOS simulator. If you need to run Lynx Explorer on a real iOS device, you'll need to build it from source. Please refer to the Build Lynx Explorer for iOS guide.
Open up the Mac App Store, search for Xcode, and click Install (or Update if you have it already).
Download LynxExplorer-arm64.app.tar.gz
.
Then, extract the downloaded archive:
Open Xcode, choose Open Developer Tool from the Xcode menu. Click the Simulator to launch one. Drag "LynxExplorer-arm64.app" into it.
You will see a QR code showing up in the terminal, scan with your Lynx Explorer App or if you are using the simulator, just copy the bundle URL and past it on the "Enter Card URL" input in the Lynx Explorer App and hit "Go".
Open the src/App.tsx
file in your code editor and make a change.
You should see the UI on your Lynx Explorer being updated automatically.
Visit Lynx DevTool to download and open the Lynx DevTool desktop application. Use a USB cable to connect the debugging device, and start debugging.
Visit Debugging, learn how to debug your Lynx app.
Here are a few things that we recommend exploring next. You can read them in any order.
ReactLynx is the official React framework designed specifically for Lynx, offering a familiar and idiomatic React development experience.
Lynx makes it easy to create rich UI using familiar Web technology. Learn how to describe UI in the Lynx engine.
Learn how to integrate Lynx with existing iOS/Android/Web Apps.