A personal, fully local cli Clark that can access Mac apps and more.
Project description
Clark CLI
Clark CLI is a personal, fully local command-line assistant for macOS. It lets you control apps, search the web, play music, and manage simple system actions directly from your terminal.
This project is designed to feel like a second brain for everyday tasks on your Mac, without relying on any cloud service.
What this project does
Clark CLI can help you perform these tasks:
- Open, close, hide, and unhide macOS applications
- Search the web using Safari
- Play songs from YouTube Music in your browser
- Adjust system volume and mute or unmute audio
- Clear recent menu items
- Put your Mac to sleep or lock the screen
Features
- Fully local and terminal-based
- Works directly with macOS apps and system controls
- Built with Python and Typer
- Simple command-line interface for daily actions
Installation
Make sure you have Python 3.11 or newer installed.
cd /path/to/CLI-agent
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
How to run
After installation, use the clark command:
clark --help
Available commands
App management commands
Open an app:
clark open "Visual Studio Code"
Close an app:
clark close "Google Chrome"
Hide an app:
clark hide "Safari"
Unhide an app:
clark unhide "Spotify"
Browser commands
Search the web in Safari:
clark search --q "python tutorial"
Play a song from YouTube Music:
clark play "Shape of You"
System settings commands
Set the system volume to 50:
clark sound 50
Mute system sound:
clark mute
Unmute system sound:
clark unmute
Clear recent menu entries:
clark clear menu
Put your Mac to sleep:
clark sleep
Lock your Mac screen:
clark lock
Notes
This package is intended for macOS and uses system automation features, so it works best on a Mac machine.
Made With ❤️ by Surjan
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clark_m-0.1.1.tar.gz.
File metadata
- Download URL: clark_m-0.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08991f380559676503730c51bcc8785b234bc270ba66e83af4506b7848fdd041
|
|
| MD5 |
45101cbdd532e1c6b90a1b95a936a764
|
|
| BLAKE2b-256 |
a433711ad9cf41ad837886e9640fece09f37b0837d54ca8a2127586b3e8f9d9a
|
Provenance
The following attestation bundles were made for clark_m-0.1.1.tar.gz:
Publisher:
publish.yml on surjanthakur/CLI-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clark_m-0.1.1.tar.gz -
Subject digest:
08991f380559676503730c51bcc8785b234bc270ba66e83af4506b7848fdd041 - Sigstore transparency entry: 2255651319
- Sigstore integration time:
-
Permalink:
surjanthakur/CLI-agent@ef44d3b822871b07f7ec80b2c4018f550173828c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/surjanthakur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ef44d3b822871b07f7ec80b2c4018f550173828c -
Trigger Event:
push
-
Statement type:
File details
Details for the file clark_m-0.1.1-py3-none-any.whl.
File metadata
- Download URL: clark_m-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
489b2703dfc9061c72e24074d5fa931e79d266be2918ef4f7a5d0a989d38e52a
|
|
| MD5 |
c97c890ab7fb591ac35b263ae31b09ac
|
|
| BLAKE2b-256 |
458f0d2d59e1b45f181d5129161244a167276a7a4cc8eacde748adf1f67e98a5
|
Provenance
The following attestation bundles were made for clark_m-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on surjanthakur/CLI-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clark_m-0.1.1-py3-none-any.whl -
Subject digest:
489b2703dfc9061c72e24074d5fa931e79d266be2918ef4f7a5d0a989d38e52a - Sigstore transparency entry: 2255651341
- Sigstore integration time:
-
Permalink:
surjanthakur/CLI-agent@ef44d3b822871b07f7ec80b2c4018f550173828c -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/surjanthakur
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ef44d3b822871b07f7ec80b2c4018f550173828c -
Trigger Event:
push
-
Statement type: