https://github.com/activitywatch/aw-tauri

WIP ActivityWatch distribution using Tauri

https://github.com/activitywatch/aw-tauri

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords from Contributors

timetracking time-tracker archival interactive projection sequences activitywatch gitstats productivity genomics
Last synced: 11 months ago · JSON representation

Repository

WIP ActivityWatch distribution using Tauri

Basic Info
  • Host: GitHub
  • Owner: ActivityWatch
  • License: mpl-2.0
  • Language: Rust
  • Default Branch: master
  • Size: 1.65 MB
Statistics
  • Stars: 33
  • Watchers: 6
  • Forks: 7
  • Open Issues: 24
  • Releases: 0
Created over 3 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

aw-tauri

Build

Experimenting with implementing ActivityWatch using Tauri.

Holds great promise as a much simpler way to build a cross-platform version of ActivityWatch.

Features:

  • Tray icon
  • Module manager for watchers
  • WebView serving the web UI
  • Uses aw-server-rust by default
  • Replaces aw-qt
  • Builds like a dream, minimal custom build & release config

Benefits of Tauri:

  • Builds cross-platform nicely (see their docs)
    • Generates deb and AppImage with a simple npx tauri build
    • Uses Gtk on Linux, and tao on Windows and macOS
    • No more messy PyInstaller for the main entrypoint (aw-qt)
    • Good docs for code-signing on all platforms
    • Includes an updater for MSI, .AppImage, .app bundle.
  • Contains a webview with an easy interface to Rust code
  • Trayicon support
  • Mobile support is WIP, and will support iOS.

Prerequisites

  • Tauri dependencies (see their docs)
  • Node.js
  • Rust

Usage

To run:

sh npm install make dev To build:

sh make build

Repo stucture

  • The frontend is in the root folder (NOTE: not yet the actual aw-webui code)
  • All rust code is in src-tauri/ (will likely be moved)

Roadmap

Primary goal is feature-parity with aw-qt. Secondary goal is to add extras supported by Tauri (updater, autostart).

  • [x] Run aw-server-rust as part of main executable
  • [x] Run ActivityWatch web app within WebView (wry)
  • [x] Get basic module manager working
    • [x] Start watchers
  • [x] Tray icon
    • [x] Basic version (open, exit)
    • [x] Menu for module manager
    • [x] Responsive running/stopped state for watchers (no "update" button)
    • [x] Start/stop via modules menu
    • [x] Detect bundled & system modules
  • [x] Polish
    • [x] Remove placeholder Vue app
      • Or replace with new UI for module management? (a bit redundant)
    • [x] Build aw-webui as part of build process
    • [x] Error dialog when module crashes, restart logic
      • https://tauri.app/plugin/dialog/
    • [x] https://tauri.app/plugin/autostart/
    • [x] https://tauri.app/plugin/single-instance/

This project was initialized with:

sh sh <(curl https://create.tauri.app/sh)

Click to expand original README # Tauri + Vue 3 + TypeScript This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `