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.5.tar.gz (92.1 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.5-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: autodeploy_ai-1.5.5.tar.gz
  • Upload date:
  • Size: 92.1 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.5.tar.gz
Algorithm Hash digest
SHA256 b7395b2e0470063995695993ef3fa9cb0979bd703fc23cc71643bf4772164f3b
MD5 32ac11c6784e5bd1d0ffa1457e9f4843
BLAKE2b-256 8740ec047459af1848379e24091934ea3de7c0dda99d00f7455ca9a7aeb8a528

See more details on using hashes here.

File details

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

File metadata

  • Download URL: autodeploy_ai-1.5.5-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 21c1e5823061548eb576852e825fcbd4598f3d05ff000ee78c0732a9b808f923
MD5 3694bab412903efe1a4160d3bbed7b44
BLAKE2b-256 400050ff7b9ab74045cded9651db769eed68c5f53a4dc2da805768eea3a17738

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