-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from emqx/develop
merge develop to master
- Loading branch information
Showing
38 changed files
with
477 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<img src="./assets/mqttx-logo.png" width="480" alt="MQTTX Logo"/> | ||
|
||
## MQTTX | ||
|
||
[![GitHub Release](https://img.shields.io/github/release/emqx/mqttx?color=brightgreen)](https://github.com/emqx/mqttx/releases) ![Support Platforms](https://camo.githubusercontent.com/a50c47295f350646d08f2e1ccd797ceca3840e52/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d6d61634f5325323025374325323057696e646f77732532302537432532304c696e75782d6c69676874677265792e737667) [![Total Downloads](https://img.shields.io/github/downloads/emqx/mqttx/total.svg)](https://github.com/emqx/mqttx/releases) | ||
|
||
[English](./README.md) | 简体中文 | ||
|
||
--- | ||
|
||
MQTTX 是 EMQ 开源的一款跨平台 MQTT 桌面客户端,它支持 macOS, Linux, Windows。 | ||
|
||
MQTTX 采用了聊天界面形式,简化了页面操作逻辑,方便用户快速测试 MQTT/MQTTS 连接,及 MQTT 消息的发布与订阅。 | ||
|
||
## 预览 | ||
|
||
![mqttx-preview](./assets/mqttx-preview.png) | ||
|
||
## 安装 | ||
|
||
请从 [GitHub Releases](https://github.com/emqx/MQTTX/releases) 下载符合您的版本并安装使用。 | ||
|
||
## 使用 | ||
|
||
1. 首先创建一个 Broker | ||
|
||
2. 同一个 Broker 下可以创建多个客户端 | ||
|
||
3. 回到连接页面,选择刚才创建的 Broker 下的客户端进行连接测试 | ||
|
||
## 开发 | ||
|
||
``` shell | ||
# 克隆项目 | ||
git clone [email protected]:emqx/MQTTX.git | ||
|
||
# 安装依赖 | ||
cd MQTTX | ||
yarn install | ||
|
||
# 编译和热重载以进行开发 | ||
yarn run electron:serve | ||
|
||
# 编译和压缩以构建生产版本 | ||
yarn run electron:build | ||
``` | ||
|
||
## 贡献 | ||
|
||
1. Fork 这个项目 | ||
|
||
2. 添加 upstream remote `git remote add upstream [email protected]:emqx/MQTTX.git` | ||
|
||
3. 本地修改代码,添加一个 commit 在您本地新的分支里 | ||
|
||
4. 向 upstream 仓库的 develop 分支提交一个 Pull Request,我们将会审核它 | ||
|
||
## 技术栈 | ||
|
||
- [Vue](https://vuejs.org/) + [Element](https://element.eleme.io) | ||
- [Electron](https://electronjs.org/) | ||
- [TypeScript](https://www.typescriptlang.org/) | ||
- [Lowdb](https://github.com/typicode/lowdb) | ||
|
||
## License | ||
|
||
Apache License 2.0, see [LICENSE](https://github.com/emqx/MQTTX/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,66 @@ | ||
# MQTTX | ||
<img src="./assets/mqttx-logo.png" width="480" alt="MQTTX Logo"/> | ||
|
||
Cross-platform MQTT desktop client | ||
## MQTTX | ||
|
||
[![GitHub Release](https://img.shields.io/github/release/emqx/mqttx?color=brightgreen)](https://github.com/emqx/mqttx/releases) ![Support Platforms](https://camo.githubusercontent.com/a50c47295f350646d08f2e1ccd797ceca3840e52/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d6d61634f5325323025374325323057696e646f77732532302537432532304c696e75782d6c69676874677265792e737667) [![Total Downloads](https://img.shields.io/github/downloads/emqx/mqttx/total.svg)](https://github.com/emqx/mqttx/releases) | ||
|
||
English | [简体中文](./README-CN.md) | ||
|
||
--- | ||
|
||
MQTTX is a cross-platform MQTT desktop client open sourced by EMQ, which supports macOS, Linux, and Windows. | ||
|
||
MQTTX adopts the form of chat interface, which simplifies the page operation, facilitates the user to quickly test the MQTT/MQTTS connection, publish and subscribe to MQTT messages. | ||
|
||
## Preview | ||
|
||
![mqttx-preview](./assets/mqttx-preview.png) | ||
|
||
## Installation | ||
|
||
Download from [GitHub Releases](https://github.com/emqx/MQTTX/releases) and install it. | ||
|
||
## Project setup | ||
## Usage | ||
|
||
1. Create broker | ||
|
||
2. The same broker can create many clients | ||
|
||
3. Go back to connectons page, select the broker's client for connection testing | ||
|
||
## Develop | ||
|
||
``` shell | ||
# Clone | ||
|
||
git clone [email protected]:emqx/MQTTX.git | ||
|
||
cd MQTTX | ||
|
||
# Install dependencies | ||
|
||
cd MQTTX | ||
yarn install | ||
|
||
# Compiles and hot-reloads for development | ||
|
||
yarn run electron:serve | ||
|
||
# Compiles and minifies for production | ||
|
||
yarn run electron:build | ||
``` | ||
|
||
### Customize configuration | ||
## Contributing | ||
|
||
1. Fork this repository | ||
|
||
2. Add upstream remote `git remote add upstream [email protected]:emqx/MQTTX.git` | ||
|
||
3. Modify code, add commit on new branch, push it | ||
|
||
4. Submit a pull request to upstream develop branch, we will review it | ||
|
||
## Technology Stack | ||
|
||
See [Configuration Reference](https://cli.vuejs.org/config/). | ||
- [Vue](https://vuejs.org/) + [Element](https://element.eleme.io) | ||
- [Electron](https://electronjs.org/) | ||
- [TypeScript](https://www.typescriptlang.org/) | ||
- [Lowdb](https://github.com/typicode/lowdb) | ||
|
||
## License | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
<template> | ||
<div id="app"> | ||
<NativeTitlebar v-if="OS === 'darwin'" /> | ||
<RouterView/> | ||
</div> | ||
</template> | ||
|
||
|
||
<script lang="ts"> | ||
import { Component, Vue } from 'vue-property-decorator' | ||
import NativeTitlebar from '@/components/NativeTitlebar.vue' | ||
@Component({ | ||
components: { | ||
NativeTitlebar, | ||
}, | ||
}) | ||
export default class App extends Vue { | ||
private OS = process.platform | ||
} | ||
</script> | ||
|
||
|
||
<style lang="scss"> | ||
@import "./assets/font/iconfont.css"; | ||
@import "./assets/scss/base.scss"; | ||
@import "./assets/scss/theme/dark.scss"; | ||
@import "./assets/scss/theme/light.scss"; | ||
@import "./assets/scss/theme/purple.scss"; | ||
</style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,32 @@ | ||
body.dark { | ||
/* Backgroud color */ | ||
--color-bg-primary: #747272; | ||
--color-bg-tabs: #F8F8F8; | ||
--color-bg-tabs_hover: #F8F8F8; | ||
--color-bg-normal: #282828; | ||
--color-bg-primary: #232323; | ||
--color-bg-tabs: #484848; | ||
--color-bg-tabs_hover: #303030; | ||
--color-bg-item: #395449; | ||
--color-bg-item_status: #9EA3B1; | ||
--color-bg-input: #323232; | ||
--color-bg-messagebox: #303133; | ||
|
||
/* Font color */ | ||
--color-text-title: #262626; | ||
--color-text-default: #616161; | ||
--color-text-light: #A2A9B0; | ||
--color-text-title: #ffffff; | ||
--color-text-default: #d3d3d3; | ||
--color-text-light: #a3a3a3; | ||
--color-text-tips: #B4B4B4; | ||
--color-text-right_block: #484848; | ||
--color-text-right_info: #959599; | ||
--color-text-left_info: #959599; | ||
|
||
/* Accent color */ | ||
--color-main-green: #34C388; | ||
--color-second-green: #53DAA2; | ||
--color-thrid-green: #EBF8F2; | ||
--color-main-red: #E86AA6; | ||
--color-second-red: #EF607C; | ||
--color-main-grey: #323232; | ||
|
||
/* Border color */ | ||
--color-border-default: #E6E8F1; | ||
--color-border-default: #383838; | ||
--color-border-bold: #969696; | ||
} |
Oops, something went wrong.