{
"id": "git-0",
"category": "git",
"title": "Clone Repository",
"description": "Clone a remote repository to local machine.",
"command": "git clone https://github.com/user/repo.git",
"note": "Use --depth 1 for a shallow clone.",
"tags": ["clone", "download", "repository"]
}
FieldTypeDescription
idstringUnique identifier in category-index format
categorystringCategory slug (matches filename for category endpoints)
titlestringHuman-readable name for the command
descriptionstringWhat the command does
commandstringThe actual terminal command to run
notestring | nullAdditional tips or warnings (plain text, no HTML)
tagsstring[]Searchable keywords
Usage Examples
JavaScript (fetch)
// Get all Docker commands
fetch('https://termi.mal.plus/api/docker.json')
.then(res => res.json())
.then(data => {
data.commands.forEach(cmd => {
console.log(cmd.title, ':', cmd.command);
});
});
Python
import requests
data = requests.get('https://termi.mal.plus/api/commands.json').json()
# Search for commands containing "docker"
results = [c for c in data['commands'] if 'docker' in c['command']]
for cmd in results:
print(f"{cmd['title']}: {cmd['command']}")
Bash (with jq)
# List all git command titles
curl -s https://termi.mal.plus/api/git.json \
| jq -r '.commands[].title'
# Search across all commands
curl -s https://termi.mal.plus/api/commands.json \
| jq -r '.commands[] | select(.tags | index("ssh")) | .command'
Notes
All data is served as static JSON files. There is no query parameter filtering on the server side. Filter client-side after fetching.
The id field is stable for a given version and can be used to deep-link back to the TERMI.MAL+ site using https://termi.mal.plus/#cmd/{id}
The note field in the API is plain text. The web UI version may contain HTML formatting.
Data updates when the site updates. Check the generated field for the last build date.
No authentication, no rate limits, no CORS restrictions. Use it however you want.