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 autodeploy 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.4.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.4-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autodeploy_ai-1.5.4.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.4.tar.gz
Algorithm Hash digest
SHA256 58dbac4d549e349e4999fae27887090c6576b6648b56740519f6dab7ca3cf53d
MD5 628df2862c808f2c650f059183084e5e
BLAKE2b-256 c9818f50fdcfda64527e04d55f321e79a80030ded107f5b9a31428cbb32eee50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autodeploy_ai-1.5.4-py3-none-any.whl
  • Upload date:
  • Size: 9.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 52a689e255e3081befd0b9c9f0e45c3ca1dc1719e27c79447ccc1652606df692
MD5 38b8a3bc195accd11f8000b1c3e3db86
BLAKE2b-256 2fc04584d17f780277ff1be5a415193d4e925191b025e9b541e85d93665fc6f1

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