fya is a wrapper tool that makes Claude Code work like a simple command-line program. Instead of opening Claude's visual interface, it runs Claude in the background inside a hidden terminal, types your question character-by-character like a human would, watches Claude's conversation logs to catch the response, and delivers the answer in the format you preferβplain text, structured data, or a live stream of words as they're generated. This lets you use Claude Code inside scripts, automation tools, or other programs that need to talk to an AI assistant programmatically.
How It Works
You're building a script or tool that needs to talk to Claude, but Claude Code normally works like a chat app with a visual interface.
You discover fya, a tool that wraps Claude Code and makes it behave like a simple command-line program that takes a question and gives you an answer.
You install fya using Homebrew or download a ready-made file for your computer. Everything you need comes in one package.
You run fya with your question, and it opens Claude Code behind the scenes, types your question like a person would, waits for the response, and gives you back exactly what Claude said.
Just the words, nothing else
A clean data format for scripts
Watch the answer appear word by word
You can use fya inside other programs that expect Claude Code, making it easy to add AI powers to your existing workflow.
Your scripts can now ask Claude questions and get answers back, just like having a tireless assistant that never gets tired or makes mistakes.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.