Dev Cockpit Developer Productivity Suite

A comprehensive toolkit built with Tauri, React, and TypeScript for managing projects, generating invoices, storing passwords securely, and tracking daily git activity.

Overview

Dev Cockpit is a local-first, privacy-focused development productivity suite that combines project management, secure password storage, invoice generation, and intelligent git activity tracking.

📁

Project Management

Organize projects with client information and git repository tracking

🔐

Password Manager

Secure local password vault with AES-256 encryption

📄

Invoice Generation

Professional PDF invoices from project data

📊

Git Activity Tracking

Automated daily reports with smart ticket grouping

Core Features

Powerful features designed to enhance developer productivity and workflow management.

📁

Project Management

Comprehensive project organization and tracking

Key Features:

  • Project metadata management
  • Client information tracking
  • Git repository integration
  • Default billing items setup
  • One-click Cursor IDE opening
  • Flexible branch naming patterns

Smart Git Integration:

  • 🎯 Automatic commit tracking across all branches
  • 🏷️ Intelligent ticket number extraction
  • 🔄 Conventional commits support (feature/, fix/, chore/)
  • 📊 Commits grouped by ticket regardless of branch type

Branch Naming Pattern Examples:

Pattern: feature/PROJ-{ticket}

Matches: feature/PROJ-123, fix/PROJ-123, chore/PROJ-123

Groups by: PROJ-123 (regardless of prefix)

Pattern: {prefix}/{identifier}-{ticket}

Matches: feature/TEAM-456, fix/JIRA-789

Groups by: TEAM-456, JIRA-789

📊

Git Activity Tracking

Automated daily reports with intelligent commit grouping

Intelligent Features:

  • Cross-branch commit tracking
  • Smart weekend detection
  • Ticket-based grouping
  • Slack-formatted output
  • File modification tracking
  • Author filtering

Report Example:

📅 Daily Update - 2024-01-15

🚀 E-commerce Platform

Ticket PROJ-123:
• 8 commits
• Changes:
  - Add user authentication feature
  - Fix login validation bug
  - Update API documentation
  - Add unit tests for auth flow

Ticket PROJ-456:
• 3 commits
• Changes:
  - Implement dashboard view
🔐

Password Manager

Military-grade encryption for your sensitive data

Security Features:

  • AES-256-GCM encryption
  • Argon2 password hashing
  • Local-first storage
  • Master password protection
  • Zero-knowledge architecture
  • Secure import/export

User Features:

  • 🎯 Intuitive password management
  • 🔍 Advanced search and filtering
  • 📋 One-click copy to clipboard
  • 🔗 Website launching
  • 📊 Password strength analysis
  • Clean dropdown actions
📄

Invoice Generation

Professional PDF invoices from project data

Generation Features:

  • Handlebars template system
  • Professional PDF output
  • Automatic file naming
  • Currency formatting
  • Client data integration
  • Due date calculation

Technical Stack:

  • ⚙️ Puppeteer PDF generation
  • 🎨 Customizable HTML templates
  • 💾 Desktop/Invoices auto-save
  • 🔄 Template validation
  • 📏 A4 format with proper margins
  • 🗃️ Organized file management

Architecture

Built with modern technologies for performance, security, and maintainability.

Technology Stack

⚛️

Frontend

React + TypeScript + Tailwind CSS + shadcn/ui

🦀

Backend

Rust + Tauri + SQLite

🔒

Security

AES-256-GCM + Argon2 + Local-first

📄

PDF Generation

Puppeteer + Handlebars templates

System Architecture

Frontend Layer
React components with TypeScript for type safety
↓ Tauri IPC
Backend Layer
Rust commands with business logic
↓ SQLite
Data Layer
Local SQLite database with encryption

Key Benefits

  • Security: All data encrypted locally
  • Performance: Native speed with Rust backend
  • Privacy: No cloud dependencies
  • Cross-platform: Windows, macOS, Linux

API Reference

Complete reference for Tauri commands and data structures.

Project Management

create_project

Creates a new project with client and git repository information

await invoke("create_project", { projectData })

generate_slack_report

Generates daily activity report grouped by tickets

await invoke("generate_slack_report")

open_in_cursor

Opens project directory in Cursor IDE

await invoke("open_in_cursor", { path })

Password Manager

set_master_password

Sets up master password with Argon2 hashing

await invoke("set_master_password", { data })

create_password_entry

Creates encrypted password entry with AES-256-GCM

await invoke("create_password_entry", { entry })

export_password_database

Exports encrypted password database

await invoke("export_password_database")

Invoice Generation

generate_project_invoice

Generates professional PDF invoice from project data

await invoke("generate_project_invoice", { invoiceRequest })

generate_invoice

Low-level invoice generation with custom data

await invoke("generate_invoice", { data })

Data Structures

Project

{
  id: string,
  name: string,
  customer_name: string,
  git_path?: string,
  git_author?: string,
  branch_naming_pattern?: string,
  default_items: ProjectItem[]
}

PasswordEntry

{
  id: string,
  title: string,
  username: string,
  encrypted_password: string,
  url?: string,
  encrypted_notes?: string
}

Getting Started

Quick setup guide to get Dev Cockpit running on your machine.

1️⃣

Prerequisites

  • • Node.js (v18 or higher)
  • • Rust (latest stable)
  • • Git
  • • Cursor IDE (optional)
2️⃣

Installation

git clone <repo-url>
cd dev-cockpit
npm install
npm run tauri dev
3️⃣

First Use

  • • Set up master password
  • • Create your first project
  • • Configure git repository paths
  • • Set branch naming patterns

Configuration Examples

Branch Naming Patterns

feature/PROJ-{ticket}

Matches: feature/PROJ-123, fix/PROJ-123, chore/PROJ-123

{prefix}/{identifier}-{ticket}

Flexible pattern for any prefix and identifier

development/user/TEAM-{ticket}

Complex nested branch structure

Project Setup

{
  "name": "E-commerce Platform",
  "customer_name": "Acme Corp",
  "git_path": "/path/to/project",
  "git_author": "John Doe",
  "branch_naming_pattern":
    "feature/PROJ-{ticket}",
  "default_items": [
    {
      "description": "Development Work",
      "amount": 100000,
      "formatted_amount": "$1,000.00"
    }
  ]
}