cgkings / cg_shellbot Goto Github PK
View Code? Open in Web Editor NEWThis project forked from botgram/shell-bot
VPS remote operation on telegram
License: GNU General Public License v3.0
This project forked from botgram/shell-bot
VPS remote operation on telegram
License: GNU General Public License v3.0
1
CentOS安装,仅需要对手动教程进行一点小改动,
把Ubuntu/Debian系统包管理apt --> CentOS的yum进行安装
其中,
手动教程中-2.安装node-pty依赖项过程中
yum install -y make python build-essential
解决方案
参考一下网址Can't Install build-essential on CentOS,提供两种选择
两种选择
sudo yum groupinstall 'Development Tools'
yum install gcc gcc-c++ make
安装成功后,到fclone_shell_bot/目录下,
执行npm install
,
安装该项目所需要的modules(被放入./node_modules/文件夹)
之后,执行 node server
命令,开启机器人。
提醒:
如果遇到以下情况之类情况,
请重新删掉node_modules/文件夹,确定依赖包安装无误后,再重新npm install安装。
比如电影类我想复制到movie文件夹
电视剧我想复制到tv文件夹
现在似乎还不支持这个
你的选择,ls基础模式
2020/09/07 13:58:03 Failed to create file system for ":{12ZGCqvwmrQ_38EJiZJHFgdvzI8nM4hap}": config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space
2020/09/07 13:58:03 Failed to create file system for ":{12ZGCqvwmrQ_38EJiZJHFgdvzI8nM4hap}": config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space
▣▣▣▣▣▣▣▣查询信息▣▣▣▣▣▣▣▣
┋ name ┋:
┋ file ┋:0
┋ folder┋:0
┋ total ┋:0
你的选择,size基础模式
2020/09/07 14:01:23 Failed to create file system for ":{12ZGCqvwmrQ_38EJiZJHFgdvzI8nM4hap}": config name contains invalid characters - may only contain 0-9, A-Z ,a-z ,_ , - and space
▣▣▣▣▣▣▣▣查询信息▣▣▣▣▣▣▣▣
┋资源名称┋:
┋资源数量┋:
┋资源大小┋:
你的选择,极速查询模式
/root/fclone_shell_bot/script/fsize.sh: line 94: 2020/09/07: No such file or directory
(重复报错这条,只能/cancel强制取消)
换了一个tg号,但是并不想在重新搭建一遍,于是使用脚本中的修改bot配置,将原来的id换成了现在的id,重启bot之后仍无法在新的tg号中使用,请教如何配置多用户使用权限或者替换bot的使用者,感谢作者!
读取文件夹名称出错,请反馈问题给作者
/root/fclone_shell_bot/script/fqcopy_a.sh: line 22: break: only meaningful in a for',
while', or until' loop /root/fclone_shell_bot/script/fqcopy_a.sh: line 45: syntax error near unexpected token
else'
/root/fclone_shell_bot/script/fqcopy_a.sh: line 45: ` else'
https://github.com/cgkings/fclone_shell_bot/raw/master/fclone/fclone.zip
这个无法下载了,导致fclone的安装失败
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (/root/fclone_shell_bot/server.js:9:15)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/root/fclone_shell_bot/server.js' ]
}
root@vultr:~/fclone_shell_bot# cd ~/fclone_shell_bot && node server
internal/modules/cjs/loader.js:968
throw err;
^
Error: Cannot find module 'botgram'
Require stack:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.