← All projects

pywebview-react-boilerplate

by @dzc0d3r

Archived 23

This is a simple boilerplate to help you start with pywebview and React.

About this project

pywebview-react-boilerplate This is a simple boilerplate to help you start with pywebview and React. It sets up the development environment, install dependencies, as well as provides scripts for building an executable. Stack is based on Pywebview, React (create-react-app), SASS, Pyinstaller (Windows/Linux) and Py2app (macOS). Requirements Python 3 Node virtualenv Installation This will create a virtual environment, install pip and Node dependencies. Alternatively you can perform these steps manually. On Linux systems installation system makes educated guesses. If you run KDE, QT dependencies are installed, otherwise GTK is chosen. apt is used for installing GTK dependencies. In case you are running a non apt-based system, you will have to install GTK dependencies manually. See installation for details. Usage To launch the application. To build an executable. The output binary will be produced in the dist directory. To start a development server (only for testing frontend code). To clean the developement environment, this will delete gui, dist, build directories. To eject create-react-app and tweak the configuration as you may wish.

From the project README on GitHub

Stars
23
Forks
3
License
BSD-3-Clause
Last push
1 Sept 2023

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/pywebview-react-boilerplate.svg)](https://www.madeinalgeria.dev/projects/pywebview-react-boilerplate)

Related projects