sunbeam

command module
v1.0.0-rc.54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 3 Imported by: 0

README

Sunbeam is a general purpose command-line launcher.

Define UIs composed of a succession of views from simple scripts written in any language.

You can think of it as a mix between an application launcher like raycast or rofi and a fuzzy-finder like fzf or telescope.

Features

Runs on all platforms

Sunbeam is distributed as a single binary, available for all major platforms. Sunbeam also comes with a lot of utilities to make it easy to create cross-platform scripts.

sunbeam running in alacritty

Supports any language

Sunbeam provides multiple helpers for writing scripts in POSIX shell, but you can also use any other language.

The only requirement is that your language of choice can read and write JSON.

Example Extensions:

Easy to extend

Instead of reiventing the wheel, sunbeam relies on your familiarity with git and github to make it easy to create, update, publish and install extensions.

Creating a new extension is as easy as writing a script.
Sharing an extension is as easy as pushing it to github.

If you prefer, you can also distribute your extensions as http endpoints, and use sunbeam as a client.

sunbeam running in vscode

Bring your own UI

Sunbeam comes with a built-in TUI to interact with your scripts, but you can also use any other client.

See the client section for more details.

raycast integration

Inspirations / Alternatives

Sunbeam wouldn't exist without taking inspirations from incredible tools. Make sure to checkout:

  • raycast: Sunbeam shamelessly copy most of raycast UX, and nomenclature in it's api. Even the project name is a reference to raycast.
  • fzf: Sunbeam tries to take inspiration from fzf, but it's not a drop-in replacement. Sunbeam is designed to be used as a launcher, not as a fuzzy finder.
  • slapdash: Slapdash feature-set is quite close to sunbeam. Sadly, slapdash development seems to be stalled, and it's not open source.
  • gh: Sunbeam extension system is taking inspiration from gh one.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
fzf
tui
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL