This application provides a free API for gitmeh, an automatic git commit tool I made.
This API uses the Gemma 3-4b model, which is extremely cost-effective, allowing me to provide this service for free to users of gitmeh. The application acts as a proxy, routing requests through its own API to protect the underlying AI provider's API key from being exposed or abused by end-users.
Uses PHP 8.5 and Laravel 13.
./vendor/bin/pint --test./vendor/bin/phpstan analyseUse this command to test the API.
curl -skS --request POST \
--header 'Content-Type: text/plain; charset=UTF-8' \
--data-binary $'diff --git a/README.md b/README.md\n--- a/README.md\n+++
b/README.md\n@@ -4,6 +4,11 @@\n ## Intro\n \n Short description.\n+\n+###
GITMEH_PROBE_OK\n+\n+Document the /gitmeh smoke test: POST a unified diff
as plain text.\n+\n ## License\n' \
'https://ai.hellyer.kiwi/gitmeh'php artisan test tests/Unitphp artisan test tests/Feature