no message

This commit is contained in:
hellcat 2025-07-03 19:44:31 +08:00
parent 6c45038519
commit 04649f57fe
4 changed files with 193 additions and 47 deletions

View File

@ -40,8 +40,19 @@ class Base {
$this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/getlast'; $this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/getlast';
$sFreenodeNow = $this->oHttp->send(); $sFreenodeNow = $this->oHttp->send();
$aFreenodeNow = json_decode($sFreenodeNow, 1); $aFreenodeNow = json_decode($sFreenodeNow, 1);
// $sTitleSub = $aFreenodeNow['title_sub'];
return $aFreenodeNow; return $aFreenodeNow;
} }
public function getFreenodeCountryFromMaster()
{
$this->oHttp->sToUrl = "https://".env('www_master').'/api/freenode/country/rand';
$sFreenodeCountry = $this->oHttp->send();
$aFreenodeCountry = json_decode($sFreenodeCountry, 1);
$aData["freenodeCountry"] = $aFreenodeCountry;
$aData["str"] = date('Y年m月d日').",本次更新共".$aFreenodeCountry["nodeCount"]."个可用节点,最高速度".$aFreenodeCountry["speed"]."M/S。覆盖".implode("", $aFreenodeCountry["country"])."等多个区域。";
return $aData;
}
} }

View File

@ -7,52 +7,6 @@ class FreeNode extends Base {
public $aHuodong; // 必须,注入,没用了 public $aHuodong; // 必须,注入,没用了
public $aShip; public $aShip;
public function B($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$aArticleFreenode = $this->getArticleFreenode();
$sContent = "
# clash节点、免费clash节点、clash订阅链接、clash免费节点、clash科学上网、clash翻墙、clash for windows、clash教程 每日更新 更新时间 ".date('Y-m-d H:i:s')."
".date("Y年m月d日").$aArticleFreenode['title_sub']."
## clash使用教程
<a href='https://clash01.com/' target='_blank'>clash科学上网clash for windows 详细教程</a>
## [福云](https://fuuu.cloud) — 性价比机场最佳之选折后低至8元。
- 全球众多节点8K不卡顿。
- 解锁奈飞、迪士尼、TikTok 、ChatGPT。
- 流量不虚标所有节点都是1倍率。
- 不限登陆设备数,不设置每日封顶流量。
- 按流量付费、包月等多种套餐可选,价格便宜。
网站地址:[福云](https://fuuu.cloud)
".$this->aHuodong['str']."
## 免费节点订阅链接
v2ray订阅链接
https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://clashfreenode.com/feed/clash-".date('Ymd').".yaml
";
return $sContent;
}
public function C($aArticle) public function C($aArticle)
{ {

View File

@ -0,0 +1,110 @@
<?php
namespace App\Services\Github\Mod\FreeNode;
use App\Services\Github\Mod\Base;
//use App\Services\TomTool\Http;
class B extends Base {
public $aShip; // 必须,注入
public function Get($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$aArticleFreenode = $this->getArticleFreenode();
$sContent = "
# 「".date("m月d日")."」每日更新免费节点SSR/V2ray/Clash/Shadowrocket免费节点订阅链接。
".date("Y年m月d日")."".$aArticleFreenode['title_sub']."
## 性价比机场推荐:[".$this->aShip["name"]."](https://".$this->aShip["www"].")
* 价格低 - 目前七折优惠折后低至8元。
* 速度快 - 晚高峰看youtube高清不卡顿。
* 稳定 - 海外团队稳定运营第3年。
* 无限试用 - 注册免费试用3天签到无限试用。
".$this->aShip['youhui_str']."
点击进入[".$this->aShip["name"]."机场官网](https://".$this->aShip["www"].")
## 免费节点订阅链接
v2ray订阅链接
https://".$aArticle["fn_www"]."/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://".$aArticle["fn_www"]."/feed/clash-".date('Ymd').".yaml
## 温馨提示
本站提供的都是免费且公益的节点,稳定性与长时间连接速率无法与收费版的高速机场节点相提并论,不能奢望太多。
注意你自己的网络环境本地连接当中的DNS手动配置一下114.114.114.1148.8.8.8或是其它公共的DNS。
如果某个网址无法代理访问,可切换到全局代理模式,一般可解决。
";
return $sContent;
}
public function B($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$aArticleFreenode = $this->getArticleFreenode();
$sContent = "
# clash节点、免费clash节点、clash订阅链接、clash免费节点、clash科学上网、clash翻墙、clash for windows、clash教程 每日更新 更新时间 ".date('Y-m-d H:i:s')."
".date("Y年m月d日").$aArticleFreenode['title_sub']."
## clash使用教程
<a href='https://clash01.com/' target='_blank'>clash科学上网clash for windows 详细教程</a>
## [".$this->aShip["name"]."](https://".$this->aShip["www"].") — 性价比机场最佳之选折后低至8元。
- 全球众多节点8K不卡顿。
- 解锁奈飞、迪士尼、TikTok 、ChatGPT。
- 流量不虚标所有节点都是1倍率。
- 不限登陆设备数,不设置每日封顶流量。
- 按流量付费、包月等多种套餐可选,价格便宜。
网站地址:[".$this->aShip["name"]."](https://".$this->aShip["www"].")
".$this->aShip['youhui_str']."
## 免费节点订阅链接
v2ray订阅链接
https://".$aArticle["fn_www"]."/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://".$aArticle["fn_www"]."/feed/clash-".date('Ymd').".yaml
";
return $sContent;
}
}

View File

@ -0,0 +1,71 @@
<?php
namespace App\Services\Github\Mod\FreeNode;
use App\Services\Github\Mod\Base;
//use App\Services\TomTool\Http;
class C extends Base {
public $aShip; // 必须,注入
public function Get($aArticle)
{
// if (!$this->todayUpd()) {
// return false;
// }
$aFreenodeCountry = $this->getFreenodeCountryFromMaster();
// tomd($aFreenodeCountry, 1);
$sContent = "
# 公益免费v2ray/clash节点订阅每小时更新最后更新时间".date('Y-m-d H:i:s')."
## 性价比机场推荐:[".$this->aShip["name"]."](https://".$this->aShip["www"].")
* 价格低 - 目前七折优惠折后低至8元。
* 速度快 - 晚高峰看youtube高清不卡顿。
* 稳定 - 开业于2022年稳定运营第3年。
* 无限试用 - 注册免费试用3天签到无限试用。
".$this->aShip['youhui_str']."
点击进入[".$this->aShip["name"]."机场官网](https://".$this->aShip["www"].")
## 免费节点订阅链接
".$aFreenodeCountry["str"]."复制下方的v2ray/Clash订阅链接在客户端添加即可正常使用。
v2ray订阅链接
https://".$aArticle["fn_www"]."/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://".$aArticle["fn_www"]."/feed/clash-".date('Ymd').".yaml
## 客户端下载
| 名称 | 操作系统 | 地址 |
|------|----------|------|
| SingBox | Mac/Linux/Android/Ios | [https://sing-box.sagernet.org/clients/](https://sing-box.sagernet.org/clients/) |
| FlClash | Mac/Linux/Windows/Android | [https://github.com/chen08209/FlClash](https://github.com/chen08209/FlClash) |
| Clash Verge | Mac/Linux/Windows | [https://github.com/clash-verge-rev/clash-verge-rev](https://github.com/clash-verge-rev/clash-verge-rev) |
| Clash Meta Android | Android | [https://github.com/MetaCubeX/ClashMetaForAndroid](https://github.com/MetaCubeX/ClashMetaForAndroid) |
| ClashX Meta | Mac | [https://github.com/MetaCubeX/ClashX.Meta](https://github.com/MetaCubeX/ClashX.Meta) |
| V2RayN | Windows | [https://github.com/2dust/v2rayN](https://github.com/2dust/v2rayN) |
| V2RayNG | Android | [https://github.com/2dust/v2rayNG](https://github.com/2dust/v2rayNG) |
| V2RayU | Mac | [https://github.com/yanue/V2rayU](https://github.com/yanue/V2rayU) |
";
return $sContent;
}
}