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.2.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.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file clark_m-0.1.2.tar.gz.

File metadata

  • Download URL: clark_m-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bcf28576f59799a6fcf0a5caf2ae19cafaa525f1cb5344660cfe3ef89ecf0526
MD5 42c7ac50d2e4e9ca1594e892f14fad96
BLAKE2b-256 a02e6a0aae5605317e23a6ac12be9d0f551a814523d4c4dfccab1fa6fa91b8c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for clark_m-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: clark_m-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6b10b44e9f0580160beb563c03f35a1b0489094985937287b6680d6be163ab
MD5 2b80c5b28c155c482d8369dea4144f6e
BLAKE2b-256 9fa9fc3d1152902860f796efd2e8d30834169ca0233772beb3d7a1dac6d81af6

See more details on using hashes here.

Provenance

The following attestation bundles were made for clark_m-0.1.2-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