Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Update name, documentation, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
hunter-ji committed Aug 16, 2022
1 parent 7915aae commit 6d701ea
Show file tree
Hide file tree
Showing 31 changed files with 74 additions and 53 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
<p align="center">
<img src="./build/icon.png" alt="logo" width="120" height="120" />
</p>
<h3 align="center">RedFish</h3>
<h3 align="center">RedisFish</h3>

<p align="center">
<img src="https://img.shields.io/github/v/release/Kuari/RedFish.svg" alt="release" />
<img src="https://img.shields.io/github/v/release/Kuari/RedisFish.svg" alt="release" />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen" alt="RPs" />
<img src="https://img.shields.io/github/downloads/Kuari/RedFish/total" alt="downloads" />
<img src="https://img.shields.io/github/downloads/Kuari/RedisFish/total" alt="downloads" />
</p>



## Info

`RedFish` is a convenient, cross-platform, data-focused Redis GUI client. Since `Beta 1.0.0`, after several months of development, many areas have been optimized, and even some functions include different processing methods, which can adapt to different operating habits, hoping to bring a better experience.
`RedisFish` is a convenient, cross-platform, data-focused Redis GUI client🌈🌈🌈. Maybe you will like it.

language: [简体中文](https://github.com/Kuari/RedFish/blob/main/README.zh-CN.md) 英文
Since `v 1.0.0`, I have received a lot of useful feedback from friends, thank you very much!

download: [releases](https://github.com/Kuari/RedFish/releases)
> Formerly RedFish, renamed due to the same name


language: [简体中文](https://github.com/Kuari/RedisFish/blob/main/README.zh-CN.md) English

download: [releases](https://github.com/Kuari/RedisFish/releases)



Expand All @@ -30,7 +36,8 @@ download: [releases](https://github.com/Kuari/RedFish/releases)
* JSON auto format
* JSON viewing and editing
* key list paging query
* The key list can be filtered by prefix grouping, support`:`, `-`, `_`, `#`, `=`, `+`
* The key list can be filtered by prefix grouping, support`:`, `-`, `_`, `#`, `=`, `+`, select in settings
* The key list supports two different modes: the list is displayed directly and classified into folders according to the prefix, which can be switched in the settings.
* The console supports two different modes: single command execution and multi-command execution at the same time
* Support log function, view execution command log
* Database monitoring, supports cpu usage, memory usage, number of connected clients, number of clients waiting for blocking commands
Expand Down Expand Up @@ -62,3 +69,7 @@ download: [releases](https://github.com/Kuari/RedFish/releases)
![Screenshots](./Screenshots/Screenshots5.png)

![Screenshots](./Screenshots/Screenshots6.png)

![Screenshots](./Screenshots/Screenshots7.png)

![Screenshots](./Screenshots/Screenshots8.png)
31 changes: 21 additions & 10 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
<p align="center">
<img src="./build/icon.png" alt="logo" width="120" height="120" />
</p>
<h3 align="center">RedFish</h3>
<h3 align="center">RedisFish</h3>

<p align="center">
<img src="https://img.shields.io/github/v/release/Kuari/RedFish.svg" alt="release" />
<img src="https://img.shields.io/github/v/release/Kuari/RedisFish.svg" alt="release" />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen" alt="RPs" />
<img src="https://img.shields.io/github/downloads/Kuari/RedFish/total" alt="downloads" />
<img src="https://img.shields.io/github/downloads/Kuari/RedisFish/total" alt="downloads" />
</p>



## 介绍

`RedFish`是一款便捷、跨平台、专注于数据的Redis GUI客户端🌈🌈🌈。自从`Beta 1.0.0`之后,经过几个月的开发,优化了不少地方,甚至有的功能包括不同的处理方式,可以适应不同的操作习惯,希望能够带来更好的体验。
`RedisFish`是一款便捷、跨平台、专注于数据的Redis GUI客户端🌈🌈🌈。或许你会喜欢~

语言: 简体中文 [英文](https://github.com/Kuari/RedFish)
自从`v 1.0.0`后,收到不少小伙伴儿很有用的反馈,非常感谢!

下载: [releases](https://github.com/Kuari/RedFish/releases)
> 原RedFish,由于重名而改名


语言: 简体中文 [English](https://github.com/Kuari/RedisFish)

下载: [releases](https://github.com/Kuari/RedisFish/releases)



Expand All @@ -30,22 +36,23 @@
* JSON自动格式化
* JSON查看和编辑
* key列表分页查询
* key列表可以通过前缀分组筛选,支持`:``-``_``#``=``+`分割
* key列表可以通过前缀分组筛选,支持`:``-``_``#``=``+`分割,在设置中选择
* key列表支持两种不同模式:列表直接展示和根据前缀分类成文件夹展示,在设置中切换
* console支持两种不同模式:单条命令执行和多命令同时执行
* 支持日志功能,查看执行命令日志
* 数据库监控,支持cpu占用率、内存使用量、已连接客户端数、等待阻塞命令客户端数
* 发布/订阅功能图形化操作
* TLS
* 暗黑模式
* 多语言支持,支持中文、英文,根据系统自动切换
* 自动更新(目前仅限mac端
* 自动更新(目前仅限MAC和Linux端



## 快捷键

* **复制**: `Command/Ctrl` + `鼠标左击`点击数据复制
* **数据放大编辑**: `鼠标右击`数据,打开Data Zoom,包括文本和json两种模式,可以自动识别
* **Data Zoom**: `鼠标右击`数据,打开Data Zoom,包括文本和json两种模式,可以自动识别



Expand All @@ -67,4 +74,8 @@

![Screenshots](./Screenshots/Screenshots5.png)

![Screenshots](./Screenshots/Screenshots6.png)
![Screenshots](./Screenshots/Screenshots6.png)

![Screenshots](./Screenshots/Screenshots7.png)

![Screenshots](./Screenshots/Screenshots8.png)
Binary file modified Screenshots/Screenshots1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshots/Screenshots2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshots/Screenshots3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshots/Screenshots4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshots/Screenshots5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshots/Screenshots6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Screenshots7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Screenshots8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions build/notarize.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { notarize } from 'electron-notarize'

export const notarizing = async () => {
return await notarize({
appPath: 'RedFish.app', // 应用的路径 xxx.app 结尾的
appBundleId: 'com.kuari.RedFish', // appid
appPath: 'RedisFish.app', // 应用的路径 xxx.app 结尾的
appBundleId: 'com.kuari.RedisFish', // appid
appleId: process.env.AppleID, // 苹果开发者 id
appleIdPassword: process.env.AppleIdPassword, // 应用专用密码
ascProvider: process.env.AscProvider // 证书提供者
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "RedFish",
"name": "RedisFish",
"version": "1.0.2",
"author": "Kuari",
"homepage": "https://github.com/Kuari/RedFish",
"homepage": "https://github.com/Kuari/RedisFish",
"scripts": {
"electron:build": "vue-cli-service electron:build",
"electron:build:mac": "vue-cli-service electron:build --macos --arm64 --x64",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>RedFish</title>
<title>RedisFish</title>
<link rel="stylesheet" href="css-vars.css">
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const fetchData = async () => {
if (!language) {
language = 3
}
console.log(language)
handleLanguageSwitch(language)
}
Expand Down
5 changes: 4 additions & 1 deletion src/locales/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
"cancel": "cancel",
"submit": "run"
},
"clearLog": "clear"
"logDialog": {
"title": "log",
"clearLog": "clear"
}
},
"keyTab": {},
"newKeyValue": {
Expand Down
5 changes: 4 additions & 1 deletion src/locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
"cancel": "取消",
"submit": "执行"
},
"clearLog": "清空日志"
"logDialog": {
"title": "日志",
"clearLog": "清空日志"
}
},
"keyTab": {},
"newKeyValue": {
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const state: configType = {
theme: 3,
isVideoShow: 1,
language: 3,
keyMenuStatus: 1,
keyMenuStatus: 2,
keyMenuFilterSymbol: 1,
keyMenuFilterSymbolStr: ':'
}
Expand Down
6 changes: 3 additions & 3 deletions src/views/config/about.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<div class="about-container flex flex-col justify-center items-center py-4">
<img src="@/assets/icon.png" alt="logo" width="120" height="120" class="rounded-full shadow hover:shadow-xl" />
<div class="mt-4 text-2xl">RedFish</div>
<div class="mt-4 text-2xl">RedisFish</div>
<div class="mt-2 text-gray-400">v {{ version }}</div>
<div class="mt-6"><el-link @click="jump">Github.com/Kuari/RedFish</el-link></div>
<div class="mt-6"><el-link @click="jump">Github.com/Kuari/RedisFish</el-link></div>
</div>
</template>

Expand All @@ -12,6 +12,6 @@ import { shell } from 'electron'
import { version } from '../../../package.json'
const jump = () => {
shell.openExternal('https://github.com/Kuari/RedFish')
shell.openExternal('https://github.com/Kuari/RedisFish')
}
</script>
4 changes: 2 additions & 2 deletions src/views/config/keyMenuStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { useI18n } from 'vue-i18n'
import { useStore } from 'vuex'
const { t } = useI18n()
const radio = ref(1)
const radio = ref(2)
const store = useStore()
Expand All @@ -23,6 +23,6 @@ const handleChange = async (label: number) => {
}
onMounted(() => {
radio.value = store.getters.keyMenuStatus || 1
radio.value = store.getters.keyMenuStatus || 2
})
</script>
2 changes: 1 addition & 1 deletion src/views/historyLog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<!-- btn -->
<div class="flex justify-end pt-2">
<el-button type="success" @click="handleClearLog" :disabled="state.content.length === 0">{{ t('keyMenu.clearLog') }}</el-button>
<el-button type="success" @click="handleClearLog" :disabled="state.content.length === 0">{{ t('keyMenu.logDialog.clearLog') }}</el-button>
</div>
</div>
</template>
Expand Down
18 changes: 10 additions & 8 deletions src/views/keyMenu/group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</el-dialog>

<!-- history log -->
<el-dialog v-model="dialogState.logShow" :title="t('keyMenu.delDialog.title')" width="60%" center top="10vh">
<el-dialog v-model="dialogState.logShow" :title="t('keyMenu.logDialog.title')" width="60%" center top="10vh">
<history-log :server-tab="props.serverTab" v-if="dialogState.logShow" />
</el-dialog>
</div>
Expand Down Expand Up @@ -230,13 +230,15 @@ const handleGroupKeys = async (keys: string[]) => {
}
}
state.keysList.push({
label: 'other',
value: state.keysList.length,
count: otherGroupChildren.length,
isKey: false,
children: otherGroupChildren
})
if (otherGroupChildren.length) {
state.keysList.push({
label: 'other',
value: state.keysList.length,
count: otherGroupChildren.length,
isKey: false,
children: otherGroupChildren
})
}
}
const fetchData = async () => {
await changeLoading(true)
Expand Down
2 changes: 1 addition & 1 deletion src/views/keyMenu/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
</el-dialog>

<!-- history log -->
<el-dialog v-model="dialogState.logShow" :title="t('keyMenu.delDialog.title')" width="60%" center top="10vh">
<el-dialog v-model="dialogState.logShow" :title="t('keyMenu.logDialog.title')" width="60%" center top="10vh">
<history-log :server-tab="props.serverTab" v-if="dialogState.logShow" />
</el-dialog>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/views/newKeyValue/hashType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ const handleRowEdit = (id: number, label: string) => {
setTimeout(() => {
const dom = document.getElementById(`hash-row-input-${id}`)
if (dom) {
console.log('dom : ', dom)
dom.focus()
}
}, 100)
Expand Down
1 change: 0 additions & 1 deletion src/views/newKeyValue/listType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ const handleRowEdit = (id: number) => {
setTimeout(() => {
const dom = document.getElementById(`list-row-input-${id}`)
if (dom) {
console.log('dom : ', dom)
dom.focus()
}
}, 100)
Expand Down
1 change: 0 additions & 1 deletion src/views/newKeyValue/zsetType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ const handleRowEdit = (id: number, label: string) => {
setTimeout(() => {
const dom = document.getElementById(`z-set-row-input-${id}`)
if (dom) {
console.log('dom : ', dom)
dom.focus()
}
}, 100)
Expand Down
1 change: 0 additions & 1 deletion src/views/serverTab/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const removeTab = (targetName: string) => {
const data: ComputedRef<serverTabType[]> = computed(() => store.getters.serverTabList)
const keyMenuStatus = computed(() => {
console.log(store.getters.keyMenuStatus)
return store.getters.keyMenuStatus === 1
})
Expand Down
1 change: 0 additions & 1 deletion src/views/valueContent/hashType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ const handleRowEdit = (id: number, label: string) => {
setTimeout(() => {
const dom = document.getElementById(`hash-row-input-${id}`)
if (dom) {
console.log('dom : ', dom)
dom.focus()
}
}, 100)
Expand Down
1 change: 0 additions & 1 deletion src/views/valueContent/listType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ const handleRowEdit = (id: number) => {
setTimeout(() => {
const dom = document.getElementById(`list-row-input-${id}`)
if (dom) {
console.log('dom : ', dom)
dom.focus()
}
}, 100)
Expand Down
1 change: 0 additions & 1 deletion src/views/valueContent/zsetType.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ const handleRowEdit = (id: number, label: string) => {
setTimeout(() => {
const dom = document.getElementById(`z-set-row-input-${id}`)
if (dom) {
console.log('dom : ', dom)
dom.focus()
}
}, 100)
Expand Down
1 change: 0 additions & 1 deletion src/views/videoTutorial/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const { t, locale } = useI18n()
const store = useStore()
const jump = () => {
console.log(locale.value)
if (locale.value === 'zh_CN') {
shell.openExternal('https://www.bilibili.com/video/BV1Wf4y1d7JZ?share_source=copy_web')
} else {
Expand Down
8 changes: 4 additions & 4 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ module.exports = {
nodeIntegration: true,
disableMainProcessTypescript: false,
mainProcessTypeChecking: false,
productName: 'RedFish',
appId: 'com.kuari.RedFish',
productName: 'RedisFish',
appId: 'com.kuari.RedisFish',
copyright: '© Kuari 2022',
afterSign: 'build/notarize.js',
publish: [
{
provider: 'github',
owner: 'Kuari',
repo: 'RedFish',
repo: 'RedisFish',
releaseType: 'draft'
}
],
Expand All @@ -38,7 +38,7 @@ module.exports = {
installerHeaderIcon: 'build/icon.ico',
createDesktopShortcut: true,
createStartMenuShortcut: true,
shortcutName: 'RedFish'
shortcutName: 'RedisFish'
},
dmg: {
contents: [
Expand Down

0 comments on commit 6d701ea

Please sign in to comment.