All Projects → muyao1987 → web-dist

muyao1987 / web-dist

Licence: Apache-2.0 license
传统模式开发的web站点 进行整站所有文件压缩及混淆处理

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to web-dist

Maven Min Plugin
📦 Latke application JavaScript and CSS files compression.
Stars: ✭ 5 (-88.37%)
Mutual labels:  compress
Tiny Html Minifier
Minify HTML in PHP with just a single class
Stars: ✭ 114 (+165.12%)
Mutual labels:  compress
Snzip
Snzip, a compression/decompression tool based on snappy
Stars: ✭ 177 (+311.63%)
Mutual labels:  compress
Gulp Tar
Create tarball from files
Stars: ✭ 28 (-34.88%)
Mutual labels:  compress
Html Minifier Terser
actively maintained fork of html-minifier - minify HTML, CSS and JS code using terser - supports ES6 code
Stars: ✭ 106 (+146.51%)
Mutual labels:  compress
Slim
Surprisingly space efficient trie in Golang(11 bits/key; 100 ns/get).
Stars: ✭ 1,705 (+3865.12%)
Mutual labels:  compress
Imageoptim Cli
Make optimisation of images part of your automated build process
Stars: ✭ 3,215 (+7376.74%)
Mutual labels:  compress
RecordVideo
视频录制压缩
Stars: ✭ 47 (+9.3%)
Mutual labels:  compress
Py7zr
7zip in python3 with ZStandard, PPMd, LZMA2, LZMA1, Delta, BCJ, BZip2, and Deflate compressions, and AES encryption.
Stars: ✭ 110 (+155.81%)
Mutual labels:  compress
Gtz
A high performance and compression ratio compressor for genomic data, powered by GTXLab of Genetalks.
Stars: ✭ 137 (+218.6%)
Mutual labels:  compress
Babel Plugin Const Enum
Transform TypeScript `const` enums
Stars: ✭ 38 (-11.63%)
Mutual labels:  compress
Compress.js
A simple JavaScript based client-side image compression algorithm
Stars: ✭ 86 (+100%)
Mutual labels:  compress
Hsuntzu
HDFS compress tar zip snappy gzip uncompress untar codec hadoop spark
Stars: ✭ 135 (+213.95%)
Mutual labels:  compress
Mcimage
Android Gradle Plugin -- Auto Check big image and compress image in building.
Stars: ✭ 872 (+1927.91%)
Mutual labels:  compress
Compresshelper
🔥 压缩文件,压缩图片,压缩Bitmap,Compress, CompressImage, CompressFile, CompressBitmap:https://github.com/nanchen2251/AiYaCompressHelper
Stars: ✭ 2,362 (+5393.02%)
Mutual labels:  compress
Flutter image compress
flutter image compress
Stars: ✭ 348 (+709.3%)
Mutual labels:  compress
Apiproject
[https://www.sofineday.com], golang项目开发脚手架,集成最佳实践(gin+gorm+go-redis+mongo+cors+jwt+json日志库zap(支持日志收集到kafka或mongo)+消息队列kafka+微信支付宝支付gopay+api加密+api反向代理+go modules依赖管理+headless爬虫chromedp+makefile+二进制压缩+livereload热加载)
Stars: ✭ 124 (+188.37%)
Mutual labels:  compress
ZipArchive
A single-class pure VB6 library for zip with ASM speed
Stars: ✭ 38 (-11.63%)
Mutual labels:  compress
Tiny
Blog:https://zhengxiaoyong.com Wechat:
Stars: ✭ 2,505 (+5725.58%)
Mutual labels:  compress
Cordova Plugin Mediapicker
cordova android ios mediaPicker support selection of multiple image and video gif ✨ cordova android 和 ios 图片视频选择cordova插件,支持多图 视频 gif,ui类似微信
Stars: ✭ 136 (+216.28%)
Mutual labels:  compress

web-dist

传统模式开发的web站点,进行整站所有文件压缩及混淆处理

很多公司开发的项目或非web前端工程师开发的一些web前端页面或系统都不是基于NodeJS或当前流行的前端技术栈来开发的,对于这部分人群来说压缩混淆整个web站点还是有点难度。

我们开发了一个基于gulp的直接简单易用的整站压缩混淆工具,会保持原项目的所有目录结构,递归进行对所有文件的压缩和混淆处理,使用步骤如下:

使用

  1. 首次使用输入命令:npm installcnpm install 安装依赖包
  2. 将需要压缩的站点放在src目录下,执行npm run build 命令后,结果站点会生成在dist目录下。
  3. 将dist目录拷贝至http服务容器中进行发布访问即可。

提示

  1. gulp4 对node版本有要求,可以百度查询学习下。
  2. 如果中间有报错,按提示修改相关文件内容,直至无错误提示
  3. 部分如cesium等由多个js组成的复杂的关联性lib 不能进行压缩(目前代码中已处理),可修改配置文件中noPipePath参数 或 将源文件覆盖至压缩后的文件中。
  4. 如果你懂点javascript技术,可以打开gulpfile.js文件,按需修改配置。

支持

  1. 支持js文件混淆及压缩
  2. 支持css、html、图片文件压缩
  3. 保持原项目的所有目录结构和其他格式文件的复制

更高级的加密方式

访问 https://github.com/muyao1987/web-dist-pro,该仓库与本仓库基本相同,但采用了更复杂的js加密方式,更难以破解,但是也更容易出问题,可以酌情使用。

作者

火星科技 - 木遥

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].