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.
Fitur
- Auto
git initkalau 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
.envkarena berisi API key.
Cara Pakai
# Project baru — belum ada .git
deploy https://github.com/username/repo-name
# Project yang sudah punya remote
deploy
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:
- Validasi repo GitHub — pastiin sudah dibuat di github.com/new
git initgit 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autodeploy_ai-1.5.0.tar.gz.
File metadata
- Download URL: autodeploy_ai-1.5.0.tar.gz
- Upload date:
- Size: 90.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ded9b5c535f8584cdbda350fd8734bf0cf20d5db28473c93be3c6273410fd2d
|
|
| MD5 |
3921a8e041a4594ab5e10f36cdacb764
|
|
| BLAKE2b-256 |
bb72b39b7d11195b63fdc9a7cfe3aff5ae57b0cc68962f514122a385a376adbd
|
File details
Details for the file autodeploy_ai-1.5.0-py3-none-any.whl.
File metadata
- Download URL: autodeploy_ai-1.5.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288efbac0346be0b10cf24d7a6de25ed73a0a9f2d485bae56a50a4f1b2c98e70
|
|
| MD5 |
98387eb929d63056f76be98936744301
|
|
| BLAKE2b-256 |
209587e45abaf66572195f1f3b1b3cf30b454f44b51f8ba69de3d3af4a47d7cf
|