This is a Next.js project bootstrapped with create-next-app.

Getting Started

create a .env file from the .env_template file (OPTIONAL: modify as desired for your local situation)

First, run the development server:

npm run dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

WebView

The WebView feature is in active development. Workarounds:

  • Use ResizeObserver to detect changes in the height of the object element, but please note that it currently only works in Firefox due to a known bug https://bugzilla.mozilla.org/show_bug.cgi?id=1689099.

  • Use fetch to check the availability of the site, but be aware that it may not work on sites with the 'X-Frame-Options' header.

Here are some sites that work and some that do not work.

work not work
https://github.io https://google.com
https://estradax.github.io https://mixpanel.com
https://www.youtube.com/embed/lJIrF4YjHfQ?si=Wth2R4pS2NHzIjDO
https://twitter.com (display error message)

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Setting Up WebKit with Playwright

This guide will help you set up WebKit with Playwright for testing and automating web applications using the WebKit browser engine.

Prerequisites

Before getting started, make sure you have the following prerequisites installed:

Installation

  1. Create a new Node.js project or navigate to your existing project directory.

  2. Install Playwright and WebKit dependencies by running the following command:

    npm install playwright
  3. Install WebKit by running the following command npx playwright install webkit

  4. For more reference https://www.youtube.com/watch?v=W3IH7zDR_HQ

Firestore Setup

Follow these steps to set up Firestore in your project:

  1. Create a Firebase project and obtain your Firebase configuration.

  2. Update the Firebase configuration in firebaseConfig.js.

  3. Install Firebase by running the following command:

npm install firebase
  1. Install Firebase Tools by running the following command:
npm install -g firebase-tools

Usefull Resources

https://blog.sentry.io/common-errors-in-next-js-and-how-to-resolve-them/