For demo visit polyhoot.vercel.app
- Selfhosting available
- Server-side Rendering
- Beautiful UI
- Connect to games from unsupported platforms
We use a number of open source projects to work properly:
- TypeScript - TypeScript is a strongly typed programming language that builds on JavaScript
- NextJS - SSR framework for react applications
- ReactJS - JavaScript library for building user interfaces.
- Grommet - grommet is a react-based framework & components library
- nanostores - A tiny state manager for React
And of course Polyhoot! itself is open source with a public repository on GitHub.
Polyhoot! requires Node.js v12+ to run. Latest LTS is recommended! It also requires Yarn.
Install the dependencies and devDependencies and start the server.
Change getServerIp.ts
.
cd web
yarn
yarn start
Want to contribute? Great!
Make a change in your file and instantaneously see your updates!
Open your favorite Terminal and run this commands.
yarn dev
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
next start
starts the application in production mode.
The application should be compiled with next build first.
The application will start at http://localhost:3000
by default.
next lint
runs ESLint for all files in the pages
, components
, and lib
directories.
Launches the test runner in the interactive watch mode.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Apache License 2.0
Free Software, Hell Yeah!