Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clark_m-0.1.1.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clark_m-0.1.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

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

Hashes for clark_m-0.1.1.tar.gz
Algorithm Hash digest
SHA256 08991f380559676503730c51bcc8785b234bc270ba66e83af4506b7848fdd041
MD5 45101cbdd532e1c6b90a1b95a936a764
BLAKE2b-256 a433711ad9cf41ad837886e9640fece09f37b0837d54ca8a2127586b3e8f9d9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for clark_m-0.1.1.tar.gz:

Publisher: publish.yml on surjanthakur/CLI-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for clark_m-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 489b2703dfc9061c72e24074d5fa931e79d266be2918ef4f7a5d0a989d38e52a
MD5 c97c890ab7fb591ac35b263ae31b09ac
BLAKE2b-256 458f0d2d59e1b45f181d5129161244a167276a7a4cc8eacde748adf1f67e98a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for clark_m-0.1.1-py3-none-any.whl:

Publisher: publish.yml on surjanthakur/CLI-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page