Skip to content

st3w4r/json-that

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json that

pip install jsonthat
jt --setup
echo 'my name is jay' | jt
{
  "name": "Jay"
}

Features

  • Structure output with a schema
  • Pipe content directly
  • Support for multiple LLM providers: OpenAI, Claude, Mistral, Ollama
  • Local LLM support with Ollama
  • CLI available as a pip package
  • Stream output
  • Select different model names from API providers

Coming Soon

  • Partial JSON output
  • Handling of long content
  • Advanced documentation
  • More providers (e.g., Gemini)
  • --line flag to transform each line of input
  • --usage flag to show usage with token count
  • Python library