Skip to main content

One command-line to manage your entire dev life

Project description

DevOs โ€“ Developer Operating System CLI

Tagline: One command-line interface to manage your entire development workflow.

๐Ÿš€ Overview

DevOs is a comprehensive CLI tool designed to streamline your development workflow. From project initialization to deployment, DevOs provides a unified interface for common development tasks, AI integration, environment management, and productivity tracking.

โœจ Features

  • ๐Ÿ—๏ธ Project Management: Quick project bootstrapping with multiple templates
  • ๐Ÿค– AI Integration: Built-in support for OpenAI and Groq AI providers
  • ๐Ÿ“Š Work Tracking: Automatic time tracking and productivity reports
  • ๐Ÿ”ง Environment Management: Secure environment variable handling
  • ๐Ÿ“ฆ Release Automation: Simplified versioning and deployment
  • ๐Ÿ“ Documentation: Auto-generated project documentation
  • ๐ŸŽฏ Dashboard: Interactive productivity dashboard
  • โšก Quick Commands: Fast access to common development tasks

๐Ÿ› ๏ธ Installation

From PyPI (Recommended)

pip install devos

From Source

git clone https://github.com/johndansu/DevOs_Cli.git
cd DevOs_Cli
pip install -e ".[dev]"

๐ŸŽฏ Quick Start

# Initialize a new project
devos init python-api

# Start tracking your work session
devos track start

# Configure AI provider
devos ai config --provider groq --api-key your-groq-key

# Set environment variables
devos env set DATABASE_URL postgresql://...

# Generate weekly productivity report
devos report weekly

# Ship a new version
devos ship minor

# Start interactive dashboard
devos dashboard

๐Ÿ“‹ Core Commands

Project Management

  • devos init <template> - Initialize new project with templates
  • devos project <action> - Project-specific operations
  • devos quick <task> - Quick access to common tasks

AI Integration

  • devos ai chat - Interactive AI chat interface
  • devos ai config - Configure AI providers and settings
  • devos groq chat - Groq-specific AI chat
  • devos groq enhanced - Enhanced Groq interactions

Work Tracking

  • devos track start/stop - Start/stop work sessions
  • devos history - View work history
  • devos report <type> - Generate productivity reports

Environment Management

  • devos env set <key> - Set environment variables
  • devos env list - List all environment variables
  • devos env export - Export environment configuration

Release & Deployment

  • devos ship <version> - Automated version bumping and release
  • devos deploy <target> - Deploy to various platforms

Documentation

  • devos docs generate - Auto-generate project documentation
  • devos docs serve - Serve documentation locally

Dashboard

  • devos dashboard - Interactive productivity dashboard
  • devos interactive - Interactive mode for complex operations

๐ŸŽจ Available Templates

  • python-api - Python REST API with FastAPI
  • react-app - React application with TypeScript
  • node-service - Node.js microservice
  • python-cli - Python CLI tool
  • static-site - Static website generator

โš™๏ธ Configuration

Configuration is stored in ~/.devos/config.yml:

# Default settings
default_language: python
default_template: python-api

# AI Configuration
ai:
  default_provider: groq
  groq:
    model: "llama-3.1-70b-versatile"
  openai:
    model: "gpt-4"

# Work Tracking
tracking:
  auto_git: true
  auto_commit: true
  session_timeout: 3600

# Reports
reports:
  week_start: monday
  include_git_stats: true
  include_ai_usage: true

# Environment
environment:
  encryption_key_file: ~/.devos/key
  backup_enabled: true

๐Ÿ”ง Development Setup

# Clone the repository
git clone https://github.com/johndansu/DevOs_Cli.git
cd DevOs_Cli

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest

# Format code
black src/
isort src/

# Run linting
flake8 src/
mypy src/

# Build package
python -m build

๐Ÿ“Š Project Structure

DevOs/
โ”œโ”€โ”€ src/devos/           # Main CLI source code
โ”‚   โ”œโ”€โ”€ commands/        # Command implementations
โ”‚   โ”œโ”€โ”€ core/           # Core functionality
โ”‚   โ”‚   โ””โ”€โ”€ ai/         # AI integration modules
โ”‚   โ””โ”€โ”€ cli.py          # Main CLI entry point
โ”œโ”€โ”€ landing-page/       # Web dashboard (Next.js)
โ”œโ”€โ”€ pyproject.toml      # Project configuration
โ”œโ”€โ”€ README.md          # This file
โ””โ”€โ”€ .gitignore         # Git ignore rules

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

๐Ÿ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments

  • OpenAI - For GPT API integration
  • Groq - For high-performance AI inference
  • Click - For the CLI framework
  • Rich - For beautiful terminal output
  • Next.js - For the web dashboard

๐Ÿ“ž Support


Made with โค๏ธ by John Dansu

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

devos_cli-0.1.0.tar.gz (113.0 kB view details)

Uploaded Source

Built Distribution

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

devos_cli-0.1.0-py3-none-any.whl (127.8 kB view details)

Uploaded Python 3

File details

Details for the file devos_cli-0.1.0.tar.gz.

File metadata

  • Download URL: devos_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 113.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for devos_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b176a4422006d446444897136c6434c8ee3c734cff60e3542b96e09cae701c53
MD5 7432585610a39187ea2d4c63ad46e57b
BLAKE2b-256 0c7a1d16be2b35c5e1be33e3894d2501599c6d65a87d87fde68ccc5614a2a1c5

See more details on using hashes here.

File details

Details for the file devos_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: devos_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 127.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for devos_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d08b6de62f276e08582787c74d641211521cdc4f8f34d142217f2889a3c4f791
MD5 467d742f451dffd0e9c77aed103328ac
BLAKE2b-256 f1fb48e2958c0d2438b256435a2d1a5686a1818134b66f7628e02151bc064f5e

See more details on using hashes here.

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