nano-cf-panel:功能不错的CloudFlare partner管理面板

nano-cf-panel,基于django的一个简易并持续开发中的CloudFlare API面板(本面板需要配合Partner key使用,即将集成账号直接登陆方式),目前实现了部分免费的API功能包括部分统计功能。

面板有两种语言选择,中文和英文,请在登陆页面在左上角浮标上提前设置,cookies会记录这一设置,直至过期和登出。注意:此面板只是短暂记录你的账号信息(邮箱,API key)用于API 的调用,同cookies生存时间相同。

开源页面:https://github.com/nanodog/nano-cf-panel 本地下载:nano-cf-panel-20200305

附ubuntu 18下安装教程(uwsgi+django): 升级下

apt-get update

安装python3

sudo apt install python3

为了配置环境方便,安装pip3

apt install python3-pip

依此安装必要环境

apt install git git clone https://github.com/nanodog/nano-cf-panel cd nano-cf-panel pip3 install -r requestment.txt

配置panel.ini文件(简单示例):

[uwsgi] http = 0.0.0.0:80 #端口 chdir = PATH/nano-cf-panel #项目根目录 wsgi-file=mysite/wsgi.py #wsgi配置文件 processes = 1#(后端缓存方式,进程暂时为1进程) threads = 2 static-map=/static=static #静态资源路径“static-map=/static”为配置变量

设置CloudFlare Partner host_key (/mysite/settings.py):

################################################################ #CF_partner api key: host_key='xxxxxxxxxxxxxxxxxxxxxxxxxxxx' host_key='' ################################################################

尝试通过uwsgi启动项目:

uwsgi -d --ini panel.ini

使用浏览器访问

推荐站内搜索:国外php空间、台湾服务器租用、虚拟空间主机、ip查看、服务器空间、免费外网服务器、php空间购买、申请免费空间、动态ip的vps、注册国际域名、