https://github.com/hackjutsu/Lepton
๐ป Democratizing Snippet Management (macOS/Win/Linux)
https://github.com/hackjutsu/Lepton
desktop-client electron electron-app electron-application electron-builder gists github-gist markdown-editor notes react redux snippets webpack3
Last synced: 7 months ago
JSON representation
๐ป Democratizing Snippet Management (macOS/Win/Linux)
- Host: GitHub
- URL: https://github.com/hackjutsu/Lepton
- Owner: hackjutsu
- License: mit
- Created: 2016-12-30T22:29:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-01-07T04:39:28.000Z (over 1 year ago)
- Last Synced: 2024-10-29T14:50:11.667Z (11 months ago)
- Topics: desktop-client, electron, electron-app, electron-application, electron-builder, gists, github-gist, markdown-editor, notes, react, redux, snippets, webpack3
- Language: JavaScript
- Homepage: https://hackjutsu.com/Lepton
- Size: 40.7 MB
- Stars: 10,157
- Watchers: 166
- Forks: 471
- Open Issues: 85
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - hackjutsu/Lepton - ๐ป Democratizing Snippet Management (macOS/Win/Linux) (JavaScript)
- awesome-notes - Lepton `Cross-platform snippet/note manager based on GitHub Gist. `
- open-source-mac-os-apps - Lepton - Democratizing Code Snippets Management (macOS/Win/Linux). ![javascript_icon] (Applications / Other)
- awesome-star-libs - hackjutsu / Lepton
- jimsghstars - hackjutsu/Lepton - ๐ป Democratizing Snippet Management (macOS/Win/Linux) (JavaScript)
- StarryDivineSky - hackjutsu/Lepton
- awesome-markdown - Lepton - ไธๆฌพๅบไบ **GitHub Gist** ็ไปฃ็ ็ๆฎต็ฎก็ๅทฅๅ ทใๅฎๆฏๆ **Markdown** ๆธฒๆๅ **Jupyter Notebook**๏ผ่ฎฉ็จๆทๅฏไปฅ่ฝปๆพๅฐๅจๆฌๅฐ็ฎก็ใๆ็ดขๅๅๆญฅไปไปฌ็ไปฃ็ ็ๆฎตใๅ ถๆ ธๅฟ็น่ฒๅจไบไธ **GitHub Gist** ็ๆ ็ผ้ๆ๏ผๆนไพฟๅผๅ่ ๅจไธๅ่ฎพๅค้ดๅๆญฅๅๅไบซไปฃ็ ็ฅ่ฏใ   (็ผ็ ไธๅผๅๅทฅๅ ท / ไปฃ็ ็ๆฎต็ฎก็)
README
[](#contributors-)

[](https://travis-ci.com/hackjutsu/Lepton)
[](https://david-dm.org/hackjutsu/Lepton)
[](https://opensource.org/licenses/MIT)
[](https://snapcraft.io/lepton)**Lepton** is a lean code snippet manager powered by GitHub Gist. [Check out the latest release.](https://github.com/hackjutsu/Lepton/releases)
## Features
- Unlimited public/secret snippets
- Unlimited tags
- Language groups
- Markdown/JupyterNotebook
- [GitHub Enterprise](https://github.com/hackjutsu/Lepton/wiki/FAQ#enable-github-enterprise)
- GitHub token
- Immersive mode
- [Customizable](https://github.com/hackjutsu/Lepton/wiki/Configuration)
- Light/Dark theme
- macOS/Win/Linux
- Dashboard
- [Search](https://github.com/hackjutsu/Lepton/wiki/FAQ#search)
- [Proxy](https://github.com/hackjutsu/Lepton/wiki/FAQ#proxy)
- Free
| [Light Theme](https://github.com/hackjutsu/Lepton#customization) | [Dark Theme](https://github.com/hackjutsu/Lepton#customization) |
| :-------------:| :-----:|
|||| Organize | Markdown | Jupyter Notebook |
| :-------------:| :-----:| :-----: |
|  |  |  || Search (*โง + Space*) | Immersive Mode *(โ/Ctrl + i)* | Dashboard *(โ/Ctrl + d)* |
| :-------------:| :-----:| :-----: |
|  |  | ## Shortcuts
| Function | Shortcut | Note |
| :------------: |:-------------: |:-----:|
| New Snippet | `Cmd/Ctrl + N` | Create a snippet |
| Edit Snippet | `Cmd/Ctrl + E` | Edit a snippet |
| Delete Snippet | `Cmd/Ctrl + Del` | Delete selected snippet |
| Submit | `Cmd/Ctrl + S` | Submit the changes from the editor |
| Cancel | `Cmd/Ctrl + ESC` | Exit the editor without saving |
| Sync | `Cmd/Ctrl + R` | Sync with remote Gist server |
| Immersive Mode | `Cmd/Ctrl + I` | Toggle the [Immersive mode](https://github.com/hackjutsu/Lepton/blob/master/docs/img/portfolio/immersive.png) |
| Dashboard | `Cmd/Ctrl + D` | Toggle the [dashboard](https://github.com/hackjutsu/Lepton/blob/master/docs/img/portfolio/dashboard.png) |
| About Page | `Cmd/Ctrl + ,` | Toggle the [About page](https://github.com/hackjutsu/Lepton/blob/dev/docs/img/portfolio/about.png) |
| Search | `Shift + Space`| Toggle the [search bar](https://github.com/hackjutsu/Lepton/blob/master/docs/img/portfolio/search_bar.png) |## Customization
Lepton's can be customized by `/.leptonrc`! You can find its exact path in the About page by `Command/Ctrl + ,`. Create the file if it does not exist.- Theme (light/dark)
- Snippet
- Editor
- Logger
- Proxy
- Shortcuts
- Enterprise
- NotificationsCheck out the [configuration docs](https://github.com/hackjutsu/Lepton/wiki/Configuration) to explore different customization options.
## Tech Stack
1. Framework: [Electron](http://electron.atom.io/)
2. Bundler: [Webpack](http://webpack.github.io/docs/), [Babel](https://babeljs.io), [electron-builder](https://github.com/electron-userland/electron-builder)
3. Language: [ES6](https://babeljs.io/docs/learn-es2015/), [Sass](http://sass-lang.com/)
4. Library: [React](https://facebook.github.io/react/), [Redux](https://github.com/reactjs/redux), [Redux Thunk](https://github.com/gaearon/redux-thunk), [Redux Form](http://redux-form.com/)
5. Lint: [ESLint](http://eslint.org/)## Installation
- macOS/Windows/Linux: Download [the released packages](https://github.com/hackjutsu/Lepton/releases)
- macOS: Install via Homebrew
```bash
brew install --cask lepton
```
- Linux: Install via [Snap Store](https://snapcraft.io/lepton)
```bash
snap install lepton
```
## Development
### Install dependencies
```bash
$ git clone https://github.com/hackjutsu/Lepton.git
$ cd Lepton && yarn install
``````bash
# inspect stale dependencies
$ yarn check-outdated
```### Client ID/Secret
[Register your application](https://github.com/settings/applications/new), and put your client id and client secret in `./configs/account.js`.
```js
module.exports = {
client_id: ,
client_secret:
}
```### Run
```bash
$ yarn build && yarn start
```## Build Installer App
>Read [electron-builder docs](https://github.com/electron-userland/electron-builder#readme) and check out the [code signing wiki](https://github.com/electron-userland/electron-builder#code-signing) before building the installer app.Build apps for macOS.
```bash
$ yarn dist -m
```
Build apps for Windows.
```bash
$ yarn dist -w
```
Build apps for Linux.>Need a running [Docker](https://www.docker.com/) daemon to build a `snap` package.
```bash
$ yarn dist -l
```
Build apps for macOS, Windows and Linux.
```bash
$ yarn dist -wml
```
Build apps for the current OS with the current arch.
```bash
$ yarn dist
```## FAQ
[--> Wiki FAQ](https://github.com/hackjutsu/Lepton/wiki/FAQ)## Contributors
CosmoX
๐ป ๐จ โ ๏ธ ๐ง ๐ฆ ๐ค
Jiaye Wu
๐ป ๐ง ๐ค
Danila
๐ป ๐จ ๐ง
Meilin Zhan
๐ป ๐ค ๐ง
lcgforever
๐ป
Yuer Lee
๐ ๐ฆ
Su,Yen-Yun
๐
Chen Tong
๐ป ๐ค ๐ง
Jason Jiang
๐ป
Alan Pope
๐ฆ
Tony Xu
๐ฆ
Tegan Churchill
๐ป
Angie Wang
๐จ
Batuhan Bayrakci
๐ป
Samuel Meuli
๐ป
Alexandre Amado de Castro
๐ป
Abner Soares Alves Junior
๐ป
Sean
๐ป
Ole
๐ป
Gabriel Nicolas Avellaneda
๐ป ๐
Dennis Ideler
๐ป ๐ค ๐
Anthony Attard
๐ป
ArLE
๐ป
Pol Maresma
๐ป
PM Extra
๐ป
Zava
๐ป
Jason R Alexander
๐ป
Sebastian Hojas
๐
่ฃ้จ่ช
๐ป
sxyazi
๐ฆ
Brian Zalewski
๐ฆ
## License
MIT ยฉ [hackjutsu](https://github.com/hackjutsu)