Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/4gray/tauri-menubar-app
a simple menubar application based on tauri framework
https://github.com/4gray/tauri-menubar-app
application javascript macos-app menubar rust tauri tray tutorial typescript
Last synced: 3 months ago
JSON representation
a simple menubar application based on tauri framework
- Host: GitHub
- URL: https://github.com/4gray/tauri-menubar-app
- Owner: 4gray
- Created: 2023-01-17T22:52:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T23:06:59.000Z (about 2 years ago)
- Last Synced: 2024-07-31T19:47:41.881Z (6 months ago)
- Topics: application, javascript, macos-app, menubar, rust, tauri, tray, tutorial, typescript
- Language: Rust
- Homepage: https://betterprogramming.pub/create-menubar-app-with-tauri-510ab7f7c43d
- Size: 1.44 MB
- Stars: 83
- Watchers: 3
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tauri Menubar
![]()
A minimal example of a menubar application built with [Tauri](https://tauri.app/). This application demonstrates the use of basic functionalities and System Tray API.
To learn more about how this application was built, check out the article [Creating a Menubar Application with Tauri](https://medium.com/@4gray/create-menubar-app-with-tauri-510ab7f7c43d).
## Features
- Toggle window when clicking on an icon in menubar/tray
- Positioning the window centrally below the icon
- Hiding dock icon for macOS and windows
- Click outside to hide the application
- Right click context menu
- CSS based arrow between menubar and application## Running the application
To run the application, you need to have Tauri installed on your machine. You can find the installation instructions on the Tauri website.$ pnpm install
$ pnpm tauri dev## Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
## Contribute
If you would like to contribute to this project, please fork the repository and open a pull request with your changes.## License
This project is licensed under the MIT License - see the LICENSE file for details## Acknowledgements
Tauri Team for providing the framework