Conventional Commit Message Checker & Changelog Generator
Lint commit messages against Conventional Commits, build a CHANGELOG from git log and compute the next semantic version, with fix suggestions.
Result
Press “Run” to see the result.
Three actions on one endpoint. lint checks one message, a list of commits or pasted git log output against Conventional Commits 1.0.0 with the rules of the popular config-conventional preset (type enum and case, scope case, subject case and full stop, header / body line length, blank lines, BREAKING CHANGE footers) or the stricter angular preset; customise with types, scopes, header_max, require_scope. Merge, revert and fixup commits are skipped. Every invalid message gets a corrected suggestion (synonyms such as feature → feat, past tense → imperative).
changelog groups commits into BREAKING CHANGES, Features, Bug Fixes, Performance and Reverts (all_types=1 adds docs, refactor, CI…), links issues and commits when you pass repo_url (GitHub or GitLab), and writes English or Vietnamese headings (lang=vi). bump returns the next version from current_version (breaking → major, feat → minor, fix / perf → patch; 0.x versions bump minor for breaking changes unless pre_major=0; prerelease=beta for pre-releases).
Accepted log formats: default git log, git log --oneline, or messages separated by ---. No configuration files are executed: everything is passed as parameters. Use it in GitLab / Bitbucket / Gitea pipelines, chat bots or release scripts without installing Node tooling.
Use this in your code
curl -X POST "https://apibox.io.vn/v1/commit-lint" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"Fixed login redirect."}'const res = await fetch('https://apibox.io.vn/v1/commit-lint', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"message": "Fixed login redirect."
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/commit-lint",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"message": "Fixed login redirect."},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/commit-lint');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"message":"Fixed login redirect."}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Which rules are applied?
The rule set of @commitlint/config-conventional (type, scope, subject, header and body length, blank lines) re-implemented server-side, or the angular preset; types, scopes and lengths can be customised.
How is the next version decided?
Any breaking change (! or a BREAKING CHANGE footer) → major, any feat → minor, fix / perf / revert → patch, otherwise no release. Versions below 1.0.0 bump minor for breaking changes by default.
Can it read my repository?
No: paste the output of git log (or send the messages). Nothing is stored.