Skip to main content

AI-powered Docker assistant — detects your stack, generates Dockerfile & compose, debugs containers.

Project description

devai

AI-powered Docker assistant. No config needed.

devai analyse ton projet, génère le Dockerfile et le docker-compose, et debug tes containers avec l'IA — le tout en une commande.

Installation

pip install stackai-cli

Requiert Ollama installé et ollama pull llama3 pour le mode debug AI.

Utilisation

devai init — Générer les fichiers Docker

cd mon-projet
stackai init
🔍 Analyse du projet...
✅ Stack détectée : python / fastapi + postgres + redis
⚙️  Génération des fichiers Docker...
  ✅ Dockerfile créé
  ✅ .dockerignore créé
  ✅ docker-compose.yaml créé

🚀 Prêt ! Lance avec : docker compose up -d

devai scan — Voir la stack sans rien générer

stackai scan
📦 Stack détectée :
  Langage     : python
  Framework   : fastapi
  Port        : 8000
  Services    : postgres, redis
  Python ver. : 3.11

devai debug — Analyser un container en erreur

stackai debug mon-container
📋 Derniers logs :
  ─────────────────────────────────────────
  Error: could not connect to postgres...
  ─────────────────────────────────────────

🤖 Analyse IA en cours...

💡 Analyse :
1. PROBLÈME : L'application ne peut pas se connecter à PostgreSQL
2. CAUSE : Le container postgres n'est pas encore prêt au démarrage de l'app
3. FIX : Ajoute `depends_on: [postgres]` dans ton docker-compose.yaml

Stacks supportées

Langage Frameworks détectés
Python FastAPI, Flask, Django, générique
Node.js Express, Next.js, Nuxt.js, React
Java Spring Boot (Maven/Gradle)
Go générique

Services auto-détectés

postgres · redis · mongodb · mysql · elasticsearch

Prérequis

  • Python 3.10+
  • Docker installé
  • Ollama + ollama pull llama3 (pour devai debug)

Licence

MIT

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

stackai_cli-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

stackai_cli-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stackai_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stackai_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53682c7de923cafea8a079b5a30e6357d2cf735cecc3efb3d5db5dc6109f10d1
MD5 ac7a71c7bcfd08cb924ba7d2c96942b2
BLAKE2b-256 0ec9f25a477020b1895abed0024bbb3cea1520dac377f662fd4a723709e9cb70

See more details on using hashes here.

Provenance

The following attestation bundles were made for stackai_cli-0.1.0.tar.gz:

Publisher: publish.yml on MehdiB7/devai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: stackai_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for stackai_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83f1e2bb66b7f2776af5854fa129571b1b009f3b387aac235148ad8e14ee94dd
MD5 11802d14ea2c0586dc46b1bebc1c3a9a
BLAKE2b-256 6acfbbafd8b3be5c9ba7e4e332259d23ab63a44ec8d1ed6cc0892ca915dd89c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for stackai_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yml on MehdiB7/devai

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