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 templatesdevos project <action>- Project-specific operationsdevos quick <task>- Quick access to common tasks
AI Integration
devos ai chat- Interactive AI chat interfacedevos ai config- Configure AI providers and settingsdevos groq chat- Groq-specific AI chatdevos groq enhanced- Enhanced Groq interactions
Work Tracking
devos track start/stop- Start/stop work sessionsdevos history- View work historydevos report <type>- Generate productivity reports
Environment Management
devos env set <key>- Set environment variablesdevos env list- List all environment variablesdevos env export- Export environment configuration
Release & Deployment
devos ship <version>- Automated version bumping and releasedevos deploy <target>- Deploy to various platforms
Documentation
devos docs generate- Auto-generate project documentationdevos docs serve- Serve documentation locally
Dashboard
devos dashboard- Interactive productivity dashboarddevos interactive- Interactive mode for complex operations
๐จ Available Templates
python-api- Python REST API with FastAPIreact-app- React application with TypeScriptnode-service- Node.js microservicepython-cli- Python CLI toolstatic-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
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - 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
- ๐ง Email: support@devos.dev
- ๐ Issues: GitHub Issues
- ๐ฌ Discussions: GitHub Discussions
Made with โค๏ธ by John Dansu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b176a4422006d446444897136c6434c8ee3c734cff60e3542b96e09cae701c53
|
|
| MD5 |
7432585610a39187ea2d4c63ad46e57b
|
|
| BLAKE2b-256 |
0c7a1d16be2b35c5e1be33e3894d2501599c6d65a87d87fde68ccc5614a2a1c5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d08b6de62f276e08582787c74d641211521cdc4f8f34d142217f2889a3c4f791
|
|
| MD5 |
467d742f451dffd0e9c77aed103328ac
|
|
| BLAKE2b-256 |
f1fb48e2958c0d2438b256435a2d1a5686a1818134b66f7628e02151bc064f5e
|