File size: 1,294 Bytes
a9e18be
 
 
 
 
 
 
 
 
 
aab3369
a9e18be
 
884acd8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a9e18be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: Infra Spec Explainer
emoji: πŸ†
colorFrom: gray
colorTo: pink
sdk: gradio
sdk_version: 5.39.0
app_file: app.py
pinned: false
short_description: Explains your json/yaml text/file/url

---

# JSON & YAML Explainer
An AI-powered explainer tool that converts JSON, YAML, and configuration files (OpenAPI specs, Terraform, Kubernetes manifests, CI/CD pipelines) into clear, natural language explanations.

# Features
Multi-format support: JSON, YAML, .yml, .json

Developer Mode: Get technical breakdowns with field-level details

ELI5 Mode: Simplified explanations for beginners and non-technical users

Supports multiple domains:

OpenAPI specifications

Terraform configuration files

Kubernetes manifests

GitHub Actions & CI/CD pipelines

# How It Works
Upload your JSON/YAML file or paste raw text.

Choose ELI5 or Developer Mode.

The app uses a fine-tuned FLAN-T5 / Mistral model to generate clear, context-aware explanations.

# Tech Stack
Python

FastAPI

Gradio UI

Hugging Face Transformers

OpenRouter API for LLM inference

# Installation

pip install -r requirements.txt
python app.py

# Deployment
Can be deployed on Hugging Face Spaces or as a standalone FastAPI service.

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference