Skip to content

Commit fd53098

Browse files
committed
chore: update documentation and add new guides for TINKER
1 parent 6718a65 commit fd53098

9 files changed

Lines changed: 159 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
22
docs/.vitepress/cache/
33
dist/
4+
references/
45
package-lock.json

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
[submodule "docs/.vitepress/share"]
22
path = docs/.vitepress/share
33
url = https://github.com/liriliri/docs-share.git
4+
[submodule "tinker"]
5+
path = tinker
6+
url = https://github.com/liriliri/tinker.git
7+
[submodule "tinker-plugins"]
8+
path = tinker-plugins
9+
url = https://github.com/liriliri/tinker-plugins.git

docs/.vitepress/config.mts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ export default defineConfig({
4747
},
4848
},
4949
logo,
50+
sidebar: {
51+
'guide/': [
52+
{
53+
text: 'Introduction',
54+
link: '/guide/',
55+
},
56+
{
57+
text: 'Quick Start',
58+
link: '/guide/quickstart',
59+
},
60+
],
61+
},
5062
socialLinks: [
5163
kofi,
5264
wechatpay,
@@ -64,11 +76,27 @@ export default defineConfig({
6476
root: {
6577
label: 'English',
6678
lang: 'en',
79+
themeConfig: {
80+
nav: [{ text: 'Guide', link: '/guide/' }],
81+
},
6782
},
6883
zh: {
6984
label: '中文',
7085
lang: 'zh',
7186
themeConfig: {
87+
nav: [{ text: '指南', link: '/zh/guide/' }],
88+
sidebar: {
89+
'zh/guide/': [
90+
{
91+
text: '前言',
92+
link: '/zh/guide/',
93+
},
94+
{
95+
text: '快速开始',
96+
link: '/zh/guide/quickstart',
97+
},
98+
],
99+
},
72100
outlineTitle: '在这一页上',
73101
editLink: {
74102
pattern: editLinkPattern,

docs/guide/index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Introduction
2+
3+
TINKER is a desktop toolbox application that brings together a variety of productivity tools. Whether you need quick calculations, image compression, or drawing diagrams, TINKER provides high-quality built-in plugins to handle common tasks efficiently.
4+
5+
## Why TINKER?
6+
7+
In daily work and life, we often need various small tools: a calculator, a color picker, an image compressor, and so on. Typically, these tools are scattered across different applications or websites, requiring frequent switching between them. TINKER solves this problem by integrating multiple productivity tools into a single, unified application.
8+
9+
- **Quick Access**: Launch with a keyboard shortcut, search for the tool you need, and press Enter to open it. When you're done, TINKER automatically hides itself.
10+
- **High Quality**: Each built-in plugin is carefully crafted to ensure a smooth and reliable user experience.
11+
- **Extensible**: Beyond the built-in plugins, TINKER supports installing excellent third-party tools to expand its capabilities.
12+
13+
## Supported Platforms
14+
15+
TINKER supports the following platforms:
16+
17+
- Windows x64
18+
- macOS Apple silicon
19+
- macOS Intel chip
20+
- Linux
21+
22+
![screenshot](/screenshot.png)
23+
24+
By reading the following guide, you will learn how to install, configure, and make the most of TINKER to boost your productivity.

docs/guide/quickstart.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Quick Start
2+
3+
## Installation
4+
5+
TINKER supports [Windows x64](https://release.liriliri.io/tinker/TINKER-1.8.0-win-x64.exe), [macOS Apple silicon](https://release.liriliri.io/tinker/TINKER-1.8.0-mac-arm64.dmg), [macOS Intel chip](https://release.liriliri.io/tinker/TINKER-1.8.0-mac-x64.dmg) and [Linux](https://release.liriliri.io/tinker/TINKER-1.8.0-linux-x86_64.AppImage) platforms. After downloading and installing, simply click the desktop icon to start using it.
6+
7+
## Basic Usage
8+
9+
TINKER is designed to be as simple and efficient as possible:
10+
11+
1. Use the keyboard shortcut to bring up TINKER.
12+
2. Type the name of the tool you need in the search bar.
13+
3. Press Enter to open the selected tool.
14+
4. After use, TINKER will automatically hide itself.
15+
16+
:::info You can customize the keyboard shortcut in the settings.
17+
:::
18+
19+
## User Interface
20+
21+
TINKER's main interface consists of a search bar and a list of available tools. Simply start typing to filter tools, and press Enter to launch the one you need.
22+
23+
Click the <Icon name="setting"/> icon to open settings, where you can configure the application's theme, language, keyboard shortcuts, and manage plugins.
24+
25+
## Installing Plugins
26+
27+
In addition to built-in tools, TINKER supports installing more plugins via npm:
28+
29+
```bash
30+
npm i -g tinker-whois
31+
npm i -g tinker-drawio
32+
npm i -g tinker-deepseek
33+
```
34+
35+
Once installed, plugins will automatically appear in the search interface.
36+
37+
:::info Web-based plugins (e.g. tinker-deepseek) do not support offline use.
38+
:::

docs/zh/guide/index.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# 前言
2+
3+
TINKER 是一个集合了多款效率小应用的桌面工具箱。无论是快速计算、图片压缩还是绘制图表,TINKER 都提供了高质量的内置插件来高效完成日常任务。
4+
5+
## 为什么选择 TINKER?
6+
7+
在日常工作和生活中,我们常常需要各种小工具:计算器、取色器、图片压缩器等等。通常这些工具分散在不同的应用或网站中,需要频繁切换。TINKER 将多种实用工具整合到一个统一的应用中,解决了这个问题。
8+
9+
- **使用方便**:快捷键呼出,搜索工具回车打开,使用完自动隐藏。
10+
- **质量优秀**:每个内置插件都经过精心打造,确保流畅可靠的使用体验。
11+
- **丰富扩展**:除内置插件外,还支持安装第三方优秀工具来扩展功能。
12+
13+
## 支持平台
14+
15+
TINKER 支持以下平台:
16+
17+
- Windows x64
18+
- macOS Apple silicon
19+
- macOS Intel chip
20+
- Linux
21+
22+
![screenshot](/screenshot.png)
23+
24+
通过阅读接下来的文档,你可以学习到如何安装、配置和充分利用 TINKER 来提升你的工作效率。

docs/zh/guide/quickstart.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# 快速开始
2+
3+
## 安装
4+
5+
TINKER 支持 [Windows x64](https://release.liriliri.io/tinker/TINKER-1.8.0-win-x64.exe)[macOS Apple silicon](https://release.liriliri.io/tinker/TINKER-1.8.0-mac-arm64.dmg)[macOS Intel chip](https://release.liriliri.io/tinker/TINKER-1.8.0-mac-x64.dmg)[Linux](https://release.liriliri.io/tinker/TINKER-1.8.0-linux-x86_64.AppImage) 平台,下载安装后直接点击桌面图标开始使用。
6+
7+
## 基本用法
8+
9+
TINKER 的设计理念是尽可能简单高效:
10+
11+
1. 使用快捷键呼出 TINKER。
12+
2. 在搜索栏中输入需要的工具名称。
13+
3. 按回车键打开选中的工具。
14+
4. 使用完毕后,TINKER 会自动隐藏。
15+
16+
:::info 你可以在设置中自定义快捷键。
17+
:::
18+
19+
## 用户界面
20+
21+
TINKER 的主界面由搜索栏和可用工具列表组成。只需开始输入即可过滤工具,按回车键启动所需工具。
22+
23+
## 安装插件
24+
25+
除了内置工具外,TINKER 还支持通过 npm 安装更多插件:
26+
27+
```bash
28+
npm i -g tinker-whois
29+
npm i -g tinker-drawio
30+
npm i -g tinker-deepseek
31+
```
32+
33+
安装完成后,插件会自动出现在搜索界面中。
34+
35+
:::info 网页类插件(如 tinker-deepseek)不支持离线使用。
36+
:::

tinker

Submodule tinker added at 0b9079a

tinker-plugins

Submodule tinker-plugins added at f98fb34

0 commit comments

Comments
 (0)