Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahkohd/tauri-macos-menubar-app-example
An example macOS Menubar app built with Tauri
https://github.com/ahkohd/tauri-macos-menubar-app-example
macos rust tauri tauri-template
Last synced: 5 days ago
JSON representation
An example macOS Menubar app built with Tauri
- Host: GitHub
- URL: https://github.com/ahkohd/tauri-macos-menubar-app-example
- Owner: ahkohd
- License: mit
- Created: 2024-02-12T22:09:51.000Z (9 months ago)
- Default Branch: v2
- Last Pushed: 2024-10-27T19:52:29.000Z (8 days ago)
- Last Synced: 2024-10-28T01:18:33.231Z (8 days ago)
- Topics: macos, rust, tauri, tauri-template
- Language: Rust
- Homepage:
- Size: 14.4 MB
- Stars: 104
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-tauri - tauri-macos-menubar-app-example - Example macOS Menubar app project. (Development / Integrations)
README
# Tauri macOS Menubar App Example
This is an example project that shows how to create a macOS Menubar app using Tauri.
> Check out the [v2-popover](https://github.com/ahkohd/tauri-macos-menubar-app-example/tree/v2-popover) branch for an example of the menubar app, now featuring a popover view.
This template is based on Tauri + React + Typescript template. It should help get you started developing with Tauri, React and Typescript in Vite.
## Prerequisites
- _[Node.js](https://nodejs.org)_
- _[Tauri CLI](https://tauri.studio/docs/getting-started/installation)_## Getting Started
1. Clone this repository:
```
git clone https://github.com/ahkohd/tauri-macos-menubar-app-example.git
```2. Navigate to the project directory:
```
cd tauri-macos-menubar-app-example
```3. Run the demo
```
pnpm install
pnpm tauri dev
```5. Go to your menubar, click the Tauri tray icon.
## Demo
See it in action:
![Demo](./demo.gif)
## Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
# Related
The following are related to this project:
- [tauri-nspanel](https://github.com/ahkohd/tauri-nspanel/tree/main/examples/vanilla): Tauri plugin to convert a window to panel.
# License
This project is licensed under the MIT License. See the [LICENSE](./LICENSE.md) file for details.