This is the source code for the XLRS project website (xlrs.dev), built with Next.js and OpenNext for Cloudflare Workers.
Run the development server:
npm run devOpen http://localhost:3000 with your browser.
Content is managed in src/content/ using MDX files.
src/content/docs: General documentationsrc/content/protocol: Protocol specificationsrc/content/hardware: Hardware referencesrc/content/development: Contributing guides
This project uses @opennextjs/cloudflare to deploy Next.js to Cloudflare Workers.
To build the application and the worker adapter:
npm run build:workerTo run the worker locally (emulating Cloudflare environment):
npm run previewTo deploy to Cloudflare (automatically runs the worker adapter build first):
npm run deployPlease stick to the existing structure. Use the "premium" dark theme variables defined in src/app/globals.css.