Lattice
연구를 위한 작업공간
mahpastes는 macOS·Windows·Linux용 로컬 클립보드 관리자로, 클라우드 없이 복사 내용을 저장·정리·접근합니다
mahpastes is a local clipboard manager for macOS, Windows, and Linux. Store, organize, and access your copied content without sending data to the cloud.
생산성Go · TypeScriptGitHub @egeozcan온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
clipboard to file thing.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A local clipboard manager for macOS, Windows, and Linux. Store, organize, and quickly access your copied content.README 전문 보기 ↗A local clipboard manager for macOS, Windows, and Linux. Store, organize, and quickly access your copied content.
Documentation: https://egeozcan.github.io/mahpastes/
?)Download the latest release from the Releases page.
# Install Wails CLI
go install github.com/wailsapp/wails/v2/cmd/wails@latest
# Clone the repository
git clone https://github.com/egeozcan/mahpastes.git
cd mahpastes
# Build for your platform
wails build
# The app will be in build/bin/
# macOS (Universal - Intel + Apple Silicon)
wails build -platform darwin/universal
# Windows
wails build -platform windows/amd64
# Linux (WebKitGTK 4.1: Ubuntu 24.04+, Debian 13, Fedora 40+)
wails build -platform linux/amd64 -tags webkit2_41
After building, copy to Applications:
cp -R build/bin/mahpastes.app /Applications/
make install builds and installs for the current user, without root:
the app goes to ~/.local/bin/mahpastes, with a desktop entry and icons under
~/.local/share. Set PREFIX to install elsewhere. make uninstall removes
them again and keeps your data.
Build dependencies:
# Ubuntu / Debian
sudo apt install build-essential pkg-config libgtk-3-dev libwebkit2gtk-4.1-dev nodejs npm
# Fedora
sudo dnf install golang nodejs npm gcc pkgconf-pkg-config gtk3-devel webkit2gtk4.1-devel
# Arch
sudo pacman -S --needed go nodejs npm base-devel pkgconf gtk3 webkit2gtk-4.1
The build picks WebKitGTK 4.1 when it is installed and falls back to 4.0
(for example on Ubuntu 22.04). Distribution Go packages can be older than
go.mod requires. Go 1.21 or newer downloads the right toolchain itself;
otherwise install Go from go.dev.
On image-based systems (Silverblue, Kinoite, Bazzite, Bluefin), build inside
a distrobox or toolbox container named
mahpastes-dev (override with DEV_CONTAINER). When the host lacks the
toolchain, make build, make dev and make install build in that container
automatically and install on the host. The installed app only needs the GTK 3
and WebKitGTK runtime libraries, which these desktops already ship.
Browsing clips in the file manager additionally needs the fuse3 package at
runtime (see File manager access on Linux).
# Install dependencies
cd frontend && npm install && cd ..
# Run in development mode
wails dev
The app will open and hot-reload when you make changes to the frontend.
A Makefile provides shortcuts for common operations:
make dev # Start dev server with hot reload
make build # Clean production build
make install # Build, kill running app, install (/Applications, ~/.local on Linux), launch
make test # Run e2e tests
make screenshots # Refresh documentation screenshots
make help # Show all targets
On macOS, make build and make install include Finder integration when the
signing configuration is present, using
Apple Command Line Tools. Without it, they warn and build the ordinary app.
On Linux the same Settings section mounts the clips as a read-only folder
instead; it needs no build options. Windows keeps the ordinary Wails build.
Use wails build directly for a macOS build without Finder integration.
mahpastes/
├── main.go # App entry point
├── app.go # Core application logic and API
├── backup.go # ZIP backup and restore
├── database.go # SQLite database setup and cleanup
├── plugin_service.go # Plugin frontend API
├── plugins.go # Plugin install/uninstall helpers
├── watcher.go # Watch folder implementation
├── Makefile # Build, install, test targets
├── wails.json # Wails configuration
├── plugin/ # Lua plugin system
├── plugins/ # Bundled example plugins
├── build/ # Build assets and output
│ ├── appicon.png
│ └── bin/ # Built binaries
├── frontend/
│ ├── index.html # Main UI
│ ├── css/ # Stylesheets
│ ├── js/ # JavaScript modules
│ └── tailwind.config.js
└── e2e/ # Playwright e2e tests
golang.design/x/clipboardData is stored in platform-specific locations:
| Platform | Location |
|---|---|
| macOS | ~/Library/Application Support/mahpastes/ |
| Windows | %APPDATA%\mahpastes\ |
| Linux | ~/.config/mahpastes/ |
The database file is clips.db. Temporary files are stored in clip_temp_files/ and cleaned up on app exit.
Shortcuts are configurable from Settings > Shortcuts.
| Shortcut | Action |
|---|---|
? | Open keyboard shortcut cheatsheet |
M | Open menu drawer |
, | Open settings |
P | Open plugins |
A | Toggle archive view |
W | Open watch view |
/ | Focus search |
Cmd/Ctrl + V | Paste from clipboard |
Escape | Close modal, drawer, or cheatsheet |
| Shortcut | Tool |
|---|---|
B | Brush |
L | Line |
R | Rectangle |
C | Circle |
T | Text |
E | Eraser |
Cmd/Ctrl + Z | Undo |
Cmd/Ctrl + Y | Redo |
Full shortcut reference: https://egeozcan.github.io/mahpastes/getting-started/keyboard-shortcuts
MIT