BackCore Utils

Work-CLI

UtilityFocusTime TrackingPrivacy

Privacy-first terminal time tracker with exports and advanced features.

0
Stars
0
Forks
3 months ago
Last Update
0
Open Issues

Installation

git clone https://github.com/mdwcoder/Work-CLI.git && cd Work-CLI && chmod +x init.sh && ./init.sh

Documentation

โšก Work-CLI

The Ultimate Terminal Time Tracker Privacy-First, Multi-User, AI-Powered, and Cross-Platform.

Work-CLI Banner Python License


๐Ÿš€ Overview

Work-CLI is a professional time-tracking tool designed for developers who love the terminal. It combines robust time management with advanced features like AI analysis, automated backups, and military-grade encryption.

โœจ Key Features

  • โฑ๏ธ Time Tracking: Start/Stop/Pause with descriptions.
  • ๐Ÿ“Š Reporting: CSV/PDF exports and Email integration.
  • ๐Ÿค– AI Insights: Ask Gemini about your productivity trends.
  • ๐Ÿ‘ค Multi-User: Secure, isolated accounts with hashed passwords.
  • ๐Ÿ” Privacy: AES-256 encryption for your sensitive data.
  • ๐Ÿ’พ Auto-Backup: Set it and forget it.

๐Ÿ“ฅ Installation

๐Ÿง Linux / ๐ŸŽ MacOS

# Clone & Install
git clone https://github.com/mdwcoder/Work-CLI.git
cd Work-CLI/
chmod +x init.sh
./init.sh

Follow the interactive wizard to set your language, shell, and admin user.

๐ŸชŸ Windows (PowerShell)

# Run the installer script
.\install.ps1

โšก Quick Start

1. Start Working

work ON "Refactoring Login System"
# Returns: ๐Ÿš€ Timer Started at 09:00:00 [Encrypted]

2. Check Status

work TIME
# Returns: โฑ๏ธ Current Session: 01:23:45

3. Finish Work

work OFF
# Returns: ๐Ÿ›‘ Stopped. Duration: 04:30:00

๐Ÿ”ง Core Commands

๐Ÿ“… Time Management

CommandAction
work ON [Desc]Start timer (Description optional)
work OFFStop current timer
work TIME-TODAYShow total time today ๐Ÿ“…
work TIME-SELECT [Date]Show time for specific date
work TIME-RANGE [D1] [D2]Show total time in range
work INIT-TIMEShow what time you started today ๐ŸŒ…

๐Ÿ“Š Reporting & Exports

CommandAction
work EXPORT-CSV [D1] [D2]Export data to CSV
work EXPORT-PDF [D1] [D2]Export data to PDF report
work SEND-TOWait-free: Generate & Email Report ๐Ÿ“ง
work SEND-BACKUP-TOEmail report from an old Backup ๐Ÿ“ฆ

๐Ÿ›ก๏ธ Advanced Security & Privacy

๐Ÿ‘ค User Management

Securely share your machine without sharing your logs.

  • Register: work REGISTER
  • Login: work LOGIN
  • Logout: work USER-LOG-OUT
  • Delete: work USER-DELETE (Permanent!)

๐Ÿ” Encryption (AES-256)

Protect your session descriptions.

  • Enable: work ENCRIPT-ON
  • Migration: work CHANGE-KEY (Rotates keys securely)

๐Ÿ“œ Audit Logs

All sensitive actions (Logins, Deletions, Backups) are recorded in logs/log.txt.


โšก Fast Mode

Toggle "Fast Mode" to disable rich UI elements (panels, colors) for a cleaner, plain-text experience.

  • Enable: work FAST-MODE
  • Disable: work NORMAL-MODE

๐Ÿค– AI Integration (Gemini)

Unlock insights about your work patterns.

  1. Configure: work AI-CONFIG (Enter API Key)
  2. Ask:
    work AI-GEN-ASK "How was my productivity last week?"
    
  3. Contextual:
    work AI-SEL-ASK-RANGE-TIME 01/01/2024 31/01/2024 "Summarize my main tasks"
    

๐Ÿ’พ Backup & Data

Your data is yours. Local SQLite database.

  • Location: data/working_code.db
  • Manual Backup: work BACKUP
  • Auto-Backup: Configurable (work CONF-BACKUP-AUTO)
    • DAILY, MONTHLY, CUSTOM N
  • Restore: work LOAD-BACKUP

๐Ÿ› ๏ธ Technical Specs

  • Language: Python 3.8+
  • Database: SQLite3
  • Dependencies: typer, rich, cryptography, xhtml2pdf

Built with โค๏ธ for efficiency.