Skip to content

geminiyellow/slock-desktop

 
 

Repository files navigation

Slock Desktop

Slock workspace client for macOS.

English 中文

Version / 版本 0.2.7 Discord / 社区

Tip

Unsigned app unlock:

sudo xattr -rd com.apple.quarantine /Applications/Slock\ Desktop.app

Slock Desktop is the macOS client for the Slock workspace at https://app.slock.ai. It adds desktop controls for themes, language, updates, and local Slock services.

Features

  • Opens the signed-in Slock workspace in a native macOS window.
  • Provides light, dark, system, and custom accent themes.
  • Applies local language and appearance settings to the workspace.
  • Manages local Slock service discovery, start, stop, and auto-start.
  • Stores desktop preferences in the local app config directory.

Requirements

macOS, Node.js with pnpm, Rust with Cargo, Tauri macOS dependencies, and a Slock account.

Commands

Task Command
Install dependencies pnpm install
Desktop development pnpm tauri:dev
Build and open the current debug app bundle pnpm tauri:debug:open
Frontend development pnpm dev
Project checks pnpm test
Rust tests cargo test --manifest-path src-tauri/Cargo.toml
Build app pnpm build && pnpm tauri build --bundles app

Build output:

src-tauri/target/release/bundle/macos/Slock Desktop.app

Project Layout

src/                 React desktop launcher
src/lib/desktop.ts   Tauri command bridge
src-tauri/           Rust Tauri application
src-tauri/src/       Desktop state, service, theme, and workspace logic
src-tauri/icons/     App icons

Security

Store API keys, local tokens, and signed-in session data outside git. The desktop app stores local settings in the app config directory.

About

Slock workspace client for macOS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 75.4%
  • TypeScript 13.7%
  • CSS 10.4%
  • Other 0.5%