Skip to content

Repository files navigation

Depfly

Depfly

Lightning-fast Maven dependency picker. A global hotkey brings a Spotlight-style window to the front, you type the artifact name, and the finished dependency snippet gets copied to your clipboard.

Release CI License: MIT PRs welcome

Sources

Results are gathered across all configured sources, in this order:

Source Description
local-m2 ~/.m2/repository, indexed once at startup, fuzzy search
maven-central Maven Central via the Solr search API
Nexus any number of custom repositories, optionally with Basic Auth

An unreachable source doesn't cause the search to fail; the remaining results still show up.

Formats

Gradle (Kotlin), Gradle (Groovy), Maven, Version Catalog (TOML), and SBT.

Controls

Key Action
Ctrl+Shift+D Show/hide window (global, configurable)
/ Select result
Tab / Shift+Tab Cycle through versions
Ctrl+15 Choose format
Enter Copy snippet
Ctrl+, Settings
Esc Hide window

Depfly keeps running in the tray; closing the window doesn't quit the app.

Configuration

~/.depfly/config.json contains the hotkey and Nexus repositories. The file is created with default values on first launch and can also be edited via the settings in the UI.

Either a server URL (https://nexus.example.com) or a repository URL (https://nexus.example.com/repository/maven-public) works as the repository URL. In the latter case, the search is scoped to that repository.

Development

npm install
npm run tauri dev     # Dev mode with hot reload
npm run tauri build   # Production build

Rust backend tests:

cd src-tauri && cargo test

Stack

Tauri v2, Rust, React 19, TypeScript, Vite.

About

Lightning-fast Maven dependency picker. A global hotkey brings a Spotlight-style window to the front, you type the artifact name, and the finished dependency snippet gets copied to your clipboard.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages