github/app/Services/Github/Mod/FreeNode.php
2025-04-18 18:12:41 +08:00

236 lines
15 KiB
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Services\Github\Mod;
use App\Services\TomTool\Http;
class FreeNode extends Base {
public $sTitle; // 必须
public $sContent; // 必须
public $sSubTitle; // 非必须
public function A($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/getlast';
$sFreenodeNow = $this->oHttp->send();
$aFreenodeNow = json_decode($sFreenodeNow, 1);
$sTitleSub = $aFreenodeNow['title_sub'];
$sContent = "
# 「".date("m月d日")."」每日更新免费节点SSR/V2ray/Clash/Shadowrocket免费节点订阅链接。
".date("Y年m月d日").$sTitleSub."
## 性价比机场推荐:[福云](https://fuuu.cloud)
* 价格低 - 目前七折优惠折后低至8元。
* 速度快 - 晚高峰看youtube高清不卡顿。
* 稳定 - 稳定运营二年多,海外团队。
购买套餐时输入【".$aArticle['sale_code']."】享".$aArticle['sale_rate']."折优惠,点击进入[福云机场官网](https://fuuu.cloud)。
## 免费节点订阅链接
v2ray订阅链接
https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://clashfreenode.com/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;
}
$this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/getlast';
$sFreenodeNow = $this->oHttp->send();
$aFreenodeNow = json_decode($sFreenodeNow, 1);
$sTitleSub = $aFreenodeNow['title_sub'];
$sContent = "
# clash节点、免费clash节点、clash订阅链接、clash免费节点、clash科学上网、clash翻墙、clash for windows、clash教程 每日更新 更新时间 ".date('Y-m-d H:i:s')."
".date("Y年m月d日").$sTitleSub."
## clash使用教程
<a href='https://clash01.com/' target='_blank'>clash科学上网clash for windows 详细教程</a>
## [福云](https://fuuu.cloud) — 性价比机场最佳之选折后低至8元。
- 全球众多节点8K不卡顿。
- 解锁奈飞、迪士尼、TikTok 、ChatGPT。
- 流量不虚标所有节点都是1倍率。
- 不限登陆设备数,不设置每日封顶流量。
- 按流量付费、包月等多种套餐可选,价格便宜。
网站地址:【[福云](https://fuuu.cloud)】 **".$aArticle['sale_rate']."折优惠券:".$aArticle['sale_code']."**
## 免费节点订阅链接
v2ray订阅链接
https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://clashfreenode.com/feed/clash-".date('Ymd').".yaml
";
return $sContent;
}
public function C($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$sContent = "
# 公益免费v2ray节点订阅每小时更新最后更新时间".date('Y-m-d H:i:s')."
## 性价比机场推荐:[福云](https://fuuu.cloud)
* 价格低 - 目前七折优惠折后低至8元。
* 速度快 - 晚高峰看youtube高清不卡顿。
* 稳定 - 稳定运营二年多,海外团队。
购买套餐时输入【".$aArticle['sale_code']."】享".$aArticle['sale_rate']."折优惠,点击进入[福云机场官网](https://fuuu.cloud)。
## 免费节点订阅链接
v2ray订阅链接
https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
clash订阅链接
https://clashfreenode.com/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;
}
public function D($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$sContent = "# ".date("m月d日")." | 最新V2ray/Shadowrocket/SSR/Clash高速免费节点最高速度16.3M/S 免费Clash机场订阅地址 更新时间 ".date("Y-m-d H:i:s")."
所有免费clash节点都爬取自网络请勿用于非法用途 。节点地址:<a href='https://clashfreenode.com' target='_blank'>点击跳转</a>
## clash使用教程
<a href='https://www.clash01.com/' target='_blank'>科学上网详细教程</a>
## 订阅链接:
### Clash订阅链接
- https://clashfreenode.com/feed/clash-".date('Ymd').".yaml
### V2ray订阅链接
- https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
## 更多clash节点订阅
### 性价比机场推荐:[福云](https://fuuu.cloud)
* 价格低 - 目前七折优惠折后低至8元。
* 速度快 - 晚高峰看youtube高清不卡顿。
* 稳定 - 稳定运营二年多,海外团队。
购买套餐时输入【".$aArticle['sale_code']."】享".$aArticle['sale_rate']."折优惠,点击进入[福云机场官网](https://fuuu.cloud)。
## 工具推荐
| 工具 | Windows | MacOS | Android | IOS | 备注 |
| ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | :-------------------------------------------------- |
| Shadowsocks | [shadowsocks-win](https://github.com/shadowsocks/shadowsocks-windows/releases) <br/>[shadowsocks-qt5](https://github.com/shadowsocks/shadowsocks-qt5/releases) <br/> [SSD](https://github.com/TheCGDF/SSD-Windows/releases) | [ShadowsocksX-NG](https://github.com/shadowsocks/ShadowsocksX-NG/releases) <br/> [Surge](https://nssurge.com/) | [Google Play](https://play.google.com/store/apps/details?id=com.github.shadowsocks) <br/>[Github](https://github.com/shadowsocks/shadowsocks-android/releases) <br/>[SSD](https://github.com/TheCGDF/SSD-Android/releases) <br/>[Surfboard](https://manual.getsurfboard.com/) | **[Shadowrocket](https://apps.apple.com/us/app/id932747118)** <br/>**[Surge4](https://apps.apple.com/us/app/id1442620678)** <br/>[ShadowSocks](http://apt.thebigboss.org/onepackage.php?bundleid=com.linusyang.shadowsocks) <br/>**[QuantumultX](https://apps.apple.com/us/app/id1443988620)** | IOS工具下载需要用美区的AppleID |
| ShadowsocksR | [SSR](https://github.com/shadowsocksrr/shadowsocksr-csharp/releases) <br/>**[HMBSbige/SSR](https://github.com/HMBSbige/ShadowsocksR-Windows/releases)** | | **[SSRR](https://github.com/shadowsocksrr/shadowsocksr-android/releases)** | | |
| QV2ray | **[Qv2ray](https://github.com/Qv2ray/Qv2ray/releases)** | **[Qv2ray](https://github.com/Qv2ray/Qv2ray/releases)** | | | [官网](https://qv2ray.net/) |
| V2ray | [V2rayN](https://github.com/2dust/v2rayN/releases) | [V2rayU](https://github.com/yanue/V2rayU/releases) <br/>[V2rayX](https://github.com/Cenmrev/V2RayX/releases) | [V2rayNG](https://github.com/2dust/v2rayNG/releases) <br/>[Actinium](https://github.com/V2Ray-Android/Actinium/releases) <br/>[BifrostV](https://play.google.com/store/apps/details?id=com.github.dawndiy.bifrostv) | [kitsunebi](https://apps.apple.com/us/app/kitsunebi-proxy-utility/id1446584073) | [官网](https://www.v2ray.com/) |
| Outline | [Outline](https://github.com/Jigsaw-Code/outline-client/releases) | [Outline](https://github.com/Jigsaw-Code/outline-client/releases) | [Outline](https://github.com/Jigsaw-Code/outline-client/releases) | [Outline](https://github.com/Jigsaw-Code/outline-client/releases) | |
| Netch | [Netch](https://github.com/NetchX/Netch/releases) | | | | |
| SSCap | [SSCap4.0](https://www.sockscap64.com/forums/topic/sscap%E9%85%8D%E7%BD%AE%E6%95%99%E7%A8%8B/) | | | | |
| SSTap | [SSTap 1.0.9.7](https://github.com/mayunbaba2/SSTap-beta-setup) | | | | |
| Sockscap64 | [Sockscap64](https://www.sockscap64.com/sockscap-64-free-download-zh-hans/) | | | | |
| Brook | [Brook](https://github.com/txthinking/brook/releases) | [Brook](https://github.com/txthinking/brook/releases) | [Brook](https://github.com/txthinking/brook/releases) | [Brook](https://github.com/txthinking/brook/releases) | |
| Clash | **[Clash](https://github.com/Fndroid/clash_for_windows_pkg/releases)**<br/>[ClashDotNet](https://github.com/ClashDotNetFramework/ClashDotNetFramework/releases)<br/>[Clashy](https://github.com/SpongeNobody/Clashy/releases)<br />[ClashXW](https://github.com/ysc3839/ClashXW/releases)<br />[ClashMini](https://github.com/MetaCubeX/Clash.Mini/releases) | **[ClashX Pro](https://install.appcenter.ms/users/clashx/apps/clashx-pro/distribution_groups/public)**<br/>**[ClashX](https://github.com/yichengchen/clashX/releases)**<br/>[Clashy](https://github.com/SpongeNobody/Clashy/releases) | [Clash](https://github.com/Kr328/ClashForAndroid/releases) **[ClashR](https://github.com/BROBIRD/ClashForAndroid/releases)** | | [ClashR文档](https://docs.cfw.lbyczf.com/) |
| trojan | [trojan](https://github.com/trojan-gfw/trojan/releases) | [trojan](https://github.com/trojan-gfw/trojan/releases) | [trojan](https://github.com/trojan-gfw/igniter/releases) | | |
| WireGuard | [WireGuard](https://www.wireguard.com/install/) | [WireGuard](https://www.wireguard.com/install/) | [WireGuard](https://play.google.com/store/apps/details?id=com.wireguard.android) | | |
| lantern | [lantern](https://getlantern.org/) | [lantern](https://getlantern.org/) | [lantern](https://getlantern.org/) | | |
| Tor Browser | [Tor Browser](https://www.torproject.org/download/) | [Tor Browser](https://www.torproject.org/download/) | [Tor Browser](https://www.torproject.org/download/) | | [官网](https://www.torproject.org/) |
| 无界浏览 | [无界浏览](http://www.wujieliulan.com/news.php) | | [无界浏览](http://www.wujieliulan.com/news.php) | | |
| 自由門 | [自由門](https://git.io/fgp) | | [自由門](https://git.io/fgma) | | |
| 赛风 | [psiphon3](https://psiphon3.com/zh/download.html) | | [Psiphon Pro](https://play.google.com/store/apps/details?id=com.psiphon3.subscription) | [Psiphon](https://itunes.apple.com/us/app/psiphon/id1276263909?ls=1&mt=8) | [用户指南](https://psiphon3.com/zh/user-guide.html) |
[Stair SpeedTest](https://github.com/tindy2013/stairspeedtest-reborn/releases)批量节点检测工具支持单链接、订阅地址支持SS\SSR\V2ray协议";
return $sContent;
}
public function Test($aArticle)
{
if (!$this->todayUpd()) {
return false;
}
$this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/getlast';
$sFreenodeNow = $this->oHttp->send();
$aFreenodeNow = json_decode($sFreenodeNow, 1);
return json_encode($aFreenodeNow).time();
}
}