diff --git a/README.md b/README.md index 04000bf..a7be5b1 100644 --- a/README.md +++ b/README.md @@ -16,31 +16,91 @@ [](https://github.com/floatpane/matcha/actions/workflows/ci.yml) [](https://github.com/floatpane/matcha/actions/workflows/release.yml) -[](https://goreleaser.com) [](https://golang.org) [](https://goreportcard.com/report/github.com/floatpane/matcha) - [](https://github.com/floatpane/matcha/releases) [](https://github.com/floatpane/matcha/releases) -[](https://github.com/floatpane/matcha/stargazers) -[](https://github.com/floatpane/matcha/issues) [](https://github.com/floatpane/matcha/blob/master/LICENSE) -[](https://www.apple.com/macos) -[](https://www.linux.org/) -[](https://brew.sh) -[](https://snapcraft.io/matcha) - -[](https://patreon.com/andrinoff) -[](https://github.com/floatpane/matcha/graphs/contributors) -[](https://github.com/charmbracelet/bubbletea) - **A powerful, feature-rich email client for your terminal.** Built with Go and the Bubble Tea TUI framework, Matcha brings a beautiful, modern email experience to the command line with support for rich content, multiple accounts, and advanced terminal features. +  +## Installation +There are several ways to install Matcha: + +### Package Managers + +#### Homebrew (macOS & Linux) + +```bash +brew tap floatpane/matcha +brew install floatpane/matcha/matcha +``` + +After installation, run: + +```bash +matcha +``` + +> [!WARNING] +> If you have the [*"other"* Matcha](https://github.com/piqoni/matcha) already installed, you will have to rename the executable + + +### Install using Snap (Linux) + +> [!NOTE] +> When using Snap, the config folder is going to be located at `~/snap/matcha/36/.config`, see [why](https://github.com/floatpane/matcha/issues/117) + +```bash +sudo snap install matcha +``` + +### Build from Source + +Matcha is written in **Go**. To build it manually: + +1. Ensure you have Go installed (`go version`). +2. Clone the repository: + + ```bash + git clone https://github.com/floatpane/matcha.git + ``` + +3. Navigate to the project folder: + + ```bash + cd matcha + ``` + +4. Build the binary: + + ```bash + go build -trimpath -ldflags="-s -w" -o matcha + ``` + + For an even smaller binary, compress with UPX (install via `brew install upx` or `apt install upx`): + + ```bash + upx --best --lzma matcha + ``` + +> [!WARNING] +> UPX compression does NOT work on macOS ARM builds. See [#97](https://github.com/floatpane/matcha/pull/97) + +5. Run it: + ```bash + ./matcha + ``` + +### Open Build Service + +Also, a build of Matcha is available on [OBS](https://build.opensuse.org/package/show/home:mantarimay:apps/matcha). Thanks, [@mantarimay](https://github.com/mantarimay)! + ## Features ### Email Management @@ -166,70 +226,7 @@ For Gmail and iCloud, you'll need to generate an **app-specific password**: - **Gmail**: [Create an App Password](https://support.google.com/accounts/answer/185833) - **iCloud**: [Generate an app-specific password](https://support.apple.com/en-us/HT204397) -## Installation - -There are several ways to install Matcha: - -### Package Managers - -#### Homebrew (macOS & Linux) - -```bash -brew tap floatpane/matcha -brew install floatpane/matcha/matcha -``` - -After installation, run: -> [!WARNING] -> If you have the [*"other"* Matcha](https://github.com/piqoni/matcha) already installed, you will have to rename the executable - -```bash -matcha -``` - -### Install using Snap - -```bash -sudo snap install matcha -``` - -### Build from Source - -Matcha is written in **Go**. To build it manually: - -1. Ensure you have Go installed (`go version`). -2. Clone the repository: - - ```bash - git clone https://github.com/floatpane/matcha.git - ``` - -3. Navigate to the project folder: - - ```bash - cd matcha - ``` - -4. Build the binary: - - ```bash - go build -trimpath -ldflags="-s -w" -o matcha - ``` - - For an even smaller binary, compress with UPX (install via `brew install upx` or `apt install upx`): - - ```bash - upx --best --lzma matcha - ``` - -> [!WARNING] -> UPX compression does NOT work on macOS ARM builds. See [#97](https://github.com/floatpane/matcha/pull/97) - -5. Run it: - ```bash - ./matcha - ``` ## Usage @@ -405,8 +402,6 @@ Built with: