A simple and secure HTTPS server for hosting your Growtopia Private Server (GTPS).
- Fixes failed download issues
- HTTPS/SSL support
- Request compression
- Rate limiting
- Request logging
- Cross-Origin Resource Sharing (CORS)
- Express.js backend
- EJS template engine
- Type2 support
- Integrated with GTPSHost
Note: When using GTPSHost to create a host, use the
--growplusflag to add the domainosm.growplus.asiato your host.Example:
/add MyServer 127.0.0.1 --growplus
- Node.js (v14 or higher)
- NPM (comes with Node.js)
- Clone the repository:
git clone https://github.com/GTPSHAX/growtopia-https.git
- Navigate to the project directory:
cd growtopia-https/src - Install dependencies:
npm install
The server uses SSL certificates for HTTPS connections. Make sure to:
- Place your SSL certificates in the
certsdirectory. - Update the certificate paths in your configuration if needed.
- Start the server:
Or use the provided batch file.
node MainApp.js
- The server will run on the configured port (default: 443 for HTTPS).
growtopia-https/
├── certs/ # SSL certificates
├── public/ # Static files
├── src/ # Source code
│ ├── MainApp.js # Main application file
│ ├── package.json # Project dependencies
│ ├── middleware/ # Express middleware
│ ├── routes/ # Route handlers
│ └── security/ # Security configurations
└── Config.js # Configuration file
- Uses compression middleware to reduce response size
- Configurable compression level
- Supports compression filtering
- Logs all incoming requests
- Includes timestamp, IP address, and request details
- CORS support included
- Prevents abuse through configurable rate limits and windows
Contributions are welcome! Please submit a Pull Request for improvements or new features.
This project is licensed under the GNU License. See the LICENSE file for details.
For issues and feature requests, please use the GitHub Issues page.