Skip to content

A5R13L/apakr-hosting

Repository files navigation

APakr Hosting

This is a fully fledged hosting solution for gmsv_apakr_plugin.

Deploy your own

Cloudflare Workers ☁️


To deploy to Cloudflare Workers, use the button and follow the instructions below.

Deploy to Cloudflare Workers

When it asks you to make an API Token, ensure you select "Edit Cloudflare Workers" template:

image

In the API Token, set "Account Resources" and "Zone Resources" to "All accounts" and "All zones" respectively:

image

Click "Continue to summary"

image

Click "Create Token"

image

Copy the API Token and put it in the setup page

image image

If you struggle to find your Account ID, try using the article below as a reference:

https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/

You may also need to create a blank worker to have it show the details if you do not have any domains set-up.

Deno Deploy 🦕


To deploy to Deno Deploy, follow the instructions below.

Create a fork of this repository.

image

Visit https://dash.deno.com/ and sign-in.

image

Click "Deploy From Github"

image

Select your account, and select the repository named apakr-hosting.

image

For Install Step, enter "yarn".

image

For Build Step, leave it blank.

image

For Root Directory, enter ".".

image

For Entrypoint, enter "src/deno.ts".

image

Click "Deploy Project".

image

Docker (Self-Hosted) 🚢


The included docker-compose.yml has everything you need to create a container. All you need is Docker Compose.

Once you have cloned the repository, run the following code to build and start the container:

  docker compose up -d --build

The server will be available at 127.0.0.1:9660 as well as 0.0.0.0:9660.

The listening address as well as port can both be changed in the .env file. If you are running the server behind a reverse proxy, the DENO_HOST address should be 127.0.0.1.

Other ❓


You can also use any other type of hosting platform, as long as you use Deno to run the server. The command to run the server would be:

  deno run -A src/deno.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published