Skip to main content

Git Init · AI Commit · Auto Push — one command from any terminal

Project description

✦ AutoDeploy AI

Git Init · AI Commit · Auto Push — dari terminal mana pun, satu command.

AutoDeploy AI adalah CLI yang mengotomatisasi proses deploy project ke GitHub:

  • Git init otomatis
  • AI generate commit message
  • Push ke GitHub dalam satu command

Setup — masukin URL repo GitHub buat pertama kali: Setup deploy

Setelah jalan — cek status repo & AI commit: Deploy running


Fitur

  • Auto git init kalau project belum punya .git
  • Set remote otomatis dari GitHub URL yang lo kasih
  • Validasi repo — cek apakah repo GitHub benar-benar ada sebelum deploy
  • AI generate commit message pakai Groq, OpenAI, atau Ollama
  • Spinner animasi di tiap step — staging, generating, commit, push
  • Global CLI — bisa dipanggil dari folder project mana pun tanpa copy file

Install

pip install autodeploy-ai

Setelah install, command deploy langsung tersedia dari terminal mana pun.


Setup

Buat file .env di folder manapun lo mau deploy, atau di home directory:

# Windows
copy .env.example .env

# Linux / Mac
cp .env.example .env

Edit .env sesuai provider AI yang lo pakai:

# Pilih provider: groq | openai | ollama
AI_PROVIDER=groq

# Groq (gratis, cepat) — https://console.groq.com/keys
GROQ_API_KEY=gsk_...
GROQ_MODEL=llama-3.1-8b-instant

# Ollama (lokal, tidak perlu API key)
# OLLAMA_URL=http://localhost:11434
# OLLAMA_MODEL=llama3.2:latest

# OpenAI
# OPENAI_API_KEY=sk-...
# OPENAI_MODEL=gpt-4o-mini

Penting: jangan pernah commit file .env karena berisi API key.


Cara Pakai

# Project baru — belum ada .git
autodeploy https://github.com/username/repo-name

# Project yang sudah punya remote
autodeploy

Flow yang terjadi

  ✓  Staging changes            → git add .
  ✓  Generating commit message  → AI generate via Groq / OpenAI / Ollama
                                   └─ konfirmasi atau ketik manual
  ✓  Creating commit            → git commit -m "<pesan>"
  ✓  Pushing to GitHub          → git push -u origin <branch>

Kalau project belum ada .git, sebelum flow di atas akan otomatis:

  1. Validasi repo GitHub — pastiin sudah dibuat di github.com/new
  2. git init
  3. git remote add origin <url>

Provider AI

Provider Model Keterangan API Key
groq llama-3.1-8b-instant Online, gratis, cepat console.groq.com
ollama llama3.2:latest Lokal, gratis, butuh Ollama running Tidak perlu
openai gpt-4o-mini Online, berbayar platform.openai.com

Untuk ganti provider, ubah AI_PROVIDER di file .env.


Requirements

  • Python 3.10+
  • Git
  • Salah satu AI provider di atas

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

autodeploy_ai-1.5.3.tar.gz (90.6 kB view details)

Uploaded Source

Built Distribution

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

autodeploy_ai-1.5.3-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file autodeploy_ai-1.5.3.tar.gz.

File metadata

  • Download URL: autodeploy_ai-1.5.3.tar.gz
  • Upload date:
  • Size: 90.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for autodeploy_ai-1.5.3.tar.gz
Algorithm Hash digest
SHA256 91dd6c55bf2b78b222f7f11e069b872ec92e0d8d7bd27637806ef1341e5285f1
MD5 a5f34e422013ca823254ff6bde1a6f50
BLAKE2b-256 b176d6a402e7c6465725f7ff633c61f2923f1c3cdf67f1b882acad02ee1f49ce

See more details on using hashes here.

File details

Details for the file autodeploy_ai-1.5.3-py3-none-any.whl.

File metadata

  • Download URL: autodeploy_ai-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for autodeploy_ai-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c46c16ca4b95087f6e5ae89608448afb1eade62299edc94c0667e1886d68e11f
MD5 10729f6242449d5a18e2f4691861a541
BLAKE2b-256 598b4b653daa2555d5386b8a52862b855636e91d5d64c6c068f751fd3edb8e4b

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