mirror of
https://github.com/kmvan/x-prober.git
synced 2026-04-22 01:08:59 +08:00
93 lines
4.3 KiB
Markdown
93 lines
4.3 KiB
Markdown
[](preview.jpg)
|
||
|
||
# 😎 X 探針、劉海探針
|
||
|
||
> 這是一款 PHP 環境探針程式,它不僅可以十分直觀地為您顯示伺服器的信息,而且最重要的是:它跟 📱 **iPhone X/XS/XS Max/XR** 一樣有醜陋的劉海!
|
||
|
||
[](#backers)
|
||
[](#sponsors)
|
||
|
||
## 開源協議
|
||
|
||
- GPL-v2
|
||
|
||
## 線上演示
|
||
|
||
- [https://prober.inn-studio.com](https://prober.inn-studio.com)
|
||
- [https://tz.inn-studio.com](https://tz.inn-studio.com) (同上)
|
||
|
||
## 下載與使用
|
||
|
||
- 點擊 [https://api.inn-studio.com/download?id=xprober](https://api.inn-studio.com/download?id=xprober) 下載。
|
||
- 您將會得到一個文件,命名為 `x.php` 並上傳到您的伺服器上。
|
||
- 通過瀏覽器訪問 `x.php` 即可。
|
||
|
||
## 環境需求
|
||
|
||
- 編譯環境:PHP 7.3+
|
||
- 運作環境:PHP 5.3+
|
||
- 瀏覽器兼容:<del>IE9</del>、Chrome、Firefox、Edge、Android
|
||
- 系統兼容:Linux、Windows(基礎功能)
|
||
|
||
## 開發指引
|
||
|
||
- 星標和 Fork。
|
||
- Fetch 您的倉庫。
|
||
- 安裝 npm 模塊:`$ npm install`。
|
||
- 監視腳本:`$ npm run dev`。
|
||
- 安裝 composer:`$ composer install && composer dumpautoload -o`。
|
||
- 編譯 **開發環境**:`$ php ./Make.php dev`。
|
||
- 編譯 **生產環境**: `$ npm run build && php ./Make.php build`。
|
||
- 通過瀏覽器訪問 `./dist/prober.php`。
|
||
- 進行 Pull Request。
|
||
|
||
## 參與翻譯更多語言
|
||
|
||
- **Fork** 項目。
|
||
- 使用 [Poedit](https://poedit.net/) 通過 `./languages/js-language.pot` 語言模板來創建和翻譯您的語言。
|
||
- 保存翻譯語言文件 _(例如:`js-en_US.po`)_ 到 `./languages` 目錄裏面。
|
||
- 添加您的稱呼到貢獻者名單裏面。
|
||
- 進行 Pull Request,十分感謝。😘
|
||
|
||
## 給予參與貢獻者的備註
|
||
|
||
- 您的 PHP 代碼需要兼容 PHP5.3+ 環境。
|
||
|
||
## 貢獻者名單
|
||
|
||
- Km.Van https://inn-studio.com
|
||
- Jack Cherng https://github.com/jfcherng
|
||
|
||
<a href="https://github.com/kmvan/x-prober/graphs/contributors"><img src="https://opencollective.com/x-prober/contributors.svg?width=890&button=false" /></a>
|
||
|
||
## 支援者
|
||
|
||
感謝所有支援者 🙏 [[成為支援者](https://opencollective.com/x-prober#backer)]
|
||
|
||
<a href="https://opencollective.com/x-prober#backers" target="_blank"><img src="https://opencollective.com/x-prober/backers.svg?width=890"></a>
|
||
|
||
## 贊助
|
||
|
||
成為贊助商支援這個項目。 您的徽標將顯示在此處,其中包含指向您網站的鏈接。[[成為贊助商](https://opencollective.com/x-prober#sponsor)]
|
||
|
||
<a href="https://opencollective.com/x-prober/sponsor/0/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/0/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/1/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/1/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/2/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/2/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/3/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/3/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/4/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/4/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/5/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/5/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/6/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/6/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/7/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/7/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/8/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/8/avatar.svg"></a>
|
||
<a href="https://opencollective.com/x-prober/sponsor/9/website" target="_blank"><img src="https://opencollective.com/x-prober/sponsor/9/avatar.svg"></a>
|
||
|
||
## 計劃的功能
|
||
|
||
- [ ] 添加溫度探測。
|
||
- [x] 通過使用 Poedit 來添加更多語言。
|
||
- [x] 更詳細的跑分結果。
|
||
- [ ] 添加郵件發送測試。
|
||
- [ ] 添加網路測試。
|
||
- [x] 添加更多伺服器跑分結果。
|
||
- [x] 添加 PING 功能。
|