用于显示、组织和存储有关服务器 (VPS)、共享主机、转售主机、域名等信息的 Web 应用程序。
A self-hosted web app for displaying, organizing and storing information about your servers (VPS/Dedi), shared & reseller hosting, seedboxes, 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 & 6 scores to do easier comparing and sorting. Of course storing other services e.g. web hosting is possible and supported too with My idlers.
Note: Create, Update and Delete are disabled on the demo site.
Proudly sponsored by PikaPods - Deploy your own My Idlers instance with one click, no server setup required. PikaPods handles all the infrastructure so you can focus on managing your services.
GET /api/export/servers?format=json|csvGET /api/export/domains?format=json|csvGET /api/export/shared?format=json|csvGET /api/export/reseller?format=json|csvGET /api/export/seedboxes?format=json|csvGET /api/export/dns?format=json|csvGET /api/export/misc?format=json|csvGET /api/export/all?format=json|csvMAX_USERS env variable to control registration limit (0 = unlimited)SEED_DEMO_DATA env variableThe application now includes a comprehensive test suite with 150 tests and 294 assertions:
Feature Tests:
Unit Tests:
Run tests with:
vendor/bin/phpunit
# or with testdox output
vendor/bin/phpunit --testdoxThe seeder is split into two parts:
Core data (always seeded): Settings, Providers, Locations, OS, Labels - required for the app to function.
Demo data (optional): Admin user and sample services (servers, domains, shared hosting, etc.)
# Fresh install (core data only - recommended for production)
php artisan migrate:fresh --seed
# Fresh install with demo data
# First add SEED_DEMO_DATA=true to your .env file, then:
php artisan migrate:fresh --seed| Variable | Default | Description |
|---|---|---|
SEED_DEMO_DATA |
false |
Set to true to seed demo user and sample data during migrate:fresh --seed |
MAX_USERS |
0 |
Maximum number of users allowed to register. 0 = unlimited |
When SEED_DEMO_DATA=true is set, a demo user is created:
| Password | |
|---|---|
| [email protected] | password |
composer update
php artisan migrate
php artisan route:cache
php artisan cache:cleargit clone https://github.com/cp6/my-idlers.git into your directory of choicecomposer installnpm installcp .env.example .envphp artisan key:generatephp artisan make:database my_idlers to create databasenpm run prod to build assetsphp artisan migrate:fresh --seed to create tables and seed dataphp artisan serveIf you already have at least version 2.0 installed:
git pullcomposer installcomposer updatenpm installnpm run prodphp artisan migratephp artisan route:cachephp artisan cache:cleardocker run \
-p 8000:8000 \
-e APP_URL=https://... \
-e DB_HOST=... \
-e DB_DATABASE=... \
-e DB_USERNAME=... \
-e DB_PASSWORD=... \
-e MAX_USERS=0 \
-e SEED_DEMO_DATA=false \
ghcr.io/cp6/my-idlers:latest
docker exec ... php artisan migrate:fresh --seed --force # Set up database one timeRun with a single click on PikaPods.com
yabs.sh now has JSON formatted response and can POST the output directly from calling the script.
With My idlers you can use your API key and the server id to directly POST the benchmark result
https://yourdomain.com/api/yabs/SERVERID/USERAPIKEYISHERE
Example yabs.sh call to POST the result:
curl -sL yabs.sh | bash -s -- -s "https://yourdomain.com/api/yabs/SERVERID/USERAPIKEYISHERE"
IP who is data provided by ipwhois.io
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 requests:
| Endpoint | Description |
|---|---|
dns/ |
Get all DNS records |
dns/{id} |
Get DNS record |
domains/ |
Get all domains |
domains/{id} |
Get domain |
servers |
Get all servers |
servers/{id} |
Get server |
IPs/ |
Get all IPs |
IPs/{id} |
Get IP |
labels/ |
Get all labels |
labels/{id} |
Get label |
locations/ |
Get all locations |
locations/{id} |
Get location |
misc/ |
Get all misc services |
misc/{id} |
Get misc service |
networkSpeeds/ |
Get all network speeds |
networkSpeeds/{id} |
Get network speed |
os/ |
Get all operating systems |
os/{id} |
Get operating system |
pricing/ |
Get all pricing |
pricing/{id} |
Get pricing |
providers/ |
Get all providers |
providers/{id} |
Get provider |
reseller/ |
Get all reseller hosting |
reseller/{id} |
Get reseller hosting |
seedbox/ |
Get all seedboxes |
seedbox/{id} |
Get seedbox |
settings/ |
Get settings |
shared/ |
Get all shared hosting |
shared/{id} |
Get shared hosting |
yabs/ |
Get all YABS |
yabs/{id} |
Get YABS |
note/{id} |
Get note |
online/{hostname} |
Check if host is up |
dns/{domainName}/{type} |
Get IP for domain |
Export endpoints (v4.1):
| Endpoint | Description |
|---|---|
export/servers?format=json|csv |
Export servers |
export/domains?format=json|csv |
Export domains |
export/shared?format=json|csv |
Export shared hosting |
export/reseller?format=json|csv |
Export reseller hosting |
export/seedboxes?format=json|csv |
Export seedboxes |
export/dns?format=json|csv |
Export DNS records |
export/misc?format=json|csv |
Export misc services |
export/all?format=json|csv |
Export all data |
POST requests
Create a server
/servers
Body content template
…PUT requests
Update a server
/servers/ID
Body content template
{
"active": 1,
"show_public": 0,
"hostname": "test.domain.com",
"ns1": "ns1",
"ns2": "ns2",
"server_type": 1,
"os_id": 2,
"provider_id": 10,
"location_id": 15,
"ssh_port": 22,
"bandwidth": 2000,
"ram": 2024,
"ram_type": "MB",
"ram_as_mb": 2024,
"disk": 30,
"disk_type": "GB",
"disk_as_gb": 30,
"cpu": 2,
"has_yabs": 0,
"was_promo": 1,
"owned_since": "2022-01-01"
}Update pricing
/pricing/ID
Body content template
{
"price": 10.50,
"currency": "USD",
"term": 1
}DELETE requests
Delete a server
/servers/ID
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 / d
暂无开放 Issues,或尚未同步最近议题。