{"id":18031867,"url":"https://github.com/benzbrake/shell_collections","last_synced_at":"2025-03-27T05:31:03.026Z","repository":{"id":78297344,"uuid":"49244639","full_name":"benzBrake/Shell_Collections","owner":"benzBrake","description":"Userful shell script collections","archived":false,"fork":false,"pushed_at":"2023-09-05T14:05:09.000Z","size":512,"stargazers_count":17,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T04:51:09.846Z","etag":null,"topics":["shell-scripts","torrents"],"latest_commit_sha":null,"homepage":"http://doufu.ru","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benzBrake.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-08T02:39:24.000Z","updated_at":"2023-09-08T17:05:33.000Z","dependencies_parsed_at":"2024-10-30T10:22:41.613Z","dependency_job_id":null,"html_url":"https://github.com/benzBrake/Shell_Collections","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzBrake%2FShell_Collections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzBrake%2FShell_Collections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzBrake%2FShell_Collections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benzBrake%2FShell_Collections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benzBrake","download_url":"https://codeload.github.com/benzBrake/Shell_Collections/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791343,"owners_count":20672665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["shell-scripts","torrents"],"created_at":"2024-10-30T10:11:35.224Z","updated_at":"2025-03-27T05:31:03.020Z","avatar_url":"https://github.com/benzBrake.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ryan 写的脚本合集\n\n不全，不过大部份都会在这里存档，有些自己用的就放到 Coding 咯\n\n:warning:: 目前有问题，待更新\n\n## CloudTorrent\n\n安装 CloudTorrent BT 离线下载工具\n\n## Fail2ban\n\n:warning:: fail2ban 一键安装脚本\n\n## Nginx_Onekey\n\nNginx 一键安装脚本，不包含 PHP MYSQL SQLITE\n\n## ngx_google_deployment\n\nGoogle 反代一键安装脚本，基于 Nginx_Onekey\n\n## RyLLMP\n\nlighttpd+mysql+sqlite+php 一键安装脚本\n二进制安装，速度快\n\n## supervisord\n\n:warning:: Supervisor 一键安装脚本\n\n## debian_squeeze_apt_sources.sh\n\nFix apt-get update 404 on debian squeeze\n修复 Debian apt-get 时报 404 错误\n\n```shell\nbash -c \"$(wget https://raw.githubusercontent.com/benzBrake/Shell_Collections/master/debian_squeeze_apt_sources.sh -O -)\"\n```\n\n## jotta_cli.sh\n\nInstall Jotta-cli tools automatic\n一键安装 Jotta-cli\n\n```shell\nbash -c \"$(wget https://raw.githubusercontent.com/benzBrake/Shell_Collections/master/jotta_cli.sh -O -)\"\n```\n\n## gdrive_cli.sh\n\nInstall prasmussen/gdrive automatic\n一键安装 gdrive-cli\n\n```shell\nbash -c \"$(wget https://raw.githubusercontent.com/benzBrake/Shell_Collections/master/gdrive_cli.sh -O -)\"\n```\n\n## iptables_rules.sh\n\nUseful iptables rules (not work on CentOS 7/RHEL 7)\n\n```shell\nbash -c \"$(wget https://raw.githubusercontent.com/benzBrake/Shell_Collections/master/iptables_rules.sh -O -)\"\n```\n\n## rclone-mount.sh\n\nRCLONE 辅助挂载脚本\n\n先安装 fuse 和 fuse3\n\n```shell\napt update\napt install fuse fuse3\n```\n\n然后下载此脚本，比如下载到`/data/rclone`下，然后修改脚本\n\n```shell\n#--Config Start\nBIN=\"/usr/bin/rclone\"  # rclone 路径\nCONFIG=\"/data/rclone/rclone.conf\" # rclone 配置文件\nLOG_PATH=\"/var/log/rcloned.log\" # rclone 日志路径\nMOUNT_LIST=\"/data/rclone/mount.conf\" # 挂载列表\n#--Config End\n```\n\n`mount.conf`格式如下\n\n```\n配置名:=挂载路径\n```\n\n比如我的配置如下\n\n```shell\n# rclone config\nCurrent remotes:\n\nName                 Type\n====                 ====\ndy001                onedrive\n```\n\n`mount.conf`的格式如下\n如果想暂时不挂载，添加#靠头即可\n\n```\n# local=googleone:=/mnt/googleone 这是注释示例\nwebdav=jotta:/=0.0.0.0:19797=root:1234\nlocal=115:=/mnt/115\n```\n\n然后运行脚本即可\n\n```shell\nsh rclone-mount.sh start\n```\n\n## tcping.sh\n\n一键安装支持 ipv4/ipv6 双栈的 tcping\n\n```bash\ncurl -sSL https://raw.githubusercontent.com/benzBrake/Shell_Collections/master/tcping.sh | sh\n```\n\n## openwrt-install-clouddrive2.sh\n\nopenwrt 环境一键安装 clouddrive2\n\ncurl -sSL https://raw.githubusercontent.com/benzBrake/Shell_Collections/master/openwrt-install-clouddrive2.sh | bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenzbrake%2Fshell_collections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenzbrake%2Fshell_collections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenzbrake%2Fshell_collections/lists"}