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

Uploaded Python 3

File details

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

File metadata

  • Download URL: autodeploy_ai-1.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 da76f72dfc2a379d3a5f52aaa2db723733f768a292874c32130f6b2e70d2b387
MD5 37833e7a8217b2265f88b4b7ba718d3b
BLAKE2b-256 93893fca82a37183b9aa7386a64e83bd5b65e1b070ff465fb5a8d18d74343251

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autodeploy_ai-1.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a4d23a464f883c0c84941f799233c6cd173bbc94b501dc34820e0d6ded68173
MD5 3b00693a5d30212a98ccdd5c7f499fbc
BLAKE2b-256 5d02ca25d9356c54e3338b0431f837b52f68304012923fc0c13909778c12685c

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