试用Gist桌面客户端兼编辑器Lepton

本文最后更新于:2024年9月16日 下午

Lepton简介

Lepton is a lean code snippet manager based on GitHub Gist.

  • Unlimited public/private snippets
  • Unlimited tags
  • Language groups
  • Markdown/JupyterNotebook support
  • GitHub Enterprise support
  • Immersive mode
  • Customizable
  • Light/Dark theme
  • macOS/Win/Linux
  • Dashboard
  • Search
  • Proxy
  • Free

仓库及windows 64位下载地址

Github仓库地址

windows 64位下载地址

自定配置

首先 Ctrl + , 打开 about 选项卡,在里面找到配置文件的路径,比如一般都是 C:\Users\xx\.leptonrc ,如果没有该文件,自己建一个,里面写入配置内容,配置内容示例如下,可根据需要自己调整

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"theme": "dark",
"autoUpdate": false,
"snippet": {
"expanded": true,
"newSnippetPrivate": true,
"sorting": "updated_at",
"sortingReverse": true
},
"editor" : {
"tabSize": 4,
"validateFilename": true
},
"userPanel": {
"hideProfilePhoto": false
},
"logger": {
"level": "debug"
},
"proxy": {
"enable": true,
"address": "socks://localhost:1081"
},
"notifications": {
"success": true,
"failure": true
},
"shortcuts": {
"keyShortcutForSearch": "CMD+F",
"keyNewGist": "CommandOrControl+N",
"keyEditGist": "CommandOrControl+E",
"keySubmitGist": "CommandOrControl+S",
"keyImmersiveMode": "CommandOrControl+I",
"keyAboutPage": "CommandOrControl+,",
"keyDashboard": "CommandOrControl+D",
"keyEditorExit": "CommandOrControl+Escape",
"keySyncGists": "CommandOrControl+R"
},
"enterprise": {
"enable": false,
"host": "github_enterprise_host",
"token": "token_with_gist_enabled",
"avatarUrl": "optional_avatar_url"
}
}

"theme": "dark" 主题选择了黑暗模式,也可以改为 "light"

"newSnippetPrivate": true 表示默认新建gist为私有

"proxy" 为开启状态


试用Gist桌面客户端兼编辑器Lepton
https://andyppang.github.io/2021/06/03/试用Gist桌面客户端兼编辑器Lepton/
作者
PL
发布于
2021年6月3日
许可协议