One command. Every language. Zero config.

Code formatting should be invisible

Stop configuring formatters. Stop debating style guides. Just run fama and move on. Format JavaScript, TypeScript, Python, Rust, and 15+ languages with one tool.

terminal
$fama
✓ src/app.ts
✓ src/utils.py
✓ components/Button.tsx
✓ lib/parser.rs
Formatted 4 files in 23ms

Philosophy

Every formatter has its own configuration file. Every IDE has its own settings. Every team has its own style guide. Every new project requires setup. This is waste.

Fama makes a decision so you don't have to. It picks sensible defaults and applies them universally. No .prettierrc. No settings.json. No arguments about semicolons.

Built on principles that matter

Fama is designed to be fast, reliable, and completely transparent in its operation.

Convention over configuration

There is one style. It works. Use it. No endless configuration options or style debates.

Universal

One tool for JavaScript, TypeScript, JSX, TSX, JSON, CSS, HTML, Vue, Svelte, Python, Rust, Go, and more. Same command everywhere.

Fast

Formatting should never be the thing you're waiting for. Built for speed without compromising quality.

Small

A single 13 MB binary. Download is just 5 MB. No runtime dependencies. No package managers. Drop it in your PATH and it works.

Quiet

It formats what changed and tells you what it did. Nothing more. Clean output you can trust.

Simple

Three commands total. Run, format specific files, or export settings. That's it. Nothing to learn or remember.

The Fama Style

  • Tabs for indentation

    Accessibility and flexibility for everyone

  • 80 character lines

    Readable code that fits everywhere

  • Double quotes

    Consistent and unambiguous

  • Trailing commas

    Cleaner diffs and easier maintenance

  • Semicolons

    Explicit and predictable

This is not negotiable. That's the point.

Works with the languages you use

One command formats them all. No plugins, no configuration, no hassle.

JavaScript
TypeScript
JSX
TSX
JSON
CSS
SCSS
Less
Sass
HTML
Vue
Svelte
Astro
YAML
TOML
Markdown
Rust
Python
Lua
Shell
Go
Dockerfile

Get started in seconds

Install Fama and start formatting immediately. No setup required.

macOS / Linux

curl -fsSL https://raw.githubusercontent.com/AkaraChen/fama/master/install.sh | sh

Windows

Download from GitHub Releases, extract fama.exe, and add it to your PATH.

Usage

Format everything
fama
Format specific files
fama "src/**/*.ts"
Export settings for tools
fama --export

Why "Fama"?

format
too long, programmers are lazy
fmt
still too cold, needs some vowels
famata
wait, that's too long again
fama
:)

Ready to simplify your workflow?

Stop wasting time on configuration. Start formatting with Fama today.