DevTUI - A Swiss-army app for developers
DevTUI is an all-in-one terminal toolkit designed for developers. It consolidates your everyday utilities into a single, unified TUI (Text User Interface) and CLI (Command Line Interface). No more juggling multiple tools โ everything you need is now just one command away.
๐ Actively developed and continuously improving.
โจ Features
DevTUI includes a growing collection of handy tools for developers:
- โ JSON Formatter
- โฐ Cron Parser
- ๐ UUID Generator
- ๐ข Base Number Converter
- ๐ฏ And moreโฆ
๐ฆ Install
๐ง Homebrew
brew install skatkov/tap/devtui
๐ฅ Download Executable
Or download executable from GitHub Releases
๐ก Why DevTUI?
- ๐งฐ Unified experience โ Replace scattered tools with a single app
- ๐ Privacy-focused โ Everything runs locally, no data ever leaves your computer
- ๐ Offline support โ No internet? No problem
- โจ๏ธ Built for the terminal โ No need to reach for your mouse or browser
- ๐ ๏ธ Actively maintained โ Not just another abandoned open-source project
๐ Requirements
macOS
- โ Works out of the box
Linux
- ๐ฑ Wayland requires:
wl-clipboard
- ๐งฎ X11 requires:
xclip
orxsel
To check your session type:
echo $XDG_SESSION_TYPE
# Output: wayland or x11
Windows
- โ ๏ธ Should work, but not officially tested.
- Grab the executable from the GitHub Releases page.
๐ Usage
DevTUI includes both a TUI and CLI interface.
๐ฅ TUI
Run devtui
youโll see a list of available tools โ just pick one and go!
Autocompletion
Run a one of these commands depending on shell
devtui completion bash > ~/.bashrc
devtui completion zsh > ~/.zshrc
devtui completion fish > ~/.fishrc
CLI (Experimental)
The CLI interface is still in development and may change in future versions.
To include all markdown files from the ./docs folder, use the following syntax:
find ./docs -name "*.md" -exec cat {} \;
๐จ CSS Formatter
devtui cssfmt < testdata/bootstrap.min.css > output.css
Optional flags:
-i, --indent int spaces for indentation (default 2)
--semicolon always end rule with semicolon, even if not needed (default true)
-t, --tab use tabs for indentation
๐งผ CSS Minimizer
Strip unnecessary whitespace from CSS files:
devtui cssmin < input.css > output.min.css
๐ XML Formatter
devtui xmlfmt < testdata/input.xml > output.xml
Optional flags:
-i, --indent string Indent string for nested elements (default " ")
-n, --nested Nested tags in comments
-p, --prefix string Each element begins on a new line and this prefix
๐ GraphQL Query Formatter
Format GraphQL queries:
devtui gqlfmt < testdata/query.graphql
devtui gqlfmt < testdata/query.graphql > formatted.graphql
devtui gqlfmt --indent " " --with-comments --with-descriptions < testdata/query.graphql
Optional flags:
-i, --indent string Indent string for nested elements (default is 2 spaces) (default " ")
-c, --with-comments Include comments in the formatted output
-d, --with-descriptions Include descriptions in the formatted output (omitted by default)
๐๏ธ TSV to Markdown Table Converter
Convert TSV to Markdown Table:
devtui tsv2md -t < example.tsv - convert tsv from stdin and view result in stdout
devtui tsv2md < example.tsv > output.md - convert tsv from stdin and write result in new file
cat example.tsv | devtui tsv2md - convert tsv from stdin and view result in stdout
Optional flags:
-a, --align Align columns width
-t --header string Add main header (h1) to result
๐๏ธ CSV to Markdown Table Converter
Convert CSV to Markdown Table:
devtui csv2md -t < example.csv - convert csv from stdin and view result in stdout
devtui csv2md < example.csv > output.md - convert csv from stdin and write result in new file
cat example.csv | devtui csv2md - convert csv from stdin and view result in stdout
Optional flags:
-a, --align Align columns width
-t --header string Add main header (h1) to result
๐๏ธ TSV to CSV Converter
Convert TSV to CSV:
devtui tsv2csv < testdata/input.tsv > output.csv
Optional flags:
-i, --indent string Indent string for nested elements (default " ")
-n, --nested Nested tags in comments
-p, --prefix string Each element begins on a new line and this prefix
๐งโ๐ป Contact
I love when people reach out, so please donโt hesitate to do that.
- contact@devtui.com
- https://t.me/skatkov
- https://bsky.app/profile/skatkov.com
- https://x.com/5katkov