Skip to content

Commit 5c96d48

Browse files
committed
feat: Introduce aw-tauri as a lightweight, cross-platform alternative to ActivityWatch
1 parent adef820 commit 5c96d48

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

_posts/2024-05-5-introducing-tauri.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: Tauri the future of ActivityWatch
4+
date: 2024-5-5 16:35 +0300
5+
author: "Brian Vuku"
6+
author_twitter: "subrupt"
7+
---
8+
9+
We're excited to introduce a new project [aw-tauri](http://github.com/ActivityWatch/aw-tauri). Aw-Tauri is a lighter, faster cross-platform repackaging of ActivityWatch. As the name implies the project is built with [Tauri](https://Tauri.app), a relatively new toolkit that offers all the benefits of electron with none of the downsides!
10+
11+
## Why Tauri
12+
13+
Tauri apps are lightweight, memory efficient and secure by design. Tauri does not ship a renderer but uses the platform native renderer via webviews. This simple design choice makes the app size compact and memory efficient during runtime, as compared to electron apps. Tauri apps are secure, only interacting with the host systems through tauri apis. This protects the host computer from arbitary code execution (at least in theory).
14+
15+
## Developer Experience
16+
17+
Aw-tauri is built with the [rust server](https://github.com/ActivityWatch/aw-server-rust) serving the backend and a UI written in Vue. It takes almost no time to get upto speed with the project!
18+
19+
Cross platform development before tauri was a hassle. Binaries had to be built and tested for each target platform separately. Tauri greatly simplifies this.
20+
21+
Tauri enables us to generate releases from the same codebase through a CI/CD pipeline. It handles everything platform specific, on linux you get a lightweight ```.appimage```, on windows a ```.msi``` installer and ```.app``` on macos. It just works!
22+
23+
## User Experience
24+
25+
Aw-Tauri aims to consolidate most of the functionality that is offered by additional code by other repos. It integrates the window and afk watchers natively. It offers support of notifications by default via [aw-notify](https://github.com/ActivityWatch/aw-notify). It houses its own webview, no need to visit ```http:localhost:5600``` anymore. Watchers can be started and stopped right from the trayicon. Updates can be pushed seemlessly across platforms provided by tauri's update system!
26+
27+
## Conclusion
28+
29+
Aw-Tauri is still in active development and contributions are welcome and encouraged. More eyes on the code will be beneficial to the project. We are excited to see where this project goes and how it will shape the future of ActivityWatch.

0 commit comments

Comments
 (0)