1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00
Go to file
cp6 0bb3d75fef Updated Readme
Updated Readme
2022-05-16 16:46:08 +10:00
.github/workflows Fix run.sh to run setup only once, add Docker example in README, add Workflow to update container 2022-03-14 06:19:11 +00:00
app Added Seedbox to API 2022-05-16 16:36:58 +10:00
bootstrap Initial v2 commit 2022-02-18 15:48:32 +11:00
config Initial v2 commit 2022-02-18 15:48:32 +11:00
database Updated foreign keys 2022-05-16 15:39:10 +10:00
public Minor styling changes in dark theme 2022-05-14 23:52:47 +10:00
resources Updated home blade for seedboxes 2022-05-16 14:44:55 +10:00
routes Added Seedbox to API 2022-05-16 16:36:58 +10:00
storage Revert "Revert "V2 (Laravel re-make)"" 2022-03-06 02:29:58 +11:00
tests Revert "Revert "V2 (Laravel re-make)"" 2022-03-06 02:29:58 +11:00
.editorconfig Initial v2 commit 2022-02-18 15:48:32 +11:00
.env.example Initial v2 commit 2022-02-18 15:48:32 +11:00
.gitattributes Initial v2 commit 2022-02-18 15:48:32 +11:00
.gitignore ignore .idea 2022-03-06 03:17:19 +11:00
.styleci.yml Initial v2 commit 2022-02-18 15:48:32 +11:00
artisan Initial v2 commit 2022-02-18 15:48:32 +11:00
composer.json Update composer.json 2022-05-05 15:58:52 +02:00
composer.lock Update composer.lock 2022-05-05 16:01:48 +02:00
Dockerfile Fix run.sh to run setup only once, add Docker example in README, add Workflow to update container 2022-03-14 06:19:11 +00:00
LICENSE Initial commit 2021-01-20 14:35:05 +11:00
package-lock.json Initial v2 commit 2022-02-18 15:48:32 +11:00
package.json Initial v2 commit 2022-02-18 15:48:32 +11:00
phpunit.xml Initial v2 commit 2022-02-18 15:48:32 +11:00
README.md Updated Readme 2022-05-16 16:46:08 +10:00
run.sh Avoid overwriting DB 2022-03-14 06:51:41 +00:00
server.php Initial v2 commit 2022-02-18 15:48:32 +11:00
tailwind.config.js Initial v2 commit 2022-02-18 15:48:32 +11:00
webpack.mix.js Initial v2 commit 2022-02-18 15:48:32 +11:00

My idlers

A web app for displaying, organizing and storing information about servers (VPS), shared & reseller hosting, domains, DNS and misc services.

Despite what the name infers this self hosted web app isn't just for storing idling server information. By using a YABs output you can get disk & network speed values along with GeekBench 5 scores to do easier comparing and sorting.

Generic badge Generic badge Generic badge Generic badge

V2 notes

V2 build is a complete overhaul of My idlers with the project being moved onto the Laravel framework. This will simplify development and most of the features from the original build will be present in V2.

Using Laravel will bring in an API endpoint and the possibilities to show servers publicly with certain parameters removed.

Project sponsor

Cloud Five Limited for providing the hosting for demo installation.

2.1.0 changes:

  • Added Seedbox CRUD
  • Added dark mode (settings option. Bootstrap-Night https://vinorodrigues.github.io/bootstrap-dark-5/)
  • Added some foreign keys for certain tables
  • Added functions for IP and label assignments
  • Added functions to forget (clear) cache, preventing chunks of duplicate code
  • Added VMware to server virt select dropdown options
  • Added Kharkiv and Sao Paulo to locations seeder
  • Updated Controllers with DB calls and logic moved to relevant Model
  • Updated DB calls for caching
  • Updated home page view links on recently added

Requires

  • PHP 8 (8.1 recommended)

Features

  • Add servers
  • Add shared hosting
  • Add domains
  • Auto get IP's from hostname
  • Check up/down status
  • Get YABs data from output
  • Compare 2 servers
  • Save & view YABs output
  • Update YABs disk & network results
  • Next due date system
  • Multi currency compatibility
  • Multi payment-term compatibility
  • Pre-defined operating systems
  • Assign labels
  • Assign server type (KVM, OVZ, LXC & dedi)
  • Easy to edit values

Install

  • Run git clone https://github.com/cp6/my-idlers.git into your directory of choice
  • Run composer install
  • Run cp .env.example .env
  • Edit (If needed) MySQL details in .env
  • Run php artisan key:generate
  • Run php artisan make:database my_idlers to create database
  • Run php artisan migrate:fresh --seed to create tables and seed data
  • Run php artisan serve

Update

If you have at least version 2.0 installed:

  • Run git clone https://github.com/cp6/my-idlers.git
  • Run composer install
  • Run php artisan migrate

Run using Docker

docker run \
  -p 8000:8000\
  -e APP_URL=https://... \
  -e DB_HOST=... \
  -e DB_DATABASE=... \
  -e DB_USERNAME=... \
  -e DB_PASSWORD=... \
  ghcr.io/m3nu/my-idlers:latest  # TODO: adjust after official image is set up!
docker exec ... php artisan migrate:fresh --seed --force  # Set up database one time

API endpoints

For GET requests the header must have Accept: application/json and your API token (found at /account)

Authorization : Bearer API_TOKEN_HERE

All API requests must be appended with api/ e.g mydomain.com/api/servers/gYk8J0a7

GET request:

dns/

dns/{id}

domains/

domains/{id}

servers

servers/{id}

labels/

labels/{id}

locations/

locations/{id}

misc/

misc/{id}

networkSpeeds/

networkSpeeds/{id}

os/

os/{id}

pricing/

pricing/{id}

providers/

providers/{id}

reseller/

reseller/{id}

seedbox/

seedbox/{id}

settings/

shared/

shared/{id}

Notes

Public viewable listings

If enabled the public viewable table for your server listings is at /servers/public You can configure what you want viewable at /settings

Due date / due soon

This is simply just a reminder. If the homepage is requested (viewed) when a service is over due date it will get reset to plus the term from the old due date.

E.g if the term is a month then the due date gets updated to be 1 month from the old due date.

Supporting YABS commands:

curl -sL yabs.sh | bash

or

curl -sL yabs.sh | bash -s -- -r

Make sure YABs output starts at the first line which is:

# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Screenshots for v2

My idlers screenshot1

My idlers screenshot2

My idlers screenshot3

My idlers screenshot4

My idlers screenshot5

My idlers screenshot6

My idlers screenshot7

My idlers screenshot8