# sjaweb **Repository Path**: samzhangjy/sjaweb ## Basic Information - **Project Name**: sjaweb - **Description**: 用flask开发的网络应用,可以用来分析scratch程序的信息,例如代码块数、某个种类的个数等 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-26 - **Last Updated**: 2021-02-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sjaweb ![upload](./doc/upload.png) ![report](./doc/report.png) [在线体验](http://kunkunpaw.pythonanywhere.com/) ## 简介 sjaweb 是[scratch 项目分析器](https://github.com/GuYan1024/SJA.git)的 web 版本 后端框架是 flask scratch是一个由麻省理工学院开发的一款图形化编程语言(目前在Tiobe排行榜上排第24), 主要面对青少年。比较著名的社区有[kada](https://kada.163.com/)、 [阿尔法营](http://aerfaying.com/)等。 这个应用可以分析scratch3文件的成分,如:有多少运动模块、外观模块、自定义模块…… ## 项目结构 ```shell sjaweb | .flaskenv -- 自定义环境变量 | .gitignore | core.py -- scratch解析器,已弃用,未来会删除 | help.md -- 帮助文档 | LICENSE | README.md | requirements.txt -- 依赖项 | +---doc -- 说明文件的图片等资源 | report.png | upload.png | +---sja -- scratch解析器 | | core.py | | errors.py | | opcode.py | | report.py | | __init__.py | | | \---webapp -- 一个flask项目 | commands.py | models.py | settings.py -- 设置 | views.py | __init__.py -- 程序实例 | +---static -- 静态资源 | favicon.ico | \---templates -- 模板 404.html about.html base.html help.html index.html report.html ``` ## 安装 你需要有 python3.6 以上的版本 在你的终端找个地方运行: ```shell git clone https://gitee.com/gitkunkun/sjaweb.git cd sjaweb pip install -r requirements.txt ``` 就这么简单 ## 启动服务器 在项目的根目录下执行: ```shell flask run ``` 然后访问`127.0.0.1:5000`就可以看到了 你也可以[在线体验](http://kunkunpaw.pythonanywhere.com/) ## 其它疑问 参见"帮助"页面或 help.md