-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6742804
Showing
63 changed files
with
20,757 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"devToolbar": { | ||
"enabled": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
tsconfigRootDir: __dirname, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['@typescript-eslint/eslint-plugin'], | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
root: true, | ||
env: { | ||
node: true, | ||
jest: true, | ||
}, | ||
ignorePatterns: ['.eslintrc.js'], | ||
rules: { | ||
'@typescript-eslint/interface-name-prefix': 'off', | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'@typescript-eslint/explicit-module-boundary-types': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
ko_fi: klovit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
KlovitClient Proprietary License | ||
|
||
This license is a legal agreement between you (either an individual or an entity) and the developers of KlovitClient. By using the KlovitClient software, you agree to be bound by the terms and conditions of this license. | ||
|
||
1. License Grant: | ||
- The KlovitClient software is licensed, not sold. The developers of KlovitClient grant you a non-exclusive, non-transferable license to use the software for commercial and personal purposes. | ||
|
||
2. Permitted Use: | ||
- You are permitted to use the KlovitClient software for both commercial and personal use, subject to the restrictions outlined in this license agreement. | ||
|
||
3. Restrictions: | ||
- You are strictly prohibited from copying, modifying, distributing, selling, or sublicensing any portion of the KlovitClient software's code. | ||
- Reverse engineering, decompiling, or disassembling the KlovitClient software is strictly prohibited. | ||
|
||
4. Intellectual Property: | ||
- The KlovitClient software and its code are the intellectual property of the developers. All rights not expressly granted are reserved. | ||
|
||
5. No Warranties: | ||
- The KlovitClient software is provided "as is" without any warranty. The developers of KlovitClient shall not be liable for any damages arising from the use of the software. | ||
|
||
6. Termination: | ||
- This license is effective until terminated. The developers of KlovitClient reserve the right to terminate this license at any time if you fail to comply with its terms and conditions. | ||
|
||
7. Governing Law: | ||
- This license agreement shall be governed by and construed in accordance with the laws of Bombay High Court, without regard to its conflict of law provisions. | ||
|
||
By using the KlovitClient software, you acknowledge that you have read and understood this license agreement and agree to be bound by its terms and conditions. | ||
|
||
For inquiries regarding this license, please contact the developers of KlovitClient at faizp@klovit.tech. | ||
|
||
Copyright © 2024-present KlovitClient. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
![KlovitClient](https://docs.klovit.tech/img/Klovit%20Logo.png) | ||
|
||
<hr> | ||
|
||
# KlovitClient V0.5.2 | ||
|
||
All features: | ||
- Resource Management (Use it to create servers, etc) | ||
- Virtual Currency | ||
- Servers (Create, View and Edit Servers) | ||
- Store (buy resources with coins) | ||
- Admin (Set/Add/Remove Coins & Resources) | ||
|
||
# Support | ||
Join [KlovitClient's Official Discord Server](https://discord.gg/grrRKuyyyE) to get support on installing and help with errors. | ||
|
||
<hr> | ||
|
||
# [Documentation](https://docs.klovit.tech) | ||
# Notice | ||
All versions older than V0.5.x are now depreciated, please update to KlovitClient V0.5.x. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import tailwind from '@astrojs/tailwind'; | ||
import sitemap from '@astrojs/sitemap'; | ||
import chalk from 'chalk'; | ||
import figlet from 'figlet'; | ||
import node from '@astrojs/node'; | ||
import config from "./src/config"; | ||
// https://astro.build/config | ||
export default defineConfig({ | ||
root: './', | ||
publicDir: 'public', | ||
output: 'server', | ||
adapter: node({ | ||
mode: 'standalone', | ||
}), | ||
server: { | ||
port: Number(config.website.port), | ||
host: true, | ||
}, | ||
site: `https://` + config.website.url, | ||
integrations: [ | ||
sitemap(), | ||
tailwind() | ||
], | ||
}); | ||
console.clear(); | ||
console.log(chalk.gray(' ')); | ||
console.log(chalk.gray(' ') + figlet.textSync('KlovitClient')); | ||
console.log(chalk.gray(' ')); | ||
console.log( | ||
chalk.gray(' ') + | ||
chalk.cyan('[KlovitClient]') + | ||
chalk.white(' You can now access the dashboard at ') + | ||
chalk.underline(config.website.url + '/'), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
--- | ||
version: '0.5.2' # Version of the KlovitClient instance | ||
name: KlovitClient # Your Host's name | ||
resource_type: 'GB' # This can be either GB or MB, NOTE:- If you have chosen GB then 100% cpu will be 1 thread, if you have chosen MB then 1 thread will be 100% cpu | ||
website: | ||
secret: "Website secret" # Randomize this as this will be the secret of the website for the session and middleware cookie | ||
url: 'https://localhost' # URL of the dashboard | ||
port: '8081' # The port on which this KlovitClient instance will run | ||
description: The most reliable hosting # The description for your Hosting | ||
icon: https://docs.klovit.tech/img/Klovit%20Logo.png # Logo of your hosting | ||
pterodactyl: | ||
url: 'http://localhost' # Your Pterodactyl Panel URL with "http://" or "https://" | ||
api: 'ptla_Hr0TVGzDe3PIgHL11uKtrQtbqflQSW9Cjw3RzaDAK2p' # Your Pterodactyl Panel Admin API Key | ||
packages: | ||
default: default | ||
list: | ||
default: | ||
ram: 100 # Formatted according to "resource_type" | ||
disk: 200 | ||
cpu: 200 # NOTE - If you have selected GB as resource_type, then 100% cpu is 1. If you have selected MB as resource_type then 100% cpu is 100 | ||
servers: 100 | ||
auth: | ||
supabase: # REQUIRED | ||
supabase_url: '' # URL of your SupaBase Project | ||
supabase_anon_key: '' # Anon/API Key of your SupaBase Project | ||
oauth2: | ||
google: | ||
enabled: false | ||
github: | ||
enabled: false | ||
discord: | ||
enabled: false | ||
database: # WE RECOMMEND NOT TOUCHING THIS. | ||
type: 'sqlite' # Available types are 'sqlite' and 'mysql' | ||
sqlite: # ONLY CONFIGURE IS YOU HAVE DATABASE TYPE AS 'sqlite' | ||
sqlite_db_name: 'database.sqlite' # The database will be stored in './database/' directory | ||
mysql: # ONLY CONFIGURE IS YOU HAVE DATABASE TYPE AS 'mysql' | ||
mysql_db_name: 'klovitclient' # Your MYSQL DB name | ||
mysql_db_host: 'localhost' # Your MYSQL DB HOST | ||
mysql_db_port: '3306' # Your MYSQL DB PORT | ||
mysql_db_username: 'klovitclient' # Your MYSQL Username | ||
mysql_db_password: 'password@123' # You MYSQL password | ||
locations: | ||
"1": # ID of the location on the pterodactyl panel | ||
name: Default Location 1 # Display name for the location | ||
eggs: | ||
klovitegg: # KlovitClient's identifier of the egg | ||
display: MultiEgg | KlovitEgg # Display name of the egg | ||
limits: # formatted according to "resource_type" | ||
minimum: # The minimum resources a user can use while deploying a server | ||
ram: 1 | ||
disk: 1 | ||
cpu: 1 | ||
maximum: # The maximum resources a user can use while deploying a server | ||
ram: null | ||
disk: null | ||
cpu: null | ||
feature: # The limits on the following features | ||
databases: 1 | ||
backups: 1 | ||
allocations: 1 | ||
info: # All this information can be found on the Egg's information page. | ||
egg: 16 # ID of the egg | ||
docker_image: ghcr.io/beastgamer81/klovitegg:latest # Docker image of the egg | ||
startup: ./install.sh" # Startup command of the egg | ||
environment: # Environment variables of the egg | ||
NODE_VERSION: latest | ||
PMMP_VERSION: PM5 | ||
NODE_MAIN_FILE: index.js | ||
payments: # Allow transactions on KlovitClient using various payment gateways. | ||
enabled: false # CURRENTLY PAYMENTS DO NOT WORK | ||
gateways: | ||
cryptomus: # Allow transactions through Cryptomus gateway. | ||
enabled: false | ||
gifting: # Allow the gifting of coins and resources. | ||
enabled: false | ||
coins: # Coins, the virtual currency of the host. | ||
enabled: true # Must enable coins if you need the following things - Store, Link shorteners. | ||
earn: # Earning of coins via various methods | ||
enabled: true # Whether enable earning of coins or not. Coins must be enabled aswell or else the API Endpoints will throw errors | ||
links: # Earning of coins via link shorteners | ||
atglinks: # Earning of coins via ATGLinks | ||
api: '785159b542f060cb98b55b27a09b2034df506bff' # Your ATGLinks API Key | ||
amount: '5' # Amount of coins per link | ||
dailylimit: null # Daily limit for users | ||
minimumTime: '100' # Minimum time a user has to spend completing the link. (in seconds) | ||
store: # The cost and per is not intended to used with 0. This is not intended to sell resources for coins. Make sure coins are enabled too, or else there can be errors. | ||
enabled: false | ||
ram: | ||
cost: 1000 # Cost of the resource in coins | ||
per: 1 # Will be in the format according to "resource_type" | ||
disk: | ||
cost: 1000 | ||
per: 1 | ||
cpu: | ||
cost: 1000 | ||
per: 1 | ||
servers: | ||
cost: 100 | ||
per: 1 |
Oops, something went wrong.