📊 各工具有效下载次数
🏠 主站
◆ 开源脚本仓库

一行命令
随时随地跑脚本

无需 git clone,无需 npm install。 把 Node.js 脚本托管在这里,URL 即入口,一行 curl 命令就能在任何服务器上运行。

terminal — zsh
# 一键启动局域网IP显示服务
node <(curl https://js.ailiantang.top/ip.js)
0
可用脚本
有效调用
开源
MIT License

📦 脚本库

🎯 分享你的脚本

有好用的工具脚本?欢迎投稿!只要你的脚本对别人有用, 管理员审核通过后就会托管到仓库根目录,供全球开发者使用。

01

编写脚本

写一个自包含的 Node.js 脚本,放到项目根目录,用文件名作为调用入口。

02

发邮件投稿

将脚本文件作为附件发送到 admin@ailiantang.top,注明脚本用途和使用说明。

03

审核上线

管理员审核脚本质量和安全性,通过后部署上线,一行命令即可调用。

🔗 Permanent Alias

Set up a permanent alias so you can run any tool with ainode <name> instead of the full curl command.

# Add this to ~/.bashrc or ~/.zshrc ainode() { node <(curl -s "https://js.ailiantang.top/$1.js") "${@:2}" }

💡 Then run: source ~/.bashrc or source ~/.zshrc

# Add this to ~/.config/fish/config.fish function ainode node <(curl -s "https://js.ailiantang.top/$argv[1].js") $argv[2..-1] end

💡 Then run: source ~/.config/fish/config.fish

# Add this to your PowerShell profile (notepad $PROFILE) function ainode($tool) { Invoke-RestMethod "https://js.ailiantang.top/$tool.js" | node - }

💡 Then run: . $PROFILE

:: Save as C:\Users\%USERNAME%\ainode.bat and add the folder to PATH @echo off curl -s "https://js.ailiantang.top/%1.js" | node - %2 %3 %4 %5 %6 %7 %8 %9

💡 Usage: ainode ip