1 Star 4 Fork 2

天才无敌小逗比 / webpublish

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

WebPublish

release building npm

一个快速发布文件夹、文件、MBTiles和代理的开发工具

安装包

背景

在工作中,经常会遇到需要发布一个页面,或者发布一个数据。这个时候配置nginx或者其他的就有点费劲,需要有个快速的工具来发布这些内容。

我的同事@IKangXu 开发了一个c#/WPF版本的发布工具,挺好用。但是发布某个带有“+”的数据的时候链接错误找不到,并且每发布一个数据,就需要增加一个端口。有点浪费。

至此,我决定自己写一个发布小工具,nodejs对于请求吞吐比较好,所以决定使用electron来开发一个本地静态发布工具。因为是第一次写electron以及vue。也在不断的摸索之中。

支持能力

  • 开机自启
  • 支持设置gzip
  • 支持设置端口
  • 支持选择ip
  • 支持公用端口的服务单独设置二级路径(id)
  • 支持服务关闭和开启
  • 支持代理
  • 支持设置跨域(目前默认开启)
  • 支持最小化到托盘
  • 支持MBTiles
  • 多语言支持
  • 任务检索
  • 支持Linux
  • 支持MBTiles的png和pbf
  • 支持Cesiumlab的clt

使用文档

正在搭建中...

开始

一下说明将为你提供在本地计算机上启动并运行该项目源代码。

先决条件

Nodejs 12.21

安装

克隆项目

首先下载项目到本地

https://github.com/CandyACE/webpublish.git

国内的用户可以采取这种

git clone https://gitee.com/tstwt/webpublish.git

初始化项目

npm install

调试项目

npm run dev

打包项目

npm run build

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

MIT License Copyright (c) 2021 TangWeitian Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个快速发布文件夹、文件、MBTiles的工具 展开 收起
JavaScript 等 5 种语言
MIT
取消

发行版 (3)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/tstwt/webpublish.git
git@gitee.com:tstwt/webpublish.git
tstwt
webpublish
webpublish
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891