Coder Social home page Coder Social logo

brandednorth / pyrodactyl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyrohost/pyrodactyl

0.0 0.0 0.0 19.67 MB

Pyrodactyl is the Pterodactyl-based game server panel that's faster, smaller, safer, and more accessible than Pelican.

Home Page: https://pyro.host

License: GNU Affero General Public License v3.0

Shell 0.22% JavaScript 0.79% PHP 59.46% TypeScript 26.78% CSS 1.22% Nix 0.25% Blade 11.21% Dockerfile 0.07%

pyrodactyl's Introduction

Logo Image

Pyrodactyl

Pyrodactyl is the Pterodactyl-based game server management panel that focuses on performance enhancements, a reimagined, accessible interface, and top-tier developer experience. Builds faster, compiles smaller: Pyrodactyl is the world's best Pterodactyl.

Dashboard Image

Changes from vanilla Pterodactyl

  • Smaller bundle sizes: Pyrodactyl is built using Vite, and significant re-architecting of the application means Pyrodactyl's initial download size is over 170 times smaller than leading Pterodactyl forks, and Pelican
  • Faster build times: Pyrodactyl completes builds in milliseconds with the power of Turbo. Cold builds with zero cache finish in under 7 seconds.
  • Faster loading times: Pyrodactyl's load times are, on average, over 16 times faster than other closed-source Pterodactyl forks and Pelican. Smarter code splitting and chunking means that pages you visit in the panel only load necessary resources on demand. Better caching means that everything is simply snappy.
  • More secure: Pyrodactyl's modern architecture means most severe and easily exploitable CVEs simply do not exist. We have also implemented SRI and integrity checks for production builds.
  • More accessible: Pyro believes that gaming should be easily available for everyone. Pyrodactyl builds with the latest Web accessibility guidelines in mind. Pyrodactyl is entirely keyboard-navigable, even context menus., and screen-readers are easily compatible.
  • More approachable: Pyrodactyl's friendly, approachable interface means that anyone can confidently run a game server with Pyro.

Dashboard Image

Running Pyrodactyl

Tip

Pyrodactyl now has a Docker image avaliable, which for previous users of the Pterodactyl panel in Docker, should make it easy to migrate.

If you want to setup Pyrodactyl in Docker from scratch, see the docker-compose.example.yml.

Prerequisites

  • Latest LTS version of NodeJS
  • Pnpm (npm i -g pnpm)
  • Turbo (pnpm i -g turbo)
  • Git

Linux

Setting up Pyrodactyl is a breeze on Linux. Follow the official Pterodactyl documentation for your distribution up to the point where you need to download the panel.

Instead of downloading the official panel, follow the steps below to install Pyrodactyl:

  1. git clone https://github.com/pyrohost/pyrodactyl.git /var/www/pterodactyl
  2. cd /var/www/pterodactyl
  3. npm i
  4. npm run ship

Proceed with the rest of the installation as you would with the official panel.

Windows

It is not currently possible to run Pyrodactyl in a production environment on Windows due to wings being incompatible.

Local Development on Windows

Pyrodactyl is the world's first Pterodactyl panel that can be developed and run locally (with Wings) on Windows machines through Vagrant. Verify you have met the prerequisites above, then follow the steps below.

  1. Clone the Pyrodactyl panel repository
  2. Run npm i to install all the packages necessary.
  3. Run npm run ship to build Pyrodactyl. This will cache the results of the build and upload sourcemaps to Sentry. Subsequent builds without code changes will finish in milliseconds.
  4. Run vagrant up. This will setup wings and the necessary services in order to run Pyrodactyl's databases, services, and app. This process could take up to 15 minutes.
  5. Once you receive a message that says "Pyrodactyl is now up and running at localhost:3000", visit that URL in your browser and login with the default credentials provided in your console. It's important that you use localhost to connect to Pyrodactyl! If you use 127.0.0.1, you will run into CORS issues and other issues that will not be fixed.
  6. Visit localhost:3000/admin to provision your first server on Pyrodactyl!

Notes about Local Development on Windows

  • If you have the dev server running (npm run dev), a development build of the app will be served at localhost:3000 with HMR. If you want to preview a production build of Pyrodactyl, terminate the dev server and run npm run ship. Once it finishes, it will also be served at localhost:3000.

  • If you're running the development server or have built a production version of Pyrodactyl, but visiting localhost:3000 hangs permanently, ensure you don't have any other apps or games open that may interfere with any of the ports in the Vagrantfile. For example, Steam may use port 8080, or another development server may be using a port used by Pyrodactyl. Run vagrant reload to re-point ports to your virtual machine after ensuring nothing may be using it, and try again.

  • If you receive a message like Vagrant was unable to mount VirtualBox shared folders, you may need to install the vbguest plugin for VirtualBox with vagrant plugin install vagrant-vbguest. If it's already installed, run vagrant plugin update vagrant-vbguest.

  • We recommend setting up Remote Caching via turbo. When you run npm run ship on your local development machine, its results will be cached and uploaded, allowing you to finish a build on your production server in milliseconds.

  • We do not recommend using Hyper-V as your virtualization layer. If your vagrant installation asks you for a password, this is because you used Hyper-V. The password will be your Windows password.

Star History

Star History Chart

License

Pterodactyl® Copyright © 2015 - 2022 Dane Everitt and contributors.

Pyrodactyl™ Copyright © 2024 Pyro Host Inc. and contributors.

AGPL-3.0-or-later

pyrodactyl's People

Contributors

daneeveritt avatar ferothefox avatar matthewpi avatar schrej avatar notareyouscared avatar lancepioch avatar parkervcp avatar software-noob avatar thewander02 avatar stanjg avatar zkoz210 avatar checksumdev avatar boy132 avatar he3als avatar ayan4m1 avatar dependabot[bot] avatar alliraine avatar death-droid avatar prplwtf avatar tenten8401 avatar tekexplorer avatar arcdigital avatar trixterthetux avatar mrxbox98 avatar arnaudlier avatar ddynamic avatar gravitycube avatar darthshmev avatar ygtripps avatar matthewsh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.