All Projects → AlbericoD → overwolf-modern-react-boilerplate

AlbericoD / overwolf-modern-react-boilerplate

Licence: MIT License
OMRB is a free and open source opinionated boilerplate based on React that helps developers create fast, modular and modern overwolf app.

Programming Languages

typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to overwolf-modern-react-boilerplate

Indicium-Supra
DirectX API-hooking framework
Stars: ✭ 292 (+1290.48%)
Mutual labels:  games, overlay
Driver.js
A light-weight, no-dependency, vanilla JavaScript engine to drive the user's focus across the page
Stars: ✭ 13,154 (+62538.1%)
Mutual labels:  overlay, overlays
retropie-overlays
Console overlays set for Retropie & Recalbox
Stars: ✭ 54 (+157.14%)
Mutual labels:  overlay, overlays
Crossover
🎯 A Crosshair Overlay for any screen.
Stars: ✭ 187 (+790.48%)
Mutual labels:  games, overlay
Boundary
Boundary is a CSS+Javascript library for Chrome extension developers to easily create HTML elements that won’t affect or be affected by the current webpage’s CSS. Strongly recommended if you are considering adding a sticker, a sidebar or any overlay box using content script.
Stars: ✭ 59 (+180.95%)
Mutual labels:  overlay, overlays
PICO-EC
A tiny scene-entity-component library created for the PICO-8 fantasty console.
Stars: ✭ 37 (+76.19%)
Mutual labels:  games
Roguelike
A text based Rogue Like game I made to teach myself Ruby.
Stars: ✭ 19 (-9.52%)
Mutual labels:  games
FCEUX-Lua-Script-Collection
Lua scripts for FCEUX (an NES emulator). Multiple games including River City Ransom, Battle Kid
Stars: ✭ 20 (-4.76%)
Mutual labels:  games
pf4j-update
Update mechanism for PF4J
Stars: ✭ 56 (+166.67%)
Mutual labels:  modularity
mnimi
🎲 Mnimi (A Game of Memory Skill)
Stars: ✭ 15 (-28.57%)
Mutual labels:  games
lightsout
🎲 Lights Out Game
Stars: ✭ 23 (+9.52%)
Mutual labels:  games
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (+52.38%)
Mutual labels:  overlay
react-redux-semantic-ui
A starter boilerplate for a universal webapp using react, redux, express and feathers with Semantic UI theme
Stars: ✭ 39 (+85.71%)
Mutual labels:  redux-devtools
brother-overlay
Portage overlay for Brother printer and scanner software
Stars: ✭ 27 (+28.57%)
Mutual labels:  overlay
yoru.
A black Substratum theme for Samsung Oreo only.
Stars: ✭ 21 (+0%)
Mutual labels:  overlays
GetFreeGames
Python script to search and find free games using Steam's API and to claim them using ASF's IPC API.
Stars: ✭ 18 (-14.29%)
Mutual labels:  games
marcizhu
An interactive chess game in a README file!
Stars: ✭ 37 (+76.19%)
Mutual labels:  games
unity-ui-manager
🎫 A Simple UI Manager for rapid prototyping and ease of collaboration
Stars: ✭ 44 (+109.52%)
Mutual labels:  modularity
image-checker
Provides image optimisation information within the browser
Stars: ✭ 14 (-33.33%)
Mutual labels:  overlays
awesome-game-design
A comprehensive list of Game Design related learning materials, examples and tools.
Stars: ✭ 43 (+104.76%)
Mutual labels:  games

Overwolf Modern React Boilerplate

OMRB is released under the MIT license. PRs welcome! Publish NPM Package

Quickstart · Project structure · Overwolf Custom Hooks · Remote Debug · Contribution ·

This is the official Overwolf Modern React Boilerplate template for Create React App.

OMRB is a free and open source opinionated boilerplate based on React that helps developers create fast, modular and modern overwolf app.

Technology

React JS · Redux ToolKit · I18next · Redux Devtools - Remote · Overwolf Api

  • Use a Modern Stack for Every App. Create a uniform workflow for you and your team without ejecting the Create React App code.

  • Internationalization. Support for multiple languages without having to change code.

  • Performance Is Baked In. Custom hooks with functions and variables memoized for common uses in overwolf development.

  • Build. Folders and structure ready for use in the overwolf store.

  • CI/CD - Experimental continuous development, continuous testing, continuous integration, continuous deployment


🚀 Quick Start

Prerequisites

To use this template, add --template overwolf-typescript-redux when creating a new app.

For example:

npx create-react-app my-app --template overwolf-typescript-redux

# or

yarn create react-app my-app --template overwolf-typescript-redux

For more information, please refer to:

📸 Screenshot

In this version the project is configured and ready to test with the Hearthstone game, you can use the template, compile and test without modifying anything to understand the development flow.

Desktop Window

Desktop Window

InGame Window - 1

Desktop Window

InGame Window - 2

Desktop Window

💼 Project structure - Feature Folder.

Folder-by-type only works on small-scale projects. Folder-by-feature is superior in the majority of cases, is better due to its scalability, stands out in high modularity and cohesion. It allows us to play with the components' scope.

.
|--- public
|    |--- app/
|    |-------IconMouseNormal.png
|    |-------IconMouseOver.png
|    |-------TaskbarIcon.png
|    |-------desktop-icon.ico
|    |-------manifest.json
|    |--- store/
|    |-------description.txt
|    |-------store.json
|    |--- index.html
|--- src
|    |--- app/
|    |-------App.css
|    |-------App.tsx
|    |-------constants.ts
|    |-------CurrentPage.tsx
|    |-------rootReducer.ts
|    |-------store.ts
|    |----utils/*/**/.ts
|    |--- components/*/**.tsx
|    |--- features/*/**.tsx
|    |--- typings/*/**.d.ts
|    |--- locales/
|    |-----------de/**/*.json
|    |-----------de/index.ts
|    |-----------en/**/*.json
|    |-----------en/index.ts
|    |-----------es/**/*.json
|    |-----------es/index.ts
|    |-----------fr/**/*.json
|    |-----------fr/index.ts
|    |-----------it/**/*.json
|    |-----------it/index.ts
|    |-----------ko/**/*.json
|    |-----------ko/index.ts
|    |-----------pl/**/*.json
|    |-----------pl/index.ts
|    |-----------pt/**/*.json
|    |-----------pt/index.ts
|    |-----------ru/**/*.json
|    |-----------ru/index.ts
|    |-----------tr/**/*.json
|    |-----------tr/index.ts
|    |-----------index.ts
|    |--- index.tsx
|    |--- overwolf.dev.mock.ts
|    |--- react-app-env.d.ts
|    |--- setupTests.ts
|--- .gitignore
|--- LICENSE
|--- README.md
|--- create-production-overwolf-build.sh
|--- package-lock.json
|--- package.json
|--- remote-dev-redux-devtools.js
|--- tsconfig.json
.

🐛 Remote Redux Debug.

In overwolf it is not possible to install plugins to debug the code, so the alternative is to use something remote to debug an injected code.

  1. Install tool.
  1. Configure
  • if the installation is correct, a redux dev tools icon should appear in your browser's toolbar.
  • click into icon then choose "Open remote devTools"
  • click into settings option and let hostname called to "localhost" and port 8000.
  1. Run Server Bridge
  • run the server that bridges the remote redux and the overwolf application.
    #Change into directory
    cd overwolf-modern-react-boilerplate
    npm run start-remote-devtools
  1. Start debugging

    whenever you want to debug your app store, just remember to use the remote redux dev tools + the bridge server

📦 Build/Create package for overwolf store.

you need to create an optimized version of your code and the correct structure before sending it to the overwolf store. Overwolf Doc: How to submit an app

  1. Compile

    #Change into directory
    cd overwolf-modern-react-boilerplate
    npm run build
  2. Organize Folder

   npm run pack-overwolf
  • OBS 1 this organization script was tested on the git bash and linux terminal.
  • OBS 2 this organization script needs to be ported to windows bash powershell.
  1. Create .zip
  • the generated code is located in |--- build/**/.**
  • Package all build/ folders to .zip
  • just send your .zip code to the overwolf test team.
  1. Edit Changelog

To make it easier for users, contributors and overwolf team to see precisely what notable changes have been made between each release (or version) of the project.

$ vi project-root/CHANGELOG.md

📦 🔃 🛎️ CI/CD - Experimental

throughout the development cycle testing or releasing small updates can become a bit tedious, so there is also a github action setting when you generate a new project, you don't actually need to do any extra steps if you use github, this means that whenever you add valid code to the main branch, then an automatic github action will do all the compiling and packaging steps automatically.

About CI/CD File.yml

check out some screenshots of what github actions looks like:

Overview

Overview Details-1

Overview Details-2

Overview Release-1

Overview Release-2

Overview Release-3

**in the near future the overwolf team will make available an API to publish an application, so just add a few lines of code at the end of the github actions and the build will be complete

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].