https://github.com/yeonv/ledfx-vitron
https://github.com/yeonv/ledfx-vitron
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yeonv/ledfx-vitron
- Owner: YeonV
- License: mit
- Created: 2022-06-02T20:34:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-02T20:34:56.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T07:28:31.222Z (4 months ago)
- Language: TypeScript
- Size: 410 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vitron | SuperCharged Starter
[](https://www.electronjs.org/)
[](https://www.electronjs.org/) [](https://reactjs.org/) [](https://www.typescriptlang.org/) [](mui.com) [](https://github.com/pmndrs/zustand)
![]()
## Overview
click to show
- based on [vite-react-electron](https://github.com/caoxiemeihao/vite-react-electron)
(check the readme!)- inspired by [Nextron](https://github.com/saltyshiomix/nextron)
- implemented [custom-electron-titlebar](https://github.com/AlexTorresSk/custom-electron-titlebar)
(activate/deactivate via package.json)- added Nextron's [IPC communication example](https://github.com/saltyshiomix/nextron/tree/main/examples/ipc-communication)
(for sync and async messaging)- implemented [Material UI](https://mui.com/material-ui/react-button/)
(incl. ThemeProvider & dynamic createTheme)- implemented [Zustand](https://github.com/pmndrs/zustand/)
(incl. typed store via Typescript)
- implemented [React Router](https://reactrouter.com/)- created example for included electron-store
(incl. sync & IPC-messagning)- created proper Dark Mode, handling mui-Theme AND nativeTheme!
(activate custom titlebar for awesome synergy)- added scripts to start and build the inner react project isolated
## Tutorial
1. Init Project
```sh
yarn create vitron
```

2. push it to your github
*optional but highly recommended to enjoy awesome features
3. Make some changes & push it
i.e. edit `package.json` and change author
When pushing to github, the start of your commit message is important:
## Git-Actions
- If your commit message starts with "Release " then win, mac & linux binaries will be created and a new release is made based on your version set inside package.json, and including all commit-messages from last release to this release are added as release-text: [like this](https://github.com/YeonV/Vitron/releases/tag/0.0.3)
- If your commit message startes with "web:", the inner react app is available under your [repo's github-pages](https://yeonv.github.io/Vitron/)
- If your commit message startes with "dev:" then this message will be excluded for the next release-text
4. Enjoy auto-generated releases with precompiled binaries for mac, win & linux

## Screens
click to show
|darkmode-app| lightmode-app| darkmode-web | lightmode-web|
|:-------:|:-------:|:------------:|:------------:|
|[](https://user-images.githubusercontent.com/28861537/164577641-6264ac42-c9a7-4859-a307-4bdcbf00321d.png)|[
](https://user-images.githubusercontent.com/28861537/164577765-eb489963-cc7c-4f82-a126-7f1582574930.png)|[
](https://user-images.githubusercontent.com/28861537/162574323-385248b7-7f74-4edf-953d-150ec61c17e4.jpg)|[
]()|
---
[](https://discord.com/invite/TGnJrrgQ)
---[](https://github.com/YeonV) [](https://github.com/YeonV)